Searched refs:sk_apply_lut_if (Results 1 – 5 of 5) sorted by relevance
/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) {
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 996 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>(a, table8); in GrayscaleToA8() 1018 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in RGBToA8() 1039 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in RGBToLcd16() 1040 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in RGBToLcd16() 1041 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in RGBToLcd16() 1043 b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in RGBToLcd16() 1044 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in RGBToLcd16() 1045 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in RGBToLcd16()
|
D | SkScalerContext_mac_ct.cpp | 412 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 439 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in RGBToLcd16() 440 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); in RGBToLcd16() 441 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 0) & 0xFF), tableB); in RGBToLcd16()
|
D | SkFontHost_FreeType_common.cpp | 194 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16() 195 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 196 sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableB)); in copyFT2LCD16() 201 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16() 202 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16() 203 sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableB)); in copyFT2LCD16() 222 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16() 223 sk_apply_lut_if<APPLY_PREBLEND>(*srcG++, tableG), in copyFT2LCD16() 224 sk_apply_lut_if<APPLY_PREBLEND>(*srcB++, tableB)); in copyFT2LCD16()
|
D | SkFontHost_win.cpp | 1050 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8() 1057 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16() 1058 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16() 1059 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
|