/external/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 32 byte_to_scale(SkColorGetG(mul)), in SkLightingColorFilter() 36 SkIntToScalar(SkColorGetG(add)), in SkLightingColorFilter()
|
D | SkAlphaThresholdFilter.cpp | 241 (U8CPU)(SkColorGetG(source) * scale), in onFilterImage() 249 (U8CPU)(SkColorGetG(source) * scale), in onFilterImage()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); in assert_color()
|
D | PremulAlphaRoundTripTest.cpp | 21 byte[1] = SkColorGetG(c); in pack_unpremul_rgba() 31 byte[1] = SkColorGetG(c); in pack_unpremul_bgra()
|
D | RectTest.cpp | 16 if (SkColorGetG(bm.getColor(i, j))) { in has_green_pixels()
|
D | ColorSpaceXformTest.cpp | 324 SkColorGetG(dstPixels[i]))); in DEF_TEST() 325 REPORTER_ASSERT(r, almost_equal(SkColorGetG(srcPixels[i]), in DEF_TEST()
|
/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()
|
D | SkColorFilter.cpp | 55 SkColorGetG(c) * inv255, in filterColor()
|
/external/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 53 startColor.append(Json::Value(SkColorGetG(target))); in handle() 72 endColor.append(Json::Value(SkColorGetG(current))); in handle()
|
/external/skia/include/core/ |
D | SkColor.h | 66 #define SkColorGetG(color) (((color) >> 8) & 0xFF) macro 129 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 122 uint8_t max = SkTMax(SkTMax(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 124 uint8_t min = SkTMin(SkTMin(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath()
|
D | SampleDash.cpp | 22 SkColorGetG(c), SkColorGetB(c)); in setBitmapDash()
|
D | SampleBigGradient.cpp | 98 SkColorGetG(c)/255.f, in drawRect() 166 … COLORREF cr = RGB(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c));// SkEndian_Swap32(c) >> 8; in drawRect()
|
D | SampleHT.cpp | 22 f[2] = SkIntToScalar(SkColorGetG(c)); in color_to_floats()
|
/external/skia/gm/ |
D | aaxfermodes.cpp | 208 SkTMax(SkColorGetG(kBGColor) + SkColorGetG(color), in setupShapePaint()
|
D | shapes_as_paths.cpp | 51 SkTAbs((int)(SkColorGetG(pixelA) - SkColorGetG(pixelB))) + in draw_diff()
|
D | hsl.cpp | 143 SkColorGetG(c) * (1/255.0f), in blend()
|
/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 | SkBlitRow_opts_SSE2.cpp | 312 int srcG = SkColorGetG(src); in SkBlitLCD16Row_SSE2() 384 int srcG = SkColorGetG(src); in SkBlitLCD16OpaqueRow_SSE2()
|
/external/skia/src/shaders/ |
D | SkColorShader.cpp | 47 unsigned g = SkColorGetG(color); in ColorShaderContext() 166 unsigned g = SkColorGetG(color); in Color4Context()
|
D | SkLightingShader.cpp | 375 accum.fY += lightShader.fLights->ambientLightColor().fY * SkColorGetG(diffColor); in shadeSpan() 392 accum.fY += light.color().fY * SkColorGetG(diffColor) * illuminanceScalingFactor; in shadeSpan()
|
/external/skia/src/gpu/ |
D | SkGr.h | 55 unsigned g = SkColorGetG(c); in SkColorToUnpremulGrColor()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 475 unPremulScale*SkColorGetG(color), unPremulScale*SkColorGetB(color)); in compute_render_color() 479 SkColorGetG(color), SkColorGetB(color)); in compute_render_color()
|
/external/skia/include/gpu/ |
D | GrColor.h | 165 g = SkColorGetG(colorUPM); in GrUnpremulColor()
|