Home
last modified time | relevance | path

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

1234

/external/skia/samplecode/
DSampleShadowColor.cpp119 SkColorGetB(color)); in drawShadowedPath()
121 SkColorGetB(color)); in drawShadowedPath()
126 SkColorGetG(color), SkColorGetB(color)); in drawShadowedPath()
141 SkColorGetB(color)); in drawShadowedPath()
144 SkColorGetB(color)); in drawShadowedPath()
/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/src/effects/
DSkColorMatrixFilter.cpp29 byte_to_unit_float(SkColorGetB(mul)), in MakeLightingFilter()
33 byte_to_unit_float(SkColorGetB(add)), in MakeLightingFilter()
/external/skia/tests/
DColorMatrixTest.cpp24 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance); in assert_color()
121 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/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()
/external/skia/docs/examples/
DPreMultiplyColor.cpp14 str += " blue=" + std::to_string(SkColorGetB(unpremultiplied));
20 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
DPaint_getColor.cpp11 (int) (SkColorGetG(y) / 2.55f), (int) (SkColorGetB(y) / 2.55f)); in draw()
DColorGetB.cpp12 uint8_t blue = SkColorGetB(source.getColor(168, 170));
DRGBA4f_toSkColor.cpp11 SkColorGetG(argb), SkColorGetB(argb), SkColorGetA(argb)); in draw()
DPreMultiplyARGB.cpp15 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
DRGBA4f_FromColor.cpp13 SkColorGetG(fromColor4f), SkColorGetB(fromColor4f), SkColorGetA(fromColor4f)); in draw()
DAlpha_Type_Unpremul.cpp11 SkColorGetG(color), SkColorGetB(color));
DAlpha_Type_Premul.cpp11 SkColorGetG(color), SkColorGetB(color));
DAlpha_Type_Opaque.cpp11 SkColorGetG(color), SkColorGetB(color));
DRGBToHSV.cpp14 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv);
/external/skqp/gm/
Dunpremul.cpp36 close(SkColorGetB(pixel), SkColorGetB(color)) && in __anon4a2aa7120102()
/external/skia/gm/
Dunpremul.cpp45 close(SkColorGetB(pixel), SkColorGetB(color)) && in __anon3eb557fb0102()
Dcomposecolorfilter.cpp37 b_lo = SkColorGetB(lo), in MakeTintColorFilter()
41 b_hi = SkColorGetB(hi), in MakeTintColorFilter()
Dmixercolorfilter.cpp39 b_lo = SkColorGetB(lo), in MakeTintColorFilter()
43 b_hi = SkColorGetB(hi), in MakeTintColorFilter()
/external/skqp/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()

1234