/external/skia/src/animator/ |
D | SkDrawColor.cpp | 26 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()
|
D | SkDrawBitmap.cpp | 72 SkColorGetG(fColor), SkColorGetB(fColor)); in dump()
|
/external/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 26 byte_to_scale(SkColorGetG(mul)), in CreateLightingFilter() 30 SkIntToScalar(SkColorGetG(add)), in CreateLightingFilter()
|
D | SkAvoidXfermode.cpp | 77 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()
|
D | SkAlphaThresholdFilter.cpp | 387 (U8CPU)(SkColorGetG(source) * scale), in onFilterImageDeprecated() 395 (U8CPU)(SkColorGetG(source) * scale), in onFilterImageDeprecated()
|
/external/skia/include/gpu/ |
D | SkGr.h | 37 unsigned g = SkColorGetG(c); in SkColorToUnpremulGrColor() 45 unsigned g = SkColorGetG(c); in SkColorToOpaqueGrColor()
|
D | GrColor.h | 165 g = SkColorGetG(colorUPM); in GrUnpremulColor()
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 36 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()
|
D | SkColor.cpp | 18 SkColorGetG(c), SkColorGetB(c)); in SkPreMultiplyColor()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); in assert_color()
|
D | PremulAlphaRoundTripTest.cpp | 23 byte[1] = SkColorGetG(c); in pack_unpremul_rgba() 33 byte[1] = SkColorGetG(c); in pack_unpremul_bgra()
|
D | RectTest.cpp | 16 if (SkColorGetG(bm.getColor(i, j))) { in has_green_pixels()
|
/external/skia/include/core/ |
D | SkColor.h | 65 #define SkColorGetG(color) (((color) >> 8) & 0xFF) macro 114 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 271 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()
|
D | SkTextureCompressor_ASTC.cpp | 1019 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/ |
D | BreakHandler.cpp | 66 startColor.append(Json::Value(SkColorGetG(target))); in handle() 85 endColor.append(Json::Value(SkColorGetG(current))); in handle()
|
/external/skia/gm/ |
D | dstreadshuffle.cpp | 116 SkColorGetG(colors[index]), in GetColor() 123 SkColorGetG(colors[index]), in GetColor()
|
D | aaxfermodes.cpp | 208 SkTMax(SkColorGetG(kBGColor) + SkColorGetG(color), in setupShapePaint()
|
D | SkLinearBitmapPipelineGM.cpp | 29 w = SkPackARGB32NoCheck(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), SkColorGetB(c)); in fill_in_bits()
|
/external/skia/tools/debugger/ |
D | SkOverdrawMode.cpp | 279 } 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/ |
D | SkGradientShader.cpp | 287 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/ |
D | SkBlitMask_opts_arm_neon.cpp | 15 int colG = SkColorGetG(color); in SkBlitLCD16OpaqueRow_neon() 84 int colG = SkColorGetG(color); in SkBlitLCD16Row_neon()
|
D | SkColorCubeFilter_opts.h | 30 g = SkColorGetG(source); in color_cube_filter_span()
|
/external/skia/samplecode/ |
D | SampleDash.cpp | 23 SkColorGetG(c), SkColorGetB(c)); in setBitmapDash()
|
D | SampleHT.cpp | 22 f[2] = SkIntToScalar(SkColorGetG(c)); in color_to_floats()
|