Home
last modified time | relevance | path

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

/external/skqp/src/effects/
DSkTableColorFilter.cpp58 const uint8_t tableG[], const uint8_t tableB[]) { in SkTable_ColorFilter() argument
73 if (tableG) { in SkTable_ColorFilter()
74 memcpy(dst, tableG, 256); in SkTable_ColorFilter()
255 const uint8_t* tableG = gIdentityTable; in onMakeComposed() local
264 tableG = table; table += 256; in onMakeComposed()
277 combine_tables(concatG, tableG, innerBM.getAddr8(0, 2)); in onMakeComposed()
471 const uint8_t tableG[256], in MakeARGB()
473 return sk_make_sp<SkTable_ColorFilter>(tableA, tableR, tableG, tableB); in MakeARGB()
/external/skia/src/effects/
DSkTableColorFilter.cpp24 const uint8_t tableG[], const uint8_t tableB[]) { in SkTable_ColorFilter() argument
33 g[i] = tableG ? tableG[i] : i; in SkTable_ColorFilter()
250 const uint8_t tableG[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/gm/
Drecordopts.cpp28 uint8_t tableG[256] = { 0, }; in make_detector_color_filter() local
31 tableG[kDetectorGreenValue] = 255; in make_detector_color_filter()
32 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_detector_color_filter()
/external/skia/gm/
Drecordopts.cpp37 uint8_t tableG[256] = { 0, }; in make_detector_color_filter() local
40 tableG[kDetectorGreenValue] = 255; in make_detector_color_filter()
41 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_detector_color_filter()
/external/skqp/include/effects/
DSkTableColorFilter.h36 const uint8_t tableG[256],
/external/skia/include/effects/
DSkTableColorFilter.h36 const uint8_t tableG[256],
/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
408 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); 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
156 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16()
163 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16()
184 sk_apply_lut_if<APPLY_PREBLEND>(*srcG++, tableG), in copyFT2LCD16()
DSkScalerContext_win_dw.cpp898 const uint8_t* tableR, const uint8_t* tableG, in RGBToLcd16() argument
909 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in RGBToLcd16()
913 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in RGBToLcd16()
DSkFontHost_win.cpp581 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB);
1045 const uint8_t* tableG, in rgb_to_lcd16() argument
1048 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); 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
144 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16()
151 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16()
172 sk_apply_lut_if<APPLY_PREBLEND>(*srcG++, tableG), in copyFT2LCD16()
DSkScalerContext_win_dw.cpp874 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
884 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16()
888 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16()
DSkFontHost_win.cpp1107 const uint8_t* tableG, in rgb_to_lcd16() argument
1110 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); 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.cpp1282 const uint8_t* tableG, in rgb_to_lcd16() argument
1285 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); 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.cpp142 uint8_t tableG[256]; in make_fuzz_colorfilter() local
146 fuzz->nextN(tableG, SK_ARRAY_COUNT(tableG)); in make_fuzz_colorfilter()
148 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_fuzz_colorfilter()
/external/skqp/fuzz/
DFuzzCanvas.cpp159 uint8_t tableG[256]; in make_fuzz_colorfilter() local
163 fuzz->nextN(tableG, SK_ARRAY_COUNT(tableG)); in make_fuzz_colorfilter()
165 return SkTableColorFilter::MakeARGB(tableA, tableR, tableG, tableB); in make_fuzz_colorfilter()