/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 118 uint8_t max = std::max(std::max(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 120 uint8_t min = std::min(std::min(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 126 SkColorGetG(color), SkColorGetB(color)); in drawShadowedPath() 140 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath() 143 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath()
|
/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 123 uint8_t max = SkTMax(SkTMax(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 125 uint8_t min = SkTMin(SkTMin(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 131 SkColorGetG(color), SkColorGetB(color)); in drawShadowedPath() 145 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath() 148 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath()
|
/external/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 28 byte_to_unit_float(SkColorGetG(mul)), in MakeLightingFilter() 32 byte_to_unit_float(SkColorGetG(add)), in MakeLightingFilter()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); in assert_color() 120 REPORTER_ASSERT(r, SkColorGetG(filtered) == 0xff); in DEF_TEST()
|
D | PremulAlphaRoundTripTest.cpp | 19 byte[1] = SkColorGetG(c); in pack_unpremul_rgba() 29 byte[1] = SkColorGetG(c); in pack_unpremul_bgra()
|
/external/skqp/tests/ |
D | ColorMatrixTest.cpp | 24 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); in assert_color() 121 REPORTER_ASSERT(r, SkColorGetG(filtered) == 0xff); in DEF_TEST()
|
D | PremulAlphaRoundTripTest.cpp | 19 byte[1] = SkColorGetG(c); in pack_unpremul_rgba() 29 byte[1] = SkColorGetG(c); in pack_unpremul_bgra()
|
/external/skia/docs/examples/ |
D | PreMultiplyColor.cpp | 13 str += " green=" + std::to_string(SkColorGetG(unpremultiplied)); 19 str += " green=" + std::to_string(SkColorGetG(premultiplied));
|
D | Paint_getColor.cpp | 11 (int) (SkColorGetG(y) / 2.55f), (int) (SkColorGetB(y) / 2.55f)); in draw()
|
D | ColorGetG.cpp | 12 uint8_t green = SkColorGetG(source.getColor(57, 192));
|
D | RGBA4f_toSkColor.cpp | 11 SkColorGetG(argb), SkColorGetB(argb), SkColorGetA(argb)); in draw()
|
D | PreMultiplyARGB.cpp | 14 str += " green=" + std::to_string(SkColorGetG(premultiplied));
|
D | RGBA4f_FromColor.cpp | 13 SkColorGetG(fromColor4f), SkColorGetB(fromColor4f), SkColorGetA(fromColor4f)); in draw()
|
D | Alpha_Type_Unpremul.cpp | 11 SkColorGetG(color), SkColorGetB(color));
|
D | Alpha_Type_Premul.cpp | 11 SkColorGetG(color), SkColorGetB(color));
|
D | Alpha_Type_Opaque.cpp | 11 SkColorGetG(color), SkColorGetB(color));
|
D | RGBToHSV.cpp | 14 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv);
|
/external/skqp/gm/ |
D | unpremul.cpp | 35 close(SkColorGetG(pixel), SkColorGetG(color)) && in __anon4a2aa7120102()
|
/external/skia/gm/ |
D | unpremul.cpp | 44 close(SkColorGetG(pixel), SkColorGetG(color)) && in __anon3eb557fb0102()
|
D | composecolorfilter.cpp | 36 g_lo = SkColorGetG(lo), in MakeTintColorFilter() 40 g_hi = SkColorGetG(hi), in MakeTintColorFilter()
|
D | mixercolorfilter.cpp | 38 g_lo = SkColorGetG(lo), in MakeTintColorFilter() 42 g_hi = SkColorGetG(hi), in MakeTintColorFilter()
|
/external/skqp/src/effects/ |
D | SkColorMatrixFilter.cpp | 32 byte_to_scale(SkColorGetG(mul)), in SkLightingColorFilter() 36 SkIntToScalar(SkColorGetG(add)), in SkLightingColorFilter()
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 37 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 126 sk_t_scale255<G_LUM_BITS>(SkColorGetG(color) >> (8 - G_LUM_BITS)), in CanonicalColor() 212 fGammaTables[SkColorGetG(color) >> (8 - MAX_LUM_BITS)], in preBlend()
|
/external/skqp/src/core/ |
D | SkMaskGamma.h | 37 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 126 sk_t_scale255<G_LUM_BITS>(SkColorGetG(color) >> (8 - G_LUM_BITS)), in CanonicalColor() 212 fGammaTables[SkColorGetG(color) >> (8 - MAX_LUM_BITS)], in preBlend()
|
/external/skqp/include/core/ |
D | SkColor.h | 75 #define SkColorGetG(color) (((color) >> 8) & 0xFF) macro 176 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
|