Home
last modified time | relevance | path

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

12

/external/skia/src/animator/
DSkDrawColor.cpp27 SkScalar blue = SkIntToScalar(SkColorGetB(color)); in RGB_to_HSV()
155 SkColorGetG(color), SkColorGetB(color)); in dump()
184 result = SkIntToScalar(SkColorGetB(color)); in getProperty()
231 SkColorGetG(color), SkColorGetB(color)); in setProperty()
241 SkToU8((U8CPU) scalar), SkColorGetB(color)); in setProperty()
250 SkColorGetG(color), SkColorGetB(color)); in setProperty()
DSkDrawBitmap.cpp72 SkColorGetG(fColor), SkColorGetB(fColor)); in dump()
/external/skia/src/effects/
DSkColorMatrixFilter.cpp27 byte_to_scale(SkColorGetB(mul)), in CreateLightingFilter()
31 SkIntToScalar(SkColorGetB(add)), in CreateLightingFilter()
DSkAvoidXfermode.cpp78 unsigned opB = SkColorGetB(fOpColor); in xfer32()
127 unsigned opB = SkColorGetB(fOpColor) >> (8 - SK_R16_BITS); in xfer16()
315 SkColorGetB(avoid.opColor())/255.0f, in onSetData()
444 SkColorGetB(avoid.opColor())/255.0f, in onSetData()
DSkAlphaThresholdFilter.cpp388 (U8CPU)(SkColorGetB(source) * scale)); in onFilterImageDeprecated()
396 (U8CPU)(SkColorGetB(source) * scale)); in onFilterImageDeprecated()
/external/skia/include/gpu/
DSkGr.h38 unsigned b = SkColorGetB(c); in SkColorToUnpremulGrColor()
46 unsigned b = SkColorGetB(c); in SkColorToOpaqueGrColor()
DGrColor.h166 b = SkColorGetB(colorUPM); in GrUnpremulColor()
/external/skia/src/core/
DSkMaskGamma.h37 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance()
126 sk_t_scale255<B_LUM_BITS>(SkColorGetB(color) >> (8 - B_LUM_BITS))); in CanonicalColor()
211 fGammaTables[SkColorGetB(color) >> (8 - MAX_LUM_BITS)]); in preBlend()
DSkColor.cpp18 SkColorGetG(c), SkColorGetB(c)); in SkPreMultiplyColor()
/external/skia/tests/
DColorMatrixTest.cpp23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance); in assert_color()
DPremulAlphaRoundTripTest.cpp24 byte[2] = SkColorGetB(c); in pack_unpremul_rgba()
32 byte[0] = SkColorGetB(c); in pack_unpremul_bgra()
/external/skia/include/core/
DSkColor.h67 #define SkColorGetB(color) (((color) >> 0) & 0xFF) macro
114 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
/external/skia/src/utils/
DSkPatchUtils.cpp276 SkScalar(SkColorGetB(colorsPM[kTopLeft_Corner])), in getVertexData()
277 SkScalar(SkColorGetB(colorsPM[kTopRight_Corner])), in getVertexData()
278 SkScalar(SkColorGetB(colorsPM[kBottomLeft_Corner])), in getVertexData()
279 SkScalar(SkColorGetB(colorsPM[kBottomRight_Corner])))); in getVertexData()
DSkTextureCompressor_ASTC.cpp1020 interpolate_channel(SkColorGetB(endpoints[0]), SkColorGetB(endpoints[1]), weight)); in interpolate_endpoints()
1036 int b = interpolate_channel(SkColorGetB(endpoints[0]), SkColorGetB(endpoints[1]), weight0); in interpolate_dual_endpoints()
1052 SkColorGetB(endpoints[0]), SkColorGetB(endpoints[1]), weight1); in interpolate_dual_endpoints()
1617 SkColorGetA(result), SkColorGetB(result), SkColorGetG(result), SkColorGetR(result)); in getTexel()
/external/skia/tools/skiaserve/urlhandlers/
DBreakHandler.cpp67 startColor.append(Json::Value(SkColorGetB(target))); in handle()
86 endColor.append(Json::Value(SkColorGetB(current))); in handle()
/external/skia/gm/
Ddstreadshuffle.cpp117 SkColorGetB(colors[index])); in GetColor()
124 SkColorGetB(colors[index])); in GetColor()
Daaxfermodes.cpp209 SkColorGetB(kBGColor) + SkColorGetB(color))); in setupShapePaint()
DSkLinearBitmapPipelineGM.cpp29 w = SkPackARGB32NoCheck(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), SkColorGetB(c)); in fill_in_bits()
/external/skia/tools/debugger/
DSkOverdrawMode.cpp281 } else if ((SkColorGetB(dst)+21)/42 > 0) { // dst color is one of 1-6 in xferColor()
282 nextIdx = 8 - (SkColorGetB(dst)+21)/42; in xferColor()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp288 b += SkColorGetB(c); in onAsLuminanceColor()
354 SkFixed b = SkColorGetB(c0); in Build16bitCache()
358 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build16bitCache()
424 uint32_t b0 = SkColorGetB(c0); in Build32bitCache()
428 uint32_t b1 = SkColorGetB(c1); in Build32bitCache()
952 SkColorGetB(*color) / 255.f, in set_color_uni()
964 SkColorGetB(*color) * aDiv255, in set_mul_color_uni()
DSk4fGradientBase.cpp17 : SkPackARGB32NoCheck(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), SkColorGetB(c)); in pack_color()
/external/skia/src/opts/
DSkBlitMask_opts_arm_neon.cpp16 int colB = SkColorGetB(color); in SkBlitLCD16OpaqueRow_neon()
85 int colB = SkColorGetB(color); in SkBlitLCD16Row_neon()
DSkColorCubeFilter_opts.h31 b = SkColorGetB(source); in color_cube_filter_span()
/external/skia/samplecode/
DSampleDash.cpp23 SkColorGetG(c), SkColorGetB(c)); in setBitmapDash()
DSampleHT.cpp23 f[3] = SkIntToScalar(SkColorGetB(c)); in color_to_floats()

12