Home
last modified time | relevance | path

Searched refs:SkColorGetG (Results 1 – 25 of 92) sorted by relevance

1234

/external/skqp/samplecode/
DSampleShadowColor.cpp123 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/samplecode/
DSampleShadowColor.cpp123 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/skqp/tests/
DColorMatrixTest.cpp24 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); in assert_color()
121 REPORTER_ASSERT(r, SkColorGetG(filtered) == 0xff); in DEF_TEST()
DPremulAlphaRoundTripTest.cpp19 byte[1] = SkColorGetG(c); in pack_unpremul_rgba()
29 byte[1] = SkColorGetG(c); in pack_unpremul_bgra()
DNonlinearBlendingTest.cpp43 SkColorGetG(color) * (1 / 255.0f), in DEF_TEST()
/external/skia/tests/
DColorMatrixTest.cpp24 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); in assert_color()
121 REPORTER_ASSERT(r, SkColorGetG(filtered) == 0xff); in DEF_TEST()
DPremulAlphaRoundTripTest.cpp19 byte[1] = SkColorGetG(c); in pack_unpremul_rgba()
29 byte[1] = SkColorGetG(c); in pack_unpremul_bgra()
/external/skia/gm/
Dunpremul.cpp35 close(SkColorGetG(pixel), SkColorGetG(color)) && in __anon5f72f5b40102()
Dmixercolorfilter.cpp79 g_lo = SkColorGetG(lo), in MakeTintColorFilter()
83 g_hi = SkColorGetG(hi), in MakeTintColorFilter()
Daaxfermodes.cpp209 SkTMax(SkColorGetG(kBGColor) + SkColorGetG(color), in setupShapePaint()
Dshadowutils.cpp19 SkColorGetG(color), SkColorGetB(color)); in draw_shadow()
21 SkColorGetG(color), SkColorGetB(color)); in draw_shadow()
Dshapes_as_paths.cpp53 SkTAbs((int)(SkColorGetG(pixelA) - SkColorGetG(pixelB))) + in draw_diff()
/external/skqp/gm/
Dunpremul.cpp35 close(SkColorGetG(pixel), SkColorGetG(color)) && in __anon6ae844cb0102()
Daaxfermodes.cpp209 SkTMax(SkColorGetG(kBGColor) + SkColorGetG(color), in setupShapePaint()
Dshadowutils.cpp19 SkColorGetG(color), SkColorGetB(color)); in draw_shadow()
21 SkColorGetG(color), SkColorGetB(color)); in draw_shadow()
Dshapes_as_paths.cpp52 SkTAbs((int)(SkColorGetG(pixelA) - SkColorGetG(pixelB))) + in draw_diff()
/external/skqp/src/effects/
DSkColorMatrixFilter.cpp32 byte_to_scale(SkColorGetG(mul)), in SkLightingColorFilter()
36 SkIntToScalar(SkColorGetG(add)), in SkLightingColorFilter()
/external/skia/src/effects/
DSkColorMatrixFilter.cpp32 byte_to_scale(SkColorGetG(mul)), in SkLightingColorFilter()
36 SkIntToScalar(SkColorGetG(add)), in SkLightingColorFilter()
/external/skia/src/core/
DSkMaskGamma.h37 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/
DSkMaskGamma.h37 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/
DSkColor.h75 #define SkColorGetG(color) (((color) >> 8) & 0xFF) macro
176 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
/external/skia/include/core/
DSkColor.h75 #define SkColorGetG(color) (((color) >> 8) & 0xFF) macro
176 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
/external/skqp/docs/
DSkColor_Reference.bmh181 #SeeAlso SkColorGetG SkColorGetB
187 #Define SkColorGetG
205 uint8_t green = SkColorGetG(source.getColor(57, 192));
239 #SeeAlso SkColorGetR SkColorGetG
587 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv);
758 str += " green=" + std::to_string(SkColorGetG(premultiplied));
788 str += " green=" + std::to_string(SkColorGetG(unpremultiplied));
794 str += " green=" + std::to_string(SkColorGetG(premultiplied));
/external/skia/docs/
DSkColor_Reference.bmh181 #SeeAlso SkColorGetG SkColorGetB
187 #Define SkColorGetG
205 uint8_t green = SkColorGetG(source.getColor(57, 192));
239 #SeeAlso SkColorGetR SkColorGetG
587 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv);
758 str += " green=" + std::to_string(SkColorGetG(premultiplied));
788 str += " green=" + std::to_string(SkColorGetG(unpremultiplied));
794 str += " green=" + std::to_string(SkColorGetG(premultiplied));
/external/skia/modules/sksg/src/
DSkSGColorFilter.cpp159 g = SkColorGetG(c0), in MakeNColorGradient()
162 dG = (SkColorGetG(c1) - g) / span_size, in MakeNColorGradient()

1234