Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkTableColorFilter.cpp56 SkTable_ColorFilter(const uint8_t tableA[], const uint8_t tableR[], in SkTable_ColorFilter() argument
67 if (tableR) { in SkTable_ColorFilter()
68 memcpy(dst, tableR, 256); in SkTable_ColorFilter()
147 const uint8_t* tableR = gIdentityTable; in toString() local
154 tableR = table; table += 256; in toString()
167 i, tableR[i], tableG[i], tableB[i], tableA[i]); in toString()
285 const uint8_t* tableR = gIdentityTable; in onMakeComposed() local
292 tableR = table; table += 256; in onMakeComposed()
307 combine_tables(concatR, tableR, innerBM.getAddr8(0, 1)); in onMakeComposed()
571 const uint8_t tableR[256], in MakeARGB()
[all …]
/external/skqp/src/effects/
DSkTableColorFilter.cpp56 SkTable_ColorFilter(const uint8_t tableA[], const uint8_t tableR[], in SkTable_ColorFilter() argument
67 if (tableR) { in SkTable_ColorFilter()
68 memcpy(dst, tableR, 256); in SkTable_ColorFilter()
147 const uint8_t* tableR = gIdentityTable; in toString() local
154 tableR = table; table += 256; in toString()
167 i, tableR[i], tableG[i], tableB[i], tableA[i]); in toString()
285 const uint8_t* tableR = gIdentityTable; in makeComposed() local
292 tableR = table; table += 256; in makeComposed()
307 combine_tables(concatR, tableR, innerBM.getAddr8(0, 1)); in makeComposed()
560 const uint8_t tableR[256], in MakeARGB()
[all …]
/external/skia/include/effects/
DSkTableColorFilter.h35 const uint8_t tableR[256],
/external/skqp/include/effects/
DSkTableColorFilter.h35 const uint8_t tableR[256],
/external/skia/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/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/src/ports/
DSkFontHost_FreeType_common.cpp97 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) in copyFT2LCD16() argument
139 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16()
146 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16()
166 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16()
DSkScalerContext_win_dw.cpp738 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
747 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
753 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
DSkFontHost_win.cpp1092 static inline uint16_t rgb_to_lcd16(SkGdiRGB rgb, const uint8_t* tableR, in rgb_to_lcd16() argument
1095 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16()
1202 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
1209 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(src[i], tableR, tableG, tableB); in rgb_to_lcd16()
DSkFontHost_mac.cpp1113 static inline uint16_t rgb_to_lcd16(CGRGBPixel rgb, const uint8_t* tableR, in rgb_to_lcd16() argument
1116 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in rgb_to_lcd16()
1128 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
1135 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(cgPixels[i], tableR, tableG, tableB); in rgb_to_lcd16()
/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp97 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) in copyFT2LCD16() argument
139 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), in copyFT2LCD16()
146 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), in copyFT2LCD16()
166 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(*srcR++, tableR), in copyFT2LCD16()
DSkScalerContext_win_dw.cpp738 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
747 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
753 r = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableR); in rgb_to_lcd16()
DSkFontHost_win.cpp1092 static inline uint16_t rgb_to_lcd16(SkGdiRGB rgb, const uint8_t* tableR, in rgb_to_lcd16() argument
1095 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 16) & 0xFF, tableR); in rgb_to_lcd16()
1202 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
1209 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(src[i], tableR, tableG, tableB); in rgb_to_lcd16()
DSkFontHost_mac.cpp1113 static inline uint16_t rgb_to_lcd16(CGRGBPixel rgb, const uint8_t* tableR, in rgb_to_lcd16() argument
1116 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in rgb_to_lcd16()
1128 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
1135 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(cgPixels[i], tableR, tableG, tableB); in rgb_to_lcd16()
/external/skia/samplecode/
DSampleFilterFuzz.cpp362 uint8_t tableR[256]; in make_color_filter() local
366 rand_color_table(tableR); in make_color_filter()
369 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_color_filter()
/external/skqp/samplecode/
DSampleFilterFuzz.cpp362 uint8_t tableR[256]; in make_color_filter() local
366 rand_color_table(tableR); in make_color_filter()
369 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_color_filter()
/external/skqp/fuzz/
DFuzzCanvas.cpp218 uint8_t tableR[256]; in make_fuzz_colorfilter() local
222 fuzz->nextN(tableR, SK_ARRAY_COUNT(tableR)); in make_fuzz_colorfilter()
225 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_fuzz_colorfilter()
/external/skia/fuzz/
DFuzzCanvas.cpp222 uint8_t tableR[256]; in make_fuzz_colorfilter() local
226 fuzz->nextN(tableR, SK_ARRAY_COUNT(tableR)); in make_fuzz_colorfilter()
229 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_fuzz_colorfilter()