Searched refs:sk_apply_lut_if (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 121 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16() 122 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 123 sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableB)); in copyFT2LCD16() 128 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16() 129 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 130 sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableB)); in copyFT2LCD16() 148 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16() 149 sk_apply_lut_if<APPLY_PREBLEND>(*srcG++, tableG), in copyFT2LCD16() 150 sk_apply_lut_if<APPLY_PREBLEND>(*srcB++, tableB)); in copyFT2LCD16()
|
D | SkScalerContext_win_dw.cpp | 612 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in rgb_to_a8() 629 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16() 630 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16() 631 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd16() 633 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd16() 634 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16() 635 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
|
D | SkFontHost_win.cpp | 1101 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1108 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16() 1109 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16() 1110 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
|
D | SkFontHost_mac.cpp | 1186 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1212 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in rgb_to_lcd16() 1213 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); in rgb_to_lcd16() 1214 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 0) & 0xFF), tableB); in rgb_to_lcd16()
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 222 template<bool APPLY_LUT> static inline U8CPU sk_apply_lut_if(U8CPU component, const uint8_t*) { in sk_apply_lut_if() function 225 template<> /*static*/ inline U8CPU sk_apply_lut_if<true>(U8CPU component, const uint8_t* lut) {
|
D | SkScalerContext.cpp | 314 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(fir[0], maskPreBlend.fR); in pack4xHToLCD16() 315 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(fir[1], maskPreBlend.fG); in pack4xHToLCD16() 316 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(fir[2], maskPreBlend.fB); in pack4xHToLCD16()
|