Home
last modified time | relevance | path

Searched refs:SkComputeLuminance (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/tools/
DToolUtils.cpp423 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/
DSkColorData.h119 static inline U8CPU SkComputeLuminance(U8CPU r, U8CPU g, U8CPU b) { in SkComputeLuminance() function
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp380 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
DSkFontHost_win.cpp1041 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
/third_party/skia/src/core/
DSkScalerContext.cpp63 U8CPU lum = SkComputeLuminance(SkColorGetR(lumColor), in PreprocessRec()
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1388 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in compute_canonical_color()