Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkLumaColorFilter.cpp33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), in filterSpan()
/external/skia/src/core/
DSkConfig8888.cpp156 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()
DSkPixmap.cpp145 int gray = SkComputeLuminance(r, g, b); in erase()
DSkPaint.cpp1545 U8CPU lum = SkComputeLuminance(SkColorGetR(color), in PostMakeRec()
/external/skia/src/gpu/text/
DGrAtlasTextContext.cpp47 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in ComputeCanonicalColor()
/external/skia/include/core/
DSkColorPriv.h169 static inline U8CPU SkComputeLuminance(U8CPU r, U8CPU g, U8CPU b) { in SkComputeLuminance() function
/external/skia/src/ports/
DSkFontHost_mac.cpp1186 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
DSkFontHost_win.cpp1101 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()