Searched refs:SkComputeLuminance (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/effects/ |
D | SkLumaColorFilter.cpp | 33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), in filterSpan()
|
/external/skia/src/core/ |
D | SkConfig8888.cpp | 156 dst8[x] = SkComputeLuminance((s >> 16) & 0xFF, (s >> 8) & 0xFF, s & 0xFF); in copy_32_to_g8() 162 dst8[x] = SkComputeLuminance(s & 0xFF, (s >> 8) & 0xFF, (s >> 16) & 0xFF); in copy_32_to_g8()
|
D | SkPixmap.cpp | 145 int gray = SkComputeLuminance(r, g, b); in erase()
|
D | SkPaint.cpp | 1545 U8CPU lum = SkComputeLuminance(SkColorGetR(color), in PostMakeRec()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 47 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in ComputeCanonicalColor()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 169 static inline U8CPU SkComputeLuminance(U8CPU r, U8CPU g, U8CPU b) { in SkComputeLuminance() function
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 1186 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
|
D | SkFontHost_win.cpp | 1101 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
|