Home
last modified time | relevance | path

Searched refs:table8 (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/ports/
DSkScalerContext_win_dw.cpp602 static void rgb_to_a8(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8() argument
612 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in rgb_to_a8()
DSkFontHost_mac.cpp1182 static inline uint8_t rgb_to_a8(CGRGBPixel rgb, const uint8_t* table8) { in rgb_to_a8() argument
1186 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
1194 const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8() argument
1201 dst[i] = rgb_to_a8<APPLY_PREBLEND>(cgPixels[i], table8); in rgb_to_a8()
DSkFontHost_win.cpp1097 static inline uint8_t rgb_to_a8(SkGdiRGB rgb, const uint8_t* table8) { in rgb_to_a8() argument
1101 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
1196 const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8() argument
1203 dst[i] = rgb_to_a8<APPLY_PREBLEND>(src[i], table8); in rgb_to_a8()