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 | 167 dst8[x] = SkComputeLuminance((s >> 16) & 0xFF, (s >> 8) & 0xFF, s & 0xFF); in copy_32_to_g8() 173 dst8[x] = SkComputeLuminance(s & 0xFF, (s >> 8) & 0xFF, (s >> 16) & 0xFF); in copy_32_to_g8()
|
D | SkBitmap.cpp | 689 int gray = SkComputeLuminance(r, g, b); in internalErase()
|
D | SkPaint.cpp | 1569 U8CPU lum = SkComputeLuminance(SkColorGetR(color), in PostMakeRec()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 164 static inline U8CPU SkComputeLuminance(U8CPU r, U8CPU g, U8CPU b) { in SkComputeLuminance() function
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 1169 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
|
D | SkFontHost_win.cpp | 1099 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
|
/external/skia/src/gpu/ |
D | GrAtlasTextContext.cpp | 226 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in ComputeCanonicalColor()
|