/external/skia/src/animator/ |
D | SkDrawColor.cpp | 25 SkScalar red = SkIntToScalar(SkColorGetR(color)); in RGB_to_HSV() 154 SkColorGetA(color)/255, SkColorGetR(color), in dump() 193 result = SkIntToScalar(SkColorGetR(color)); in getProperty() 230 color = SkColorSetARGB(alpha, SkColorGetR(color), in setProperty() 235 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty() 240 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty()
|
D | SkDrawBitmap.cpp | 71 SkDebugf("erase=\"argb(%d,%d,%d,%d)\" ", SkColorGetA(fColor)/255, SkColorGetR(fColor), in dump()
|
D | SkMemberInfo.cpp | 440 storage[1].fScalar = SkIntToScalar(SkColorGetR(color)); in writeValue()
|
/external/skia/include/core/ |
D | SkColor.h | 64 #define SkColorGetR(color) (((color) >> 16) & 0xFF) macro 116 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
|
D | SkBitmap.h | 471 this->eraseARGB(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), in eraseColor()
|
D | SkColorPriv.h | 1016 int srcR = SkColorGetR(src); in SkBlitLCD16Row() 1030 int srcR = SkColorGetR(src); in SkBlitLCD16OpaqueRow()
|
/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 | 18 return SkPremultiplyARGBInline(SkColorGetA(c), SkColorGetR(c), in SkPreMultiplyColor()
|
D | SkShader.cpp | 292 unsigned r = SkColorGetR(color); in ColorShaderContext()
|
/external/skia/tools/skpdiff/ |
D | SkDifferentPixelsMetric_cpu.cpp | 76 int redDiff = abs(static_cast<int>(SkColorGetR(baselinePixel) - in diff() 77 SkColorGetR(testPixel))); in diff()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 286 SkScalar(SkColorGetR(colorsPM[kTopLeft_Corner])), in getVertexData() 287 SkScalar(SkColorGetR(colorsPM[kTopRight_Corner])), in getVertexData() 288 SkScalar(SkColorGetR(colorsPM[kBottomLeft_Corner])), in getVertexData() 289 SkScalar(SkColorGetR(colorsPM[kBottomRight_Corner])))); in getVertexData()
|
D | SkTextureCompressor_ASTC.cpp | 1018 interpolate_channel(SkColorGetR(endpoints[0]), SkColorGetR(endpoints[1]), weight), in interpolate_endpoints() 1034 int r = interpolate_channel(SkColorGetR(endpoints[0]), SkColorGetR(endpoints[1]), weight0); in interpolate_dual_endpoints() 1042 SkColorGetR(endpoints[0]), SkColorGetR(endpoints[1]), weight1); in interpolate_dual_endpoints() 1617 SkColorGetA(result), SkColorGetB(result), SkColorGetG(result), SkColorGetR(result)); in getTexel()
|
/external/skia/tests/ |
D | PremulAlphaRoundTripTest.cpp | 22 byte[0] = SkColorGetR(c); in pack_unpremul_rgba() 34 byte[2] = SkColorGetR(c); in pack_unpremul_bgra()
|
/external/skia/gm/ |
D | dstreadshuffle.cpp | 113 SkColorGetR(colors[index]), in GetColor() 120 SkColorGetR(colors[index]), in GetColor()
|
D | all_bitmap_configs.cpp | 100 return SkPremultiplyARGBInline(SkColorGetA(c), SkColorGetR(c), in premultiply_color()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 285 r += SkColorGetR(c); in onAsLuminanceColor() 350 SkFixed r = SkColorGetR(c0); in Build16bitCache() 354 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build16bitCache() 406 uint32_t r0 = SkColorGetR(c0); in Build32bitCache() 410 uint32_t r1 = SkColorGetR(c1); in Build32bitCache() 925 SkColorGetR(*color) / 255.f, in set_color_uni() 937 SkColorGetR(*color) * aDiv255, in set_mul_color_uni()
|
/external/skia/samplecode/ |
D | SampleDash.cpp | 22 *bm.getAddr32(0, 0) = SkPreMultiplyARGB(0xFF, SkColorGetR(c), in setBitmapDash()
|
D | SampleHT.cpp | 21 f[1] = SkIntToScalar(SkColorGetR(c)); in color_to_floats()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts_arm_neon.cpp | 131 int colR = SkColorGetR(color); in SkBlitLCD16OpaqueRow_neon() 200 int colR = SkColorGetR(color); in SkBlitLCD16Row_neon()
|
D | SkBlitRow_opts_SSE2.cpp | 557 int srcR = SkColorGetR(src); in SkBlitLCD16Row_SSE2() 629 int srcR = SkColorGetR(src); in SkBlitLCD16OpaqueRow_SSE2()
|
/external/skia/src/effects/ |
D | SkAlphaThresholdFilter.cpp | 359 (U8CPU)(SkColorGetR(source) * scale), in onFilterImage() 367 (U8CPU)(SkColorGetR(source) * scale), in onFilterImage()
|
D | SkColorCubeFilter.cpp | 135 uint8_t r = SkColorGetR(inputColor); in filterSpan() 149 rOut += colorToScalar[SkColorGetR(lutColor)] * factor; in filterSpan()
|
D | SkColorFilters.cpp | 465 matrix.setScale(byte_to_scale(SkColorGetR(mul)), in CreateLightingFilter() 469 matrix.postTranslate(SkIntToScalar(SkColorGetR(add)), in CreateLightingFilter()
|
/external/skia/experimental/PdfViewer/ |
D | chop_transparency_main.cpp | 75 int r = SkColorGetR(color); in write_bitmap()
|
/external/skia/include/gpu/ |
D | GrColor.h | 127 r = SkColorGetR(colorUPM); in GrUnPreMulColor()
|