Home
last modified time | relevance | path

Searched refs:tableR (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/effects/
DSkTableColorFilter.cpp57 SkTable_ColorFilter(const uint8_t tableA[], const uint8_t tableR[], in SkTable_ColorFilter() argument
68 if (tableR) { in SkTable_ColorFilter()
69 memcpy(dst, tableR, 256); in SkTable_ColorFilter()
254 const uint8_t* tableR = gIdentityTable; in onMakeComposed() local
261 tableR = table; table += 256; in onMakeComposed()
276 combine_tables(concatR, tableR, innerBM.getAddr8(0, 1)); in onMakeComposed()
470 const uint8_t tableR[256], in MakeARGB()
473 return sk_make_sp<SkTable_ColorFilter>(tableA, tableR, tableG, tableB); in MakeARGB()
/external/skia/src/effects/
DSkTableColorFilter.cpp23 SkTable_ColorFilter(const uint8_t tableA[], const uint8_t tableR[], in SkTable_ColorFilter() argument
32 r[i] = tableR ? tableR[i] : i; in SkTable_ColorFilter()
249 const uint8_t tableR[256], in MakeARGB()
252 if (!tableA && !tableR && !tableG && !tableB) { in MakeARGB()
256 return sk_make_sp<SkTable_ColorFilter>(tableA, tableR, tableG, tableB); in MakeARGB()
/external/skqp/include/effects/
DSkTableColorFilter.h35 const uint8_t tableR[256],
/external/skia/include/effects/
DSkTableColorFilter.h35 const uint8_t tableR[256],
/external/skqp/gm/
Drecordopts.cpp27 uint8_t tableR[256] = { 0, }; in make_detector_color_filter() local
32 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_detector_color_filter()
/external/skia/gm/
Drecordopts.cpp36 uint8_t tableR[256] = { 0, }; in make_detector_color_filter() local
41 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_detector_color_filter()
/external/skia/src/ports/
DSkScalerContext_win_dw.h51 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB);
DSkScalerContext_mac_ct.cpp406 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in RGBToLcd16() argument
407 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in RGBToLcd16()
421 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in RGBToLcd16() argument
429 dst[i] = RGBToLcd16<APPLY_PREBLEND>(cgPixels[i], tableR, tableG, tableB); in RGBToLcd16()
DSkFontHost_FreeType_common.cpp113 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) in copyFT2LCD16() argument
155 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16()
162 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16()
183 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16()
DSkScalerContext_win_dw.cpp898 const uint8_t* tableR, const uint8_t* tableG, in RGBToLcd16() argument
908 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in RGBToLcd16()
914 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in RGBToLcd16()
DSkFontHost_win.cpp581 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB);
1044 static inline uint16_t rgb_to_lcd16(SkGdiRGB rgb, const uint8_t* tableR, in rgb_to_lcd16() argument
1047 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16()
1078 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in RGBToLcd16() argument
1085 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(src[i], tableR, tableG, tableB); in RGBToLcd16()
/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp101 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) in copyFT2LCD16() argument
143 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16()
150 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16()
171 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16()
DSkScalerContext_win_dw.cpp874 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
883 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
889 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
DSkFontHost_win.cpp1106 static inline uint16_t rgb_to_lcd16(SkGdiRGB rgb, const uint8_t* tableR, in rgb_to_lcd16() argument
1109 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16()
1139 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
1146 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(src[i], tableR, tableG, tableB); in rgb_to_lcd16()
DSkFontHost_mac.cpp1281 static inline uint16_t rgb_to_lcd16(CGRGBPixel rgb, const uint8_t* tableR, in rgb_to_lcd16() argument
1284 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in rgb_to_lcd16()
1296 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
1303 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(cgPixels[i], tableR, tableG, tableB); in rgb_to_lcd16()
/external/skia/fuzz/
DFuzzCanvas.cpp141 uint8_t tableR[256]; in make_fuzz_colorfilter() local
145 fuzz->nextN(tableR, SK_ARRAY_COUNT(tableR)); in make_fuzz_colorfilter()
148 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_fuzz_colorfilter()
/external/skqp/fuzz/
DFuzzCanvas.cpp158 uint8_t tableR[256]; in make_fuzz_colorfilter() local
162 fuzz->nextN(tableR, SK_ARRAY_COUNT(tableR)); in make_fuzz_colorfilter()
165 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_fuzz_colorfilter()