/external/chromium_org/third_party/WebKit/Source/core/platform/image-encoders/skia/ |
WEBPImageEncoder.cpp | 63 *data++ = SkMulDiv255Round(pixels[0], alpha); 64 *data++ = SkMulDiv255Round(pixels[1], alpha); 65 *data++ = SkMulDiv255Round(pixels[2], alpha);
|
JPEGImageEncoder.cpp | 98 *output++ = SkMulDiv255Round(pixels[0], alpha); 99 *output++ = SkMulDiv255Round(pixels[1], alpha); 100 *output++ = SkMulDiv255Round(pixels[2], alpha);
|
/external/skia/tests/ |
ColorTest.cpp | 20 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); 34 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); 48 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); 66 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha);
|
SrcOverTest.cpp | 24 return alpha + SkMulDiv255Round(dst, 255 - alpha);
|
MathTest.cpp | 71 // test that SkMul16ShiftRound and SkMulDiv255Round return the same result 79 unsigned prod1 = SkMulDiv255Round(a, b); 91 unsigned prod1 = SkMulDiv255Round(a, b); 369 int iround = SkMulDiv255Round(a, b);
|
/external/chromium_org/third_party/skia/src/core/ |
SkConfig8888.cpp | 72 r = SkMulDiv255Round(r, a); 73 g = SkMulDiv255Round(g, a); 74 b = SkMulDiv255Round(b, a);
|
SkShader.cpp | 269 r = SkMulDiv255Round(r, a); 270 g = SkMulDiv255Round(g, a); 271 b = SkMulDiv255Round(b, a);
|
SkAAClip.cpp | [all...] |
SkBlitRow_D16.cpp | 77 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha);
|
/external/skia/src/core/ |
SkConfig8888.cpp | 72 r = SkMulDiv255Round(r, a); 73 g = SkMulDiv255Round(g, a); 74 b = SkMulDiv255Round(b, a);
|
SkShader.cpp | 269 r = SkMulDiv255Round(r, a); 270 g = SkMulDiv255Round(g, a); 271 b = SkMulDiv255Round(b, a);
|
SkAAClip.cpp | [all...] |
SkBlitRow_D16.cpp | 77 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha);
|
/external/chromium_org/third_party/skia/include/core/ |
SkMath.h | 169 static inline U8CPU SkMulDiv255Round(U16CPU a, U16CPU b) {
|
SkColorPriv.h | 326 r = SkMulDiv255Round(r, a); 327 g = SkMulDiv255Round(g, a); 328 b = SkMulDiv255Round(b, a);
|
/external/skia/include/core/ |
SkMath.h | 169 static inline U8CPU SkMulDiv255Round(U16CPU a, U16CPU b) {
|
SkColorPriv.h | 326 r = SkMulDiv255Round(r, a); 327 g = SkMulDiv255Round(g, a); 328 b = SkMulDiv255Round(b, a);
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkGradientShader.cpp | 332 uint32_t a0 = SkMulDiv255Round(SkColorGetA(c0), paintAlpha); 333 uint32_t a1 = SkMulDiv255Round(SkColorGetA(c1), paintAlpha); 348 r0 = SkMulDiv255Round(r0, a0); 349 g0 = SkMulDiv255Round(g0, a0); 350 b0 = SkMulDiv255Round(b0, a0); 352 r1 = SkMulDiv255Round(r1, a1); 353 g1 = SkMulDiv255Round(g1, a1); 354 b1 = SkMulDiv255Round(b1, a1); [all...] |
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 332 uint32_t a0 = SkMulDiv255Round(SkColorGetA(c0), paintAlpha); 333 uint32_t a1 = SkMulDiv255Round(SkColorGetA(c1), paintAlpha); 348 r0 = SkMulDiv255Round(r0, a0); 349 g0 = SkMulDiv255Round(g0, a0); 350 b0 = SkMulDiv255Round(b0, a0); 352 r1 = SkMulDiv255Round(r1, a1); 353 g1 = SkMulDiv255Round(g1, a1); 354 b1 = SkMulDiv255Round(b1, a1); [all...] |
/external/chromium_org/cc/output/ |
filter_operation.cc | 90 int blended_premultiplied = BlendInts(SkMulDiv255Round(from, from_alpha), 91 SkMulDiv255Round(to, to_alpha),
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libjpeg.cpp | 313 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]); 314 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]); 315 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]); [all...] |
/external/skia/src/images/ |
SkImageDecoder_libjpeg.cpp | 313 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]); 314 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]); 315 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrDrawState.cpp | 238 color |= (SkMulDiv255Round(a, b) << (c * 8));
|
/external/skia/src/gpu/ |
GrDrawState.cpp | 238 color |= (SkMulDiv255Round(a, b) << (c * 8));
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBlurMask.cpp | 442 *dst = SkToU8(s + d - SkMulDiv255Round(s, d)); 795 unsigned int maskval = SkMulDiv255Round(horizontalScanline[x], profile_y); [all...] |