Home
last modified time | relevance | path

Searched refs:SkColorGetB (Results 1 – 25 of 88) sorted by relevance

1234

/external/skqp/samplecode/
DSampleShadowColor.cpp124 SkColorGetB(color)); in drawShadowedPath()
126 SkColorGetB(color)); in drawShadowedPath()
131 SkColorGetG(color), SkColorGetB(color)); in drawShadowedPath()
146 SkColorGetB(color)); in drawShadowedPath()
149 SkColorGetB(color)); in drawShadowedPath()
/external/skia/samplecode/
DSampleShadowColor.cpp124 SkColorGetB(color)); in drawShadowedPath()
126 SkColorGetB(color)); in drawShadowedPath()
131 SkColorGetG(color), SkColorGetB(color)); in drawShadowedPath()
146 SkColorGetB(color)); in drawShadowedPath()
149 SkColorGetB(color)); in drawShadowedPath()
/external/skqp/tests/
DColorMatrixTest.cpp25 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance); in assert_color()
122 REPORTER_ASSERT(r, SkColorGetB(filtered) == 0x0c); in DEF_TEST()
DPremulAlphaRoundTripTest.cpp20 byte[2] = SkColorGetB(c); in pack_unpremul_rgba()
28 byte[0] = SkColorGetB(c); in pack_unpremul_bgra()
DNonlinearBlendingTest.cpp44 SkColorGetB(color) * (1 / 255.0f), in DEF_TEST()
/external/skia/tests/
DColorMatrixTest.cpp25 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance); in assert_color()
122 REPORTER_ASSERT(r, SkColorGetB(filtered) == 0x0c); in DEF_TEST()
DPremulAlphaRoundTripTest.cpp20 byte[2] = SkColorGetB(c); in pack_unpremul_rgba()
28 byte[0] = SkColorGetB(c); in pack_unpremul_bgra()
/external/skia/gm/
Dunpremul.cpp36 close(SkColorGetB(pixel), SkColorGetB(color)) && in __anon5f72f5b40102()
Dmixercolorfilter.cpp80 b_lo = SkColorGetB(lo), in MakeTintColorFilter()
84 b_hi = SkColorGetB(hi), in MakeTintColorFilter()
Daaxfermodes.cpp210 SkColorGetB(kBGColor) + SkColorGetB(color))); in setupShapePaint()
Dshadowutils.cpp19 SkColorGetG(color), SkColorGetB(color)); in draw_shadow()
21 SkColorGetG(color), SkColorGetB(color)); in draw_shadow()
Dshapes_as_paths.cpp54 SkTAbs((int)(SkColorGetB(pixelA) - SkColorGetB(pixelB))) + in draw_diff()
/external/skqp/gm/
Dunpremul.cpp36 close(SkColorGetB(pixel), SkColorGetB(color)) && in __anon6ae844cb0102()
Daaxfermodes.cpp210 SkColorGetB(kBGColor) + SkColorGetB(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)(SkColorGetB(pixelA) - SkColorGetB(pixelB))) + in draw_diff()
/external/skqp/src/effects/
DSkColorMatrixFilter.cpp33 byte_to_scale(SkColorGetB(mul)), in SkLightingColorFilter()
37 SkIntToScalar(SkColorGetB(add)), in SkLightingColorFilter()
/external/skia/src/effects/
DSkColorMatrixFilter.cpp33 byte_to_scale(SkColorGetB(mul)), in SkLightingColorFilter()
37 SkIntToScalar(SkColorGetB(add)), in SkLightingColorFilter()
/external/skia/src/core/
DSkMaskGamma.h38 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance()
127 sk_t_scale255<B_LUM_BITS>(SkColorGetB(color) >> (8 - B_LUM_BITS))); in CanonicalColor()
213 fGammaTables[SkColorGetB(color) >> (8 - MAX_LUM_BITS)]); in preBlend()
/external/skqp/src/core/
DSkMaskGamma.h38 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance()
127 sk_t_scale255<B_LUM_BITS>(SkColorGetB(color) >> (8 - B_LUM_BITS))); in CanonicalColor()
213 fGammaTables[SkColorGetB(color) >> (8 - MAX_LUM_BITS)]); in preBlend()
/external/skqp/include/core/
DSkColor.h79 #define SkColorGetB(color) (((color) >> 0) & 0xFF) macro
176 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
/external/skia/include/core/
DSkColor.h79 #define SkColorGetB(color) (((color) >> 0) & 0xFF) macro
176 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
/external/skqp/docs/
DSkColor_Reference.bmh181 #SeeAlso SkColorGetG SkColorGetB
210 #SeeAlso SkColorGetR SkColorGetB
216 #Define SkColorGetB
234 uint8_t blue = SkColorGetB(source.getColor(168, 170));
587 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv);
759 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
789 str += " blue=" + std::to_string(SkColorGetB(unpremultiplied));
795 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
/external/skia/docs/
DSkColor_Reference.bmh181 #SeeAlso SkColorGetG SkColorGetB
210 #SeeAlso SkColorGetR SkColorGetB
216 #Define SkColorGetB
234 uint8_t blue = SkColorGetB(source.getColor(168, 170));
587 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv);
759 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
789 str += " blue=" + std::to_string(SkColorGetB(unpremultiplied));
795 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
/external/skia/modules/sksg/src/
DSkSGColorFilter.cpp160 b = SkColorGetB(c0); in MakeNColorGradient()
163 dB = (SkColorGetB(c1) - b) / span_size; in MakeNColorGradient()

1234