Searched refs:SkComputeLuminance (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/tools/ |
D | ToolUtils.cpp | 423 dst8[x] = SkComputeLuminance((s >> 16) & 0xFF, (s >> 8) & 0xFF, s & 0xFF); in copy_to_g8() 429 dst8[x] = SkComputeLuminance(s & 0xFF, (s >> 8) & 0xFF, (s >> 16) & 0xFF); in copy_to_g8()
|
/third_party/skia/include/private/ |
D | SkColorData.h | 119 static inline U8CPU SkComputeLuminance(U8CPU r, U8CPU g, U8CPU b) { in SkComputeLuminance() function
|
/third_party/skia/src/ports/ |
D | SkScalerContext_mac_ct.cpp | 380 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
|
D | SkFontHost_win.cpp | 1041 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
|
/third_party/skia/src/core/ |
D | SkScalerContext.cpp | 63 U8CPU lum = SkComputeLuminance(SkColorGetR(lumColor), in PreprocessRec()
|
/third_party/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 1388 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in compute_canonical_color()
|