Searched refs:table8 (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 602 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()
|
D | SkFontHost_mac.cpp | 1182 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()
|
D | SkFontHost_win.cpp | 1097 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()
|