Home
last modified time | relevance | path

Searched refs:sk_apply_lut_if (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/ports/
DSkScalerContext_win_dw.cpp915 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()
DSkScalerContext_mac_ct.cpp380 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()
DSkFontHost_FreeType_common.cpp155 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()
DSkFontHost_win.cpp1041 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()
/third_party/skia/src/core/
DSkMaskGamma.h224 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) {