Searched refs:table8 (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 701 const uint8_t* table8) { in grayscale_to_a8() argument 709 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>(a, table8); in grayscale_to_a8() 716 static void rgb_to_a8(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8() argument 726 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in rgb_to_a8()
|
D | SkFontHost_win.cpp | 1108 static inline uint8_t rgb_to_a8(SkGdiRGB rgb, const uint8_t* table8) { in rgb_to_a8() argument 1112 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1207 const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8() argument 1214 dst[i] = rgb_to_a8<APPLY_PREBLEND>(src[i], table8); in rgb_to_a8()
|
D | SkFontHost_mac.cpp | 1075 static inline uint8_t rgb_to_a8(CGRGBPixel rgb, const uint8_t* table8) { in rgb_to_a8() argument 1079 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1087 const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8() argument 1094 dst[i] = rgb_to_a8<APPLY_PREBLEND>(cgPixels[i], table8); in rgb_to_a8()
|