/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 143 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16() 144 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 145 sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableB)); in copyFT2LCD16() 150 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16() 151 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 152 sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableB)); in copyFT2LCD16() 171 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16() 172 sk_apply_lut_if<APPLY_PREBLEND>(*srcG++, tableG), in copyFT2LCD16() 173 sk_apply_lut_if<APPLY_PREBLEND>(*srcB++, tableB)); in copyFT2LCD16()
|
D | SkScalerContext_win_dw.cpp | 851 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>(a, table8); in grayscale_to_a8() 868 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in rgb_to_a8() 885 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16() 886 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16() 887 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd16() 889 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd16() 890 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16() 891 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
|
D | SkFontHost_win.cpp | 1103 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1110 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16() 1111 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16() 1112 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
|
D | SkFontHost_mac.cpp | 1259 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1285 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in rgb_to_lcd16() 1286 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); in rgb_to_lcd16() 1287 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 0) & 0xFF), tableB); in rgb_to_lcd16()
|
/external/skqp/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 143 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16() 144 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 145 sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableB)); in copyFT2LCD16() 150 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16() 151 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 152 sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableB)); in copyFT2LCD16() 171 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16() 172 sk_apply_lut_if<APPLY_PREBLEND>(*srcG++, tableG), in copyFT2LCD16() 173 sk_apply_lut_if<APPLY_PREBLEND>(*srcB++, tableB)); in copyFT2LCD16()
|
D | SkScalerContext_win_dw.cpp | 849 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>(a, table8); in grayscale_to_a8() 866 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in rgb_to_a8() 883 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16() 884 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16() 885 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd16() 887 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd16() 888 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16() 889 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
|
D | SkFontHost_win.cpp | 1102 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1109 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16() 1110 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16() 1111 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
|
D | SkFontHost_mac.cpp | 1258 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1284 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in rgb_to_lcd16() 1285 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); in rgb_to_lcd16() 1286 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 0) & 0xFF), tableB); in rgb_to_lcd16()
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 224 template<bool APPLY_LUT> static inline U8CPU sk_apply_lut_if(U8CPU component, const uint8_t*) { in sk_apply_lut_if() function 227 template<> /*static*/ inline U8CPU sk_apply_lut_if<true>(U8CPU component, const uint8_t* lut) {
|
D | SkScalerContext.cpp | 357 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(fir[0], maskPreBlend.fR); in pack4xHToLCD16() 358 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(fir[1], maskPreBlend.fG); in pack4xHToLCD16() 359 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(fir[2], maskPreBlend.fB); in pack4xHToLCD16()
|
/external/skqp/src/core/ |
D | SkMaskGamma.h | 224 template<bool APPLY_LUT> static inline U8CPU sk_apply_lut_if(U8CPU component, const uint8_t*) { in sk_apply_lut_if() function 227 template<> /*static*/ inline U8CPU sk_apply_lut_if<true>(U8CPU component, const uint8_t* lut) {
|
D | SkScalerContext.cpp | 325 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(fir[0], maskPreBlend.fR); in pack4xHToLCD16() 326 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(fir[1], maskPreBlend.fG); in pack4xHToLCD16() 327 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(fir[2], maskPreBlend.fB); in pack4xHToLCD16()
|