/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
H A D | astc_image_load_store.cpp | 191 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 D | astc_codec_internals.h | 131 int grayscale; // 1 if R=G=B for every pixel, 0 otherwise member
|
/third_party/skia/docs/examples/ |
H A D | skpaint_matrix_color_filter.cpp | 19 SkScalar grayscale[20] = { in REG_FIDDLE() local 24 f(c, 512, 0, grayscale); in REG_FIDDLE()
|
/third_party/skia/include/effects/ |
H A D | SkHighContrastFilter.h | 33 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 D | colorfilterimagefilter.cpp | 145 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 D | ttgload.c | 1528 * 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 D | ttinterp.h | 260 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 D | ttinterp.c | 7458 if ( ( args[0] & 32 ) != 0 && exc->grayscale ) in Ins_GETINFO()
|
/third_party/skia/src/effects/ |
H A D | SkHighContrastFilter.cpp | 21 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 D | vf_deshake_opencl.c | 246 // 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 D | conversions.js | 650 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 D | jcgray-avx2.asm | 2 ; jcgray.asm - grayscale colorspace conversion (AVX2)
|
H A D | jcgray-mmx.asm | 2 ; jcgray.asm - grayscale colorspace conversion (MMX)
|
H A D | jcgray-sse2.asm | 2 ; jcgray.asm - grayscale colorspace conversion (SSE2)
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/ |
H A D | jcgray-avx2.asm | 2 ; jcgray.asm - grayscale colorspace conversion (64-bit AVX2)
|
H A D | jcgray-sse2.asm | 2 ; jcgray.asm - grayscale colorspace conversion (64-bit SSE2)
|
/third_party/astc-encoder/Source/ |
H A D | astcenc_internal.h | 786 /** @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 D | astcenc_image.cpp | 264 blk.grayscale = all(grayscalev); in load_image_block() 331 blk.grayscale = all(grayscalev); in load_image_block_fast_ldr()
|
H A D | astcenc_decompress_symbolic.cpp | 197 blk.grayscale = false; in decompress_symbolic_block()
|
H A D | astcenc_entry.cpp | 971 blk.grayscale = true; in compress_image()
|
H A D | astcenc_compress_symbolic.cpp | 1633 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 D | video.mak | 109 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 D | FuzzCanvas.cpp | 123 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 D | sp15c.c | 1864 goto grayscale; in sp15c_set_window_param() 1868 grayscale: in sp15c_set_window_param()
|
/third_party/ffmpeg/ |
H A D | configure | 109 --enable-gray enable full grayscale support (slower color)
|