Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkScalerContext_win_dw.cpp701 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()
DSkFontHost_win.cpp1108 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()
DSkFontHost_mac.cpp1075 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()