Home
last modified time | relevance | path

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

123

/third_party/skia/tests/
DRuntimeBlendTest.cpp27 abs((int)SkColorGetB(x) - (int)SkColorGetB(y)) <= kTolerance; in nearly_equal()
68 SkColorGetB(colors[0]), in test_blend()
72 SkColorGetB(colors[1])); in test_blend()
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()
DSkSLTest.cpp123 SkColorGetB(color[0][0]), SkColorGetA(color[0][0]), in test_one_permutation()
126 SkColorGetB(color[0][1]), SkColorGetA(color[0][1]), in test_one_permutation()
129 SkColorGetB(color[1][0]), SkColorGetA(color[1][0]), in test_one_permutation()
132 SkColorGetB(color[1][1]), SkColorGetA(color[1][1])); in test_one_permutation()
/third_party/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()
/third_party/skia/src/effects/
DSkColorMatrixFilter.cpp29 byte_to_unit_float(SkColorGetB(mul)), in MakeLightingFilter()
33 byte_to_unit_float(SkColorGetB(add)), in MakeLightingFilter()
/third_party/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_Premul.cpp11 SkColorGetG(color), SkColorGetB(color));
DAlpha_Type_Unpremul.cpp11 SkColorGetG(color), SkColorGetB(color));
DAlpha_Type_Opaque.cpp11 SkColorGetG(color), SkColorGetB(color));
DRGBToHSV.cpp14 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv);
DOctopus_Generator.cpp17 std::min(255u, SkColorGetB(color) + 20))); in paintOctopus()
DOctopus_Generator_Animated.cpp17 std::min(255u, SkColorGetB(color) + 20))); in paintOctopus()
DSkImage_to_PPM_ascii.cpp33 SkColorGetG(c), SkColorGetB(c)); in Encode_PPM_A()
/third_party/skia/gm/
Dunpremul.cpp45 close(SkColorGetB(pixel), SkColorGetB(color)) && in __anonfa3e83260102()
Dcomposecolorfilter.cpp38 b_lo = SkColorGetB(lo), in MakeTintColorFilter()
42 b_hi = SkColorGetB(hi), in MakeTintColorFilter()
Dmixercolorfilter.cpp39 b_lo = SkColorGetB(lo), in MakeTintColorFilter()
43 b_hi = SkColorGetB(hi), in MakeTintColorFilter()
Daaxfermodes.cpp221 SkColorGetB(kBGColor) + SkColorGetB(color))); in setupShapePaint()
/third_party/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()
/third_party/skia/include/core/
DSkColor.h71 #define SkColorGetB(color) (((color) >> 0) & 0xFF) macro
168 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
/third_party/skia/modules/sksg/src/
DSkSGColorFilter.cpp175 b = SkColorGetB(c0); in MakeNColorGradient()
178 dB = (SkColorGetB(c1) - b) / span_size; in MakeNColorGradient()

123