/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
D | WEBPImageEncoder.cpp | 63 *data++ = SkMulDiv255Round(pixels[0], alpha); in rgbPictureImport() 64 *data++ = SkMulDiv255Round(pixels[1], alpha); in rgbPictureImport() 65 *data++ = SkMulDiv255Round(pixels[2], alpha); in rgbPictureImport()
|
D | JPEGImageEncoder.cpp | 98 *output++ = SkMulDiv255Round(pixels[0], alpha); in RGBAtoRGB() 99 *output++ = SkMulDiv255Round(pixels[1], alpha); in RGBAtoRGB() 100 *output++ = SkMulDiv255Round(pixels[2], alpha); in RGBAtoRGB()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkShader.cpp | 302 r = SkMulDiv255Round(r, a); in ColorShaderContext() 303 g = SkMulDiv255Round(g, a); in ColorShaderContext() 304 b = SkMulDiv255Round(b, a); in ColorShaderContext() 355 U8CPU newA = SkMulDiv255Round(SkColorGetA(fColor), paint.getAlpha()); in asNewEffect()
|
D | SkAAClip.cpp | 1352 return SkMulDiv255Round(alphaA, alphaB); in sectAlphaProc() 1357 return alphaA + alphaB - SkMulDiv255Round(alphaA, alphaB); in unionAlphaProc() 1362 return SkMulDiv255Round(alphaA, 0xFF - alphaB); in diffAlphaProc() 1367 return alphaA + alphaB - 2 * SkMulDiv255Round(alphaA, alphaB); in xorAlphaProc() 1887 unsigned newAlpha = SkMulDiv255Round(srcAA[0], row[1]); in merge() 1943 SkAlpha newAlpha = SkMulDiv255Round(alpha, row[1]); in blitV() 1979 return SkMulDiv255Round(value, alpha); in mergeOne() 1985 return SkPackRGB16(SkMulDiv255Round(r, alpha), in mergeOne() 1986 SkMulDiv255Round(g, alpha), in mergeOne() 1987 SkMulDiv255Round(b, alpha)); in mergeOne() [all …]
|
D | SkBlitRow_D16.cpp | 77 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); in S32A_D565_Blend()
|
/external/skia/src/core/ |
D | SkShader.cpp | 308 r = SkMulDiv255Round(r, a); in ColorShaderContext() 309 g = SkMulDiv255Round(g, a); in ColorShaderContext() 310 b = SkMulDiv255Round(b, a); in ColorShaderContext() 361 U8CPU newA = SkMulDiv255Round(SkColorGetA(fColor), paint.getAlpha()); in asNewEffect()
|
D | SkAAClip.cpp | 1352 return SkMulDiv255Round(alphaA, alphaB); in sectAlphaProc() 1357 return alphaA + alphaB - SkMulDiv255Round(alphaA, alphaB); in unionAlphaProc() 1362 return SkMulDiv255Round(alphaA, 0xFF - alphaB); in diffAlphaProc() 1367 return alphaA + alphaB - 2 * SkMulDiv255Round(alphaA, alphaB); in xorAlphaProc() 1887 unsigned newAlpha = SkMulDiv255Round(srcAA[0], row[1]); in merge() 1943 SkAlpha newAlpha = SkMulDiv255Round(alpha, row[1]); in blitV() 1979 return SkMulDiv255Round(value, alpha); in mergeOne() 1985 return SkPackRGB16(SkMulDiv255Round(r, alpha), in mergeOne() 1986 SkMulDiv255Round(g, alpha), in mergeOne() 1987 SkMulDiv255Round(b, alpha)); in mergeOne() [all …]
|
D | SkBlitRow_D16.cpp | 77 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); in S32A_D565_Blend()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 360 uint32_t a0 = SkMulDiv255Round(SkColorGetA(c0), paintAlpha); in Build32bitCache() 361 uint32_t a1 = SkMulDiv255Round(SkColorGetA(c1), paintAlpha); in Build32bitCache() 376 r0 = SkMulDiv255Round(r0, a0); in Build32bitCache() 377 g0 = SkMulDiv255Round(g0, a0); in Build32bitCache() 378 b0 = SkMulDiv255Round(b0, a0); in Build32bitCache() 380 r1 = SkMulDiv255Round(r1, a1); in Build32bitCache() 381 g1 = SkMulDiv255Round(g1, a1); in Build32bitCache() 382 b1 = SkMulDiv255Round(b1, a1); in Build32bitCache()
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 360 uint32_t a0 = SkMulDiv255Round(SkColorGetA(c0), paintAlpha); in Build32bitCache() 361 uint32_t a1 = SkMulDiv255Round(SkColorGetA(c1), paintAlpha); in Build32bitCache() 376 r0 = SkMulDiv255Round(r0, a0); in Build32bitCache() 377 g0 = SkMulDiv255Round(g0, a0); in Build32bitCache() 378 b0 = SkMulDiv255Round(b0, a0); in Build32bitCache() 380 r1 = SkMulDiv255Round(r1, a1); in Build32bitCache() 381 g1 = SkMulDiv255Round(g1, a1); in Build32bitCache() 382 b1 = SkMulDiv255Round(b1, a1); in Build32bitCache()
|
/external/skia/tests/ |
D | SrcOverTest.cpp | 24 return alpha + SkMulDiv255Round(dst, 255 - alpha); in test_srcover2()
|
D | MathTest.cpp | 80 unsigned prod1 = SkMulDiv255Round(a, b); in test_muldivround() 92 unsigned prod1 = SkMulDiv255Round(a, b); in test_muldivround() 339 int iround = SkMulDiv255Round(a, b); in test_muldiv255()
|
/external/chromium_org/third_party/skia/tests/ |
D | SrcOverTest.cpp | 24 return alpha + SkMulDiv255Round(dst, 255 - alpha); in test_srcover2()
|
D | MathTest.cpp | 80 unsigned prod1 = SkMulDiv255Round(a, b); in test_muldivround() 92 unsigned prod1 = SkMulDiv255Round(a, b); in test_muldivround() 339 int iround = SkMulDiv255Round(a, b); in test_muldiv255()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkMath.h | 200 static inline U8CPU SkMulDiv255Round(U16CPU a, U16CPU b) { in SkMulDiv255Round() function
|
D | SkColorPriv.h | 520 r = SkMulDiv255Round(r, a); in SkPremultiplyARGBInline() 521 g = SkMulDiv255Round(g, a); in SkPremultiplyARGBInline() 522 b = SkMulDiv255Round(b, a); in SkPremultiplyARGBInline()
|
/external/skia/include/core/ |
D | SkMath.h | 200 static inline U8CPU SkMulDiv255Round(U16CPU a, U16CPU b) { in SkMulDiv255Round() function
|
D | SkColorPriv.h | 520 r = SkMulDiv255Round(r, a); in SkPremultiplyARGBInline() 521 g = SkMulDiv255Round(g, a); in SkPremultiplyARGBInline() 522 b = SkMulDiv255Round(b, a); in SkPremultiplyARGBInline()
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 354 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]); in convert_CMYK_to_RGB() 355 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]); in convert_CMYK_to_RGB() 356 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]); in convert_CMYK_to_RGB()
|
/external/chromium_org/third_party/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 354 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]); in convert_CMYK_to_RGB() 355 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]); in convert_CMYK_to_RGB() 356 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]); in convert_CMYK_to_RGB()
|
/external/skia/tools/ |
D | filtermain.cpp | 104 int newA = SkMulDiv255Round(a0, a1); in apply_0() 496 int newA = SkMulDiv255Round(a0, a1); in apply_7()
|
/external/chromium_org/third_party/skia/tools/ |
D | filtermain.cpp | 104 int newA = SkMulDiv255Round(a0, a1); in apply_0() 496 int newA = SkMulDiv255Round(a0, a1); in apply_7()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 450 *dst = SkToU8(s + d - SkMulDiv255Round(s, d)); in clamp_with_orig() 799 unsigned int maskval = SkMulDiv255Round(horizontalScanline[x], verticalScanline[y]); in BlurRect()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkBlurMask.cpp | 450 *dst = SkToU8(s + d - SkMulDiv255Round(s, d)); in clamp_with_orig() 799 unsigned int maskval = SkMulDiv255Round(horizontalScanline[x], verticalScanline[y]); in BlurRect()
|
/external/chromium_org/third_party/skia/src/opts/ |
D | SkBlitRow_opts_mips_dsp.cpp | 755 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); in S32A_D565_Blend_mips_dsp()
|