Home
last modified time | relevance | path

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

12

/external/skia/src/effects/
DSkColorMatrixFilter.cpp32 byte_to_scale(SkColorGetG(mul)), in SkLightingColorFilter()
36 SkIntToScalar(SkColorGetG(add)), in SkLightingColorFilter()
DSkAlphaThresholdFilter.cpp241 (U8CPU)(SkColorGetG(source) * scale), in onFilterImage()
249 (U8CPU)(SkColorGetG(source) * scale), in onFilterImage()
/external/skia/tests/
DColorMatrixTest.cpp22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); in assert_color()
DPremulAlphaRoundTripTest.cpp21 byte[1] = SkColorGetG(c); in pack_unpremul_rgba()
31 byte[1] = SkColorGetG(c); in pack_unpremul_bgra()
DRectTest.cpp16 if (SkColorGetG(bm.getColor(i, j))) { in has_green_pixels()
DColorSpaceXformTest.cpp324 SkColorGetG(dstPixels[i]))); in DEF_TEST()
325 REPORTER_ASSERT(r, almost_equal(SkColorGetG(srcPixels[i]), in DEF_TEST()
/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()
DSkColorFilter.cpp55 SkColorGetG(c) * inv255, in filterColor()
/external/skia/tools/skiaserve/urlhandlers/
DBreakHandler.cpp53 startColor.append(Json::Value(SkColorGetG(target))); in handle()
72 endColor.append(Json::Value(SkColorGetG(current))); in handle()
/external/skia/include/core/
DSkColor.h66 #define SkColorGetG(color) (((color) >> 8) & 0xFF) macro
129 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
/external/skia/samplecode/
DSampleShadowColor.cpp122 uint8_t max = SkTMax(SkTMax(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath()
124 uint8_t min = SkTMin(SkTMin(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath()
DSampleDash.cpp22 SkColorGetG(c), SkColorGetB(c)); in setBitmapDash()
DSampleBigGradient.cpp98 SkColorGetG(c)/255.f, in drawRect()
166 … COLORREF cr = RGB(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c));// SkEndian_Swap32(c) >> 8; in drawRect()
DSampleHT.cpp22 f[2] = SkIntToScalar(SkColorGetG(c)); in color_to_floats()
/external/skia/gm/
Daaxfermodes.cpp208 SkTMax(SkColorGetG(kBGColor) + SkColorGetG(color), in setupShapePaint()
Dshapes_as_paths.cpp51 SkTAbs((int)(SkColorGetG(pixelA) - SkColorGetG(pixelB))) + in draw_diff()
Dhsl.cpp143 SkColorGetG(c) * (1/255.0f), in blend()
/external/skia/src/opts/
DSkBlitMask_opts_arm_neon.cpp15 int colG = SkColorGetG(color); in SkBlitLCD16OpaqueRow_neon()
84 int colG = SkColorGetG(color); in SkBlitLCD16Row_neon()
DSkBlitRow_opts_SSE2.cpp312 int srcG = SkColorGetG(src); in SkBlitLCD16Row_SSE2()
384 int srcG = SkColorGetG(src); in SkBlitLCD16OpaqueRow_SSE2()
/external/skia/src/shaders/
DSkColorShader.cpp47 unsigned g = SkColorGetG(color); in ColorShaderContext()
166 unsigned g = SkColorGetG(color); in Color4Context()
DSkLightingShader.cpp375 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/
DSkGr.h55 unsigned g = SkColorGetG(c); in SkColorToUnpremulGrColor()
/external/skia/src/utils/
DSkShadowUtils.cpp475 unPremulScale*SkColorGetG(color), unPremulScale*SkColorGetB(color)); in compute_render_color()
479 SkColorGetG(color), SkColorGetB(color)); in compute_render_color()
/external/skia/include/gpu/
DGrColor.h165 g = SkColorGetG(colorUPM); in GrUnpremulColor()

12