Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp121 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()
DSkScalerContext_win_dw.cpp616 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in rgb_to_a8()
631 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
632 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16()
633 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd16()
649 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd32()
650 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd32()
651 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd32()
DSkFontHost_mac.cpp1118 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
1140 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16()
1141 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16()
1142 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
1165 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd32()
1166 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd32()
1167 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd32()
DSkFontHost_win.cpp1132 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
1139 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16()
1140 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16()
1141 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
1152 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd32()
1153 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd32()
1154 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd32()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp121 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()
DSkScalerContext_win_dw.cpp585 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>((r + g + b) / 3, table8); in rgb_to_a8()
600 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
601 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16()
602 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd16()
618 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd32()
619 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd32()
620 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableB); in rgb_to_lcd32()
DSkFontHost_mac.cpp1118 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
1140 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16()
1141 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16()
1142 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
1165 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd32()
1166 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd32()
1167 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd32()
DSkFontHost_win.cpp1164 return sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
1171 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16()
1172 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16()
1173 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd16()
1184 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd32()
1185 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd32()
1186 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 0) & 0xFF, tableB); in rgb_to_lcd32()
/external/chromium_org/third_party/skia/src/core/
DSkScalerContext.cpp316 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(fir[0], maskPreBlend.fR); in pack4xHToLCD16()
317 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(fir[1], maskPreBlend.fG); in pack4xHToLCD16()
318 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(fir[2], maskPreBlend.fB); in pack4xHToLCD16()
344 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fR); in pack4xHToLCD32()
345 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fG); in pack4xHToLCD32()
346 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fB); in pack4xHToLCD32()
DSkMaskGamma.h222 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) {
/external/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) {
DSkScalerContext.cpp490 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(fir[0], maskPreBlend.fR); in pack4xHToLCD16()
491 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(fir[1], maskPreBlend.fG); in pack4xHToLCD16()
492 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(fir[2], maskPreBlend.fB); in pack4xHToLCD16()
518 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fR); in pack4xHToLCD32()
519 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fG); in pack4xHToLCD32()
520 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fB); in pack4xHToLCD32()