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/tools/
Dsk_tool_utils.cpp608 dst8[x] = SkComputeLuminance((s >> 16) & 0xFF, (s >> 8) & 0xFF, s & 0xFF); in copy_to_g8()
614 dst8[x] = SkComputeLuminance(s & 0xFF, (s >> 8) & 0xFF, (s >> 16) & 0xFF); in copy_to_g8()
/external/skia/src/core/
DSkPixmap.cpp138 int gray = SkComputeLuminance(r, g, b); in erase()
DSkPaint.cpp1527 U8CPU lum = SkComputeLuminance(SkColorGetR(color), in PostMakeRec()
/external/skia/src/gpu/text/
DGrAtlasTextContext.cpp44 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_win.cpp1112 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
DSkFontHost_mac.cpp1079 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()