/external/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 31 matrix.setScale(byte_to_scale(SkColorGetR(mul)), in SkLightingColorFilter() 35 matrix.postTranslate(SkIntToScalar(SkColorGetR(add)), in SkLightingColorFilter()
|
D | SkAlphaThresholdFilter.cpp | 240 (U8CPU)(SkColorGetR(source) * scale), in onFilterImage() 248 (U8CPU)(SkColorGetR(source) * scale), in onFilterImage()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance); in assert_color()
|
D | PremulAlphaRoundTripTest.cpp | 20 byte[0] = SkColorGetR(c); in pack_unpremul_rgba() 32 byte[2] = SkColorGetR(c); in pack_unpremul_bgra()
|
D | ColorSpaceXformTest.cpp | 323 REPORTER_ASSERT(r, almost_equal(SkColorGetR(srcPixels[i]), in DEF_TEST() 328 SkColorGetR(dstPixels[i]))); in DEF_TEST()
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 124 sk_t_scale255<R_LUM_BITS>(SkColorGetR(color) >> (8 - R_LUM_BITS)), in CanonicalColor() 209 fGammaTables[SkColorGetR(color) >> (8 - MAX_LUM_BITS)], in preBlend()
|
D | SkColor.cpp | 17 return SkPremultiplyARGBInline(SkColorGetA(c), SkColorGetR(c), in SkPreMultiplyColor()
|
D | SkColorFilter.cpp | 54 SkColorGetR(c) * inv255, in filterColor()
|
/external/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 52 startColor.append(Json::Value(SkColorGetR(target))); in handle() 71 endColor.append(Json::Value(SkColorGetR(current))); in handle()
|
/external/skia/include/core/ |
D | SkColor.h | 64 #define SkColorGetR(color) (((color) >> 16) & 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 | 21 *bm.getAddr32(0, 0) = SkPreMultiplyARGB(0xFF, SkColorGetR(c), in setBitmapDash()
|
D | SampleBigGradient.cpp | 97 CGColorRef color = CGColorCreateGenericRGB(SkColorGetR(c)/255.f, in drawRect() 166 … COLORREF cr = RGB(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c));// SkEndian_Swap32(c) >> 8; in drawRect()
|
D | SampleHT.cpp | 21 f[1] = SkIntToScalar(SkColorGetR(c)); in color_to_floats()
|
/external/skia/gm/ |
D | aaxfermodes.cpp | 207 SkColorGetR(kBGColor) + SkColorGetR(color)), in setupShapePaint()
|
D | shapes_as_paths.cpp | 50 SkTAbs((int)(SkColorGetR(pixelA) - SkColorGetR(pixelB))) + in draw_diff()
|
D | hsl.cpp | 142 SkColorGetR(c) * (1/255.0f), in blend()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts_arm_neon.cpp | 14 int colR = SkColorGetR(color); in SkBlitLCD16OpaqueRow_neon() 83 int colR = SkColorGetR(color); in SkBlitLCD16Row_neon()
|
D | SkBlitRow_opts_SSE2.cpp | 311 int srcR = SkColorGetR(src); in SkBlitLCD16Row_SSE2() 383 int srcR = SkColorGetR(src); in SkBlitLCD16OpaqueRow_SSE2()
|
/external/skia/src/shaders/ |
D | SkColorShader.cpp | 46 unsigned r = SkColorGetR(color); in ColorShaderContext() 165 unsigned r = SkColorGetR(color); in Color4Context()
|
D | SkLightingShader.cpp | 374 accum.fX += lightShader.fLights->ambientLightColor().fX * SkColorGetR(diffColor); in shadeSpan() 391 accum.fX += light.color().fX * SkColorGetR(diffColor) * illuminanceScalingFactor; in shadeSpan()
|
/external/skia/src/gpu/ |
D | SkGr.h | 54 unsigned r = SkColorGetR(c); in SkColorToUnpremulGrColor()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 474 return SkColorSetARGB(tonalAlpha*255.999f, unPremulScale*SkColorGetR(color), in compute_render_color() 478 return SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in compute_render_color()
|
/external/skia/include/gpu/ |
D | GrColor.h | 164 r = SkColorGetR(colorUPM); in GrUnpremulColor()
|
/external/skia/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 239 SkColorGetR(luminanceColor) >> kDistanceAdjustLumShift, in setupDfProcessor()
|