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.cpp167 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()
DSkBitmap.cpp689 int gray = SkComputeLuminance(r, g, b); in internalErase()
DSkPaint.cpp1569 U8CPU lum = SkComputeLuminance(SkColorGetR(color), in PostMakeRec()
/external/skia/include/core/
DSkColorPriv.h164 static inline U8CPU SkComputeLuminance(U8CPU r, U8CPU g, U8CPU b) { in SkComputeLuminance() function
/external/skia/src/ports/
DSkFontHost_mac.cpp1169 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
DSkFontHost_win.cpp1099 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
/external/skia/src/gpu/
DGrAtlasTextContext.cpp226 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in ComputeCanonicalColor()