Home
last modified time | relevance | path

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

12

/external/skia/src/animator/
DSkDrawColor.cpp26 SkScalar green = SkIntToScalar(SkColorGetG(color)); in RGB_to_HSV()
155 SkColorGetG(color), SkColorGetB(color)); in dump()
187 result = SkIntToScalar(SkColorGetG(color)); in getProperty()
231 SkColorGetG(color), SkColorGetB(color)); in setProperty()
236 SkColorGetG(color), SkToU8((U8CPU) scalar)); in setProperty()
250 SkColorGetG(color), SkColorGetB(color)); in setProperty()
DSkDrawBitmap.cpp72 SkColorGetG(fColor), SkColorGetB(fColor)); in dump()
/external/skia/src/effects/
DSkColorMatrixFilter.cpp26 byte_to_scale(SkColorGetG(mul)), in CreateLightingFilter()
30 SkIntToScalar(SkColorGetG(add)), in CreateLightingFilter()
DSkAvoidXfermode.cpp77 unsigned opG = SkColorGetG(fOpColor); in xfer32()
126 unsigned opG = SkColorGetG(fOpColor) >> (8 - SK_G16_BITS); in xfer16()
314 SkColorGetG(avoid.opColor())/255.0f, in onSetData()
443 SkColorGetG(avoid.opColor())/255.0f, in onSetData()
DSkAlphaThresholdFilter.cpp387 (U8CPU)(SkColorGetG(source) * scale), in onFilterImageDeprecated()
395 (U8CPU)(SkColorGetG(source) * scale), in onFilterImageDeprecated()
/external/skia/include/gpu/
DSkGr.h37 unsigned g = SkColorGetG(c); in SkColorToUnpremulGrColor()
45 unsigned g = SkColorGetG(c); in SkColorToOpaqueGrColor()
DGrColor.h165 g = SkColorGetG(colorUPM); in GrUnpremulColor()
/external/skia/src/core/
DSkMaskGamma.h36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance()
125 sk_t_scale255<G_LUM_BITS>(SkColorGetG(color) >> (8 - G_LUM_BITS)), in CanonicalColor()
210 fGammaTables[SkColorGetG(color) >> (8 - MAX_LUM_BITS)], in preBlend()
DSkColor.cpp18 SkColorGetG(c), SkColorGetB(c)); in SkPreMultiplyColor()
/external/skia/tests/
DColorMatrixTest.cpp22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); in assert_color()
DPremulAlphaRoundTripTest.cpp23 byte[1] = SkColorGetG(c); in pack_unpremul_rgba()
33 byte[1] = SkColorGetG(c); in pack_unpremul_bgra()
DRectTest.cpp16 if (SkColorGetG(bm.getColor(i, j))) { in has_green_pixels()
/external/skia/include/core/
DSkColor.h65 #define SkColorGetG(color) (((color) >> 8) & 0xFF) macro
114 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
/external/skia/src/utils/
DSkPatchUtils.cpp271 SkScalar(SkColorGetG(colorsPM[kTopLeft_Corner])), in getVertexData()
272 SkScalar(SkColorGetG(colorsPM[kTopRight_Corner])), in getVertexData()
273 SkScalar(SkColorGetG(colorsPM[kBottomLeft_Corner])), in getVertexData()
274 SkScalar(SkColorGetG(colorsPM[kBottomRight_Corner])))); in getVertexData()
DSkTextureCompressor_ASTC.cpp1019 interpolate_channel(SkColorGetG(endpoints[0]), SkColorGetG(endpoints[1]), weight), in interpolate_endpoints()
1035 int g = interpolate_channel(SkColorGetG(endpoints[0]), SkColorGetG(endpoints[1]), weight0); in interpolate_dual_endpoints()
1047 SkColorGetG(endpoints[0]), SkColorGetG(endpoints[1]), weight1); in interpolate_dual_endpoints()
1617 SkColorGetA(result), SkColorGetB(result), SkColorGetG(result), SkColorGetR(result)); in getTexel()
/external/skia/tools/skiaserve/urlhandlers/
DBreakHandler.cpp66 startColor.append(Json::Value(SkColorGetG(target))); in handle()
85 endColor.append(Json::Value(SkColorGetG(current))); in handle()
/external/skia/gm/
Ddstreadshuffle.cpp116 SkColorGetG(colors[index]), in GetColor()
123 SkColorGetG(colors[index]), in GetColor()
Daaxfermodes.cpp208 SkTMax(SkColorGetG(kBGColor) + SkColorGetG(color), in setupShapePaint()
DSkLinearBitmapPipelineGM.cpp29 w = SkPackARGB32NoCheck(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), SkColorGetB(c)); in fill_in_bits()
/external/skia/tools/debugger/
DSkOverdrawMode.cpp279 } else if (SkColorGetG(dst) < 25) { // dst color is the 10th color so cap there in xferColor()
284 nextIdx = 11 - (SkColorGetG(dst)+22)/45; in xferColor()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp287 g += SkColorGetG(c); in onAsLuminanceColor()
353 SkFixed g = SkColorGetG(c0); in Build16bitCache()
357 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build16bitCache()
423 uint32_t g0 = SkColorGetG(c0); in Build32bitCache()
427 uint32_t g1 = SkColorGetG(c1); in Build32bitCache()
951 SkColorGetG(*color) / 255.f, in set_color_uni()
963 SkColorGetG(*color) * aDiv255, in set_mul_color_uni()
/external/skia/src/opts/
DSkBlitMask_opts_arm_neon.cpp15 int colG = SkColorGetG(color); in SkBlitLCD16OpaqueRow_neon()
84 int colG = SkColorGetG(color); in SkBlitLCD16Row_neon()
DSkColorCubeFilter_opts.h30 g = SkColorGetG(source); in color_cube_filter_span()
/external/skia/samplecode/
DSampleDash.cpp23 SkColorGetG(c), SkColorGetB(c)); in setBitmapDash()
DSampleHT.cpp22 f[2] = SkIntToScalar(SkColorGetG(c)); in color_to_floats()

12