Home
last modified time | relevance | path

Searched refs:grayscale (Results 1 - 25 of 25) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
H A Dastc_image_load_store.cpp191 int grayscale = 1; in update_imageblock_flags() local
216 if (grayscale == 1 && (red != green || red != blue)) in update_imageblock_flags()
217 grayscale = 0; in update_imageblock_flags()
228 pb->grayscale = grayscale; in update_imageblock_flags()
H A Dastc_codec_internals.h131 int grayscale; // 1 if R=G=B for every pixel, 0 otherwise member
/third_party/skia/docs/examples/
H A Dskpaint_matrix_color_filter.cpp19 SkScalar grayscale[20] = { in REG_FIDDLE() local
24 f(c, 512, 0, grayscale); in REG_FIDDLE()
/third_party/skia/include/effects/
H A DSkHighContrastFilter.h33 SkHighContrastConfig(bool grayscale, in SkHighContrastConfig() argument
36 : fGrayscale(grayscale), in SkHighContrastConfig()
48 // If true, the color will be converted to grayscale.
54 // After grayscale and inverting, the contrast can be adjusted linearly.
66 * - Conversion to grayscale
/third_party/skia/gm/
H A Dcolorfilterimagefilter.cpp145 sk_sp<SkImageFilter> grayscale(make_grayscale(std::move(brightness))); in DEF_SIMPLE_GM()
146 paint.setImageFilter(std::move(grayscale)); in DEF_SIMPLE_GM()
151 sk_sp<SkImageFilter> grayscale(make_grayscale(nullptr)); in DEF_SIMPLE_GM()
152 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale))); in DEF_SIMPLE_GM()
/third_party/skia/third_party/externals/freetype/src/truetype/
H A Dttgload.c1528 * For simplicity, FreeType uses (1) for grayscale subpixel hinting and
1536 FT_Bool grayscale = 0; in tt_loader_set_pp() local
1549 grayscale = loader->exec ? loader->exec->grayscale in tt_loader_set_pp()
1558 grayscale = loader->exec ? loader->exec->grayscale_cleartype in tt_loader_set_pp()
1563 use_aw_2 = FT_BOOL( subpixel_hinting && grayscale ); in tt_loader_set_pp()
2507 FT_Bool grayscale = TRUE; in tt_loader_init() local
2580 grayscale = FALSE; in tt_loader_init()
2583 grayscale = TRUE; in tt_loader_init()
2587 grayscale in tt_loader_init()
[all...]
H A Dttinterp.h260 FT_Bool grayscale; /* bi-level hinting and */ member
261 /* grayscale rendering */
395 /* ClearType hinting and grayscale rendering, as used by Universal */
399 /* grayscale rendering, the old mode from Win9x days that roughly */
422 /* grayscale rendering */
H A Dttinterp.c7458 if ( ( args[0] & 32 ) != 0 && exc->grayscale ) in Ins_GETINFO()
/third_party/skia/src/effects/
H A DSkHighContrastFilter.cpp21 struct Uniforms { float grayscale, invertStyle, contrast; }; in Make() member
24 uniform half grayscale, invertStyle, contrast; in Make()
31 if (grayscale == 1) { in Make()
/third_party/ffmpeg/libavfilter/
H A Dvf_deshake_opencl.c246 // Stores a frame converted to grayscale
247 cl_mem grayscale; member
1092 CL_RELEASE_MEMORY(ctx->grayscale); in deshake_opencl_uninit()
1271 CL_CREATE_KERNEL(ctx, grayscale); in deshake_opencl_init()
1298 ctx->grayscale = clCreateImage( in deshake_opencl_init()
1306 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create grayscale image: %d.\n", cle); in deshake_opencl_init()
1773 deshake_ctx->grayscale = (cl_mem)input_frame->data[0]; in queue_frame()
1784 { sizeof(cl_mem), &deshake_ctx->grayscale } in queue_frame()
1794 { sizeof(cl_mem), &deshake_ctx->grayscale }, in queue_frame()
1804 { sizeof(cl_mem), &deshake_ctx->grayscale }, in queue_frame()
[all...]
/third_party/node/deps/npm/node_modules/color-convert/
H A Dconversions.js650 let grayscale;
654 grayscale = min / (1 - chroma);
656 grayscale = 0;
674 return [hue * 360, chroma * 100, grayscale * 100];
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/
H A Djcgray-avx2.asm2 ; jcgray.asm - grayscale colorspace conversion (AVX2)
H A Djcgray-mmx.asm2 ; jcgray.asm - grayscale colorspace conversion (MMX)
H A Djcgray-sse2.asm2 ; jcgray.asm - grayscale colorspace conversion (SSE2)
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
H A Djcgray-avx2.asm2 ; jcgray.asm - grayscale colorspace conversion (64-bit AVX2)
H A Djcgray-sse2.asm2 ; jcgray.asm - grayscale colorspace conversion (64-bit SSE2)
/third_party/astc-encoder/Source/
H A Dastcenc_internal.h786 /** @brief Is this grayscale block where R == G == B for all texels? */
787 bool grayscale; member
874 return this->grayscale && alpha1; in is_luminance()
887 return this->grayscale && !alpha1; in is_luminancealpha()
H A Dastcenc_image.cpp264 blk.grayscale = all(grayscalev); in load_image_block()
331 blk.grayscale = all(grayscalev); in load_image_block_fast_ldr()
H A Dastcenc_decompress_symbolic.cpp197 blk.grayscale = false; in decompress_symbolic_block()
H A Dastcenc_entry.cpp971 blk.grayscale = true; in compress_image()
H A Dastcenc_compress_symbolic.cpp1633 if (blk.grayscale && i != 3) in compress_block()
1635 trace_add_data("skip", "grayscale block"); in compress_block()
/third_party/ffmpeg/tests/fate/
H A Dvideo.mak109 FATE_CVID-$(call FRAMECRC, AVI, CINEPAK) += fate-cvid-grayscale
110 fate-cvid-grayscale: CMD = framecrc -i $(TARGET_SAMPLES)/cvid/pcitva15.avi -an
/third_party/skia/fuzz/
H A DFuzzCanvas.cpp123 bool grayscale; in make_fuzz_colorfilter() local
126 fuzz->next(&grayscale); in make_fuzz_colorfilter()
130 grayscale, SkHighContrastConfig::InvertStyle(invertStyle), contrast)); in make_fuzz_colorfilter()
/third_party/backends/backend/
H A Dsp15c.c1864 goto grayscale; in sp15c_set_window_param()
1868 grayscale: in sp15c_set_window_param()
/third_party/ffmpeg/
H A Dconfigure109 --enable-gray enable full grayscale support (slower color)

Completed in 40 milliseconds