/third_party/flutter/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 | 847 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>(a, table8); in GrayscaleToA8() 866 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in RGBToA8() 884 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in RGBToLcd16() 885 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in RGBToLcd16() 886 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in RGBToLcd16() 888 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in RGBToLcd16() 889 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in RGBToLcd16() 890 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in RGBToLcd16()
|
D | SkFontHost_win.cpp | 1044 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1051 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16() 1052 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16() 1053 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
|
D | SkFontHost_mac.cpp | 1283 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1310 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in RGBToLcd16() 1311 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); in RGBToLcd16() 1312 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 0) & 0xFF), tableB); in RGBToLcd16()
|
/third_party/flutter/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) {
|
/third_party/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) {
|
/third_party/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 915 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>(a, table8); in GrayscaleToA8() 934 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in RGBToA8() 952 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in RGBToLcd16() 953 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in RGBToLcd16() 954 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in RGBToLcd16() 956 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in RGBToLcd16() 957 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in RGBToLcd16() 958 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in RGBToLcd16()
|
D | SkScalerContext_mac_ct.cpp | 380 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 407 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in RGBToLcd16() 408 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); in RGBToLcd16() 409 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 0) & 0xFF), tableB); in RGBToLcd16()
|
D | SkFontHost_FreeType_common.cpp | 155 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16() 156 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 157 sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableB)); in copyFT2LCD16() 162 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16() 163 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 164 sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableB)); in copyFT2LCD16() 183 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16() 184 sk_apply_lut_if<APPLY_PREBLEND>(*srcG++, tableG), in copyFT2LCD16() 185 sk_apply_lut_if<APPLY_PREBLEND>(*srcB++, tableB)); in copyFT2LCD16()
|
D | SkFontHost_win.cpp | 1041 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1048 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16() 1049 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16() 1050 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
|