Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkTableColorFilter.cpp20 const uint8_t tableG[], const uint8_t tableB[]) { in SkTable_ColorFilter() argument
35 if (tableG) { in SkTable_ColorFilter()
36 memcpy(dst, tableG, 256); in SkTable_ColorFilter()
121 const uint8_t* tableG = gIdentityTable; in filterSpan() local
130 tableG = table; table += 256; in filterSpan()
156 tableG[g], tableB[b]); in filterSpan()
165 const uint8_t* tableG = gIdentityTable; in toString() local
174 tableG = table; table += 256; in toString()
184 i, tableR[i], tableG[i], tableB[i], tableA[i]); in toString()
304 const uint8_t* tableG = gIdentityTable; in newComposed() local
[all …]
/external/skia/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::CreateARGB(tableA, tableR, tableG, tableB); in make_detector_color_filter()
/external/skia/include/effects/
DSkTableColorFilter.h36 const uint8_t tableG[256],
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp79 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) in copyFT2LCD16() argument
122 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16()
129 sk_apply_lut_if<APPLY_PREBLEND>(triple[1], tableG), in copyFT2LCD16()
149 sk_apply_lut_if<APPLY_PREBLEND>(*srcG++, tableG), in copyFT2LCD16()
DSkScalerContext_win_dw.cpp620 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
630 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16()
634 g = sk_apply_lut_if<APPLY_PREBLEND>(*(src++), tableG); in rgb_to_lcd16()
DSkFontHost_win.cpp1106 const uint8_t* tableG, in rgb_to_lcd16() argument
1109 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>((rgb >> 8) & 0xFF, tableG); in rgb_to_lcd16()
1215 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
1222 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(src[i], tableR, tableG, tableB); in rgb_to_lcd16()
DSkFontHost_mac.cpp1210 const uint8_t* tableG, in rgb_to_lcd16() argument
1213 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); in rgb_to_lcd16()
1224 const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) { in rgb_to_lcd16() argument
1231 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(cgPixels[i], tableR, tableG, tableB); in rgb_to_lcd16()
/external/skia/samplecode/
DSampleFilterFuzz.cpp371 uint8_t tableG[256]; in make_color_filter() local
375 rand_color_table(tableG); in make_color_filter()
377 colorFilter = SkTableColorFilter::CreateARGB(tableA, tableR, tableG, tableB); in make_color_filter()