/external/chromium_org/third_party/skia/src/effects/ |
SkTransparentShader.cpp | 82 SkAlphaMul(r, scale), 83 SkAlphaMul(g, scale), 84 SkAlphaMul(b, scale)); 97 span[i] = SkPackARGB32(SkAlphaMul(src[i], scale), 0, 0, 0);
|
SkAvoidXfermode.cpp | 112 d = SkAlphaMul(d, Accurate255To256(*aa++)); 161 d = SkAlphaMul(d, Accurate255To256(*aa++));
|
SkArithmeticMode.cpp | 188 r = SkAlphaMul(r, scale); 189 g = SkAlphaMul(g, scale); 190 b = SkAlphaMul(b, scale);
|
/external/skia/src/effects/ |
SkTransparentShader.cpp | 82 SkAlphaMul(r, scale), 83 SkAlphaMul(g, scale), 84 SkAlphaMul(b, scale)); 97 span[i] = SkPackARGB32(SkAlphaMul(src[i], scale), 0, 0, 0);
|
SkAvoidXfermode.cpp | 106 d = SkAlphaMul(d, Accurate255To256(*aa++)); 155 d = SkAlphaMul(d, Accurate255To256(*aa++));
|
SkArithmeticMode.cpp | 174 r = SkAlphaMul(r, scale); 175 g = SkAlphaMul(g, scale); 176 b = SkAlphaMul(b, scale);
|
/external/chromium_org/third_party/skia/tests/ |
SrcOverTest.cpp | 14 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha)); 19 return alpha + SkAlphaMul(dst, 256 - alpha);
|
/external/skia/tests/ |
SrcOverTest.cpp | 14 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha)); 19 return alpha + SkAlphaMul(dst, 256 - alpha);
|
/external/chromium_org/third_party/skia/src/core/ |
SkBlitter_A8.cpp | 45 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); 70 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); 74 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); 106 if (bw & 0x80) dst[0] = SkToU8(sa + SkAlphaMul(dst[0], dst_scale)); 107 if (bw & 0x40) dst[1] = SkToU8(sa + SkAlphaMul(dst[1], dst_scale)); 108 if (bw & 0x20) dst[2] = SkToU8(sa + SkAlphaMul(dst[2], dst_scale)); 109 if (bw & 0x10) dst[3] = SkToU8(sa + SkAlphaMul(dst[3], dst_scale)); 110 if (bw & 0x08) dst[4] = SkToU8(sa + SkAlphaMul(dst[4], dst_scale)); 111 if (bw & 0x04) dst[5] = SkToU8(sa + SkAlphaMul(dst[5], dst_scale)); 112 if (bw & 0x02) dst[6] = SkToU8(sa + SkAlphaMul(dst[6], dst_scale)) [all...] |
SkColor.cpp | 97 unsigned p = SkAlphaMul(255 - s, v_scale); 98 unsigned q = SkAlphaMul(255 - (s * f >> 16), v_scale); 99 unsigned t = SkAlphaMul(255 - (s * (SK_Fixed1 - f) >> 16), v_scale);
|
SkBlitRow_D16.cpp | 147 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); 183 int dst_scale = SkAlpha255To256(255 - SkAlphaMul(sa, src_scale));
|
SkBlitter.cpp | 658 r = SkFastMin32(SkAlphaMul(r, mul) + add, a); 659 g = SkFastMin32(SkAlphaMul(g, mul) + add, a); 660 b = SkFastMin32(SkAlphaMul(b, mul) + add, a); 679 SkFastMin32(SkAlphaMul(r, mul) + add, a), 680 SkFastMin32(SkAlphaMul(g, mul) + add, a), 681 SkFastMin32(SkAlphaMul(b, mul) + add, a)); [all...] |
SkBitmap.cpp | 693 r = SkAlphaMul(r, a); 694 g = SkAlphaMul(g, a); 695 b = SkAlphaMul(b, a); 716 r = SkAlphaMul(r, a); 717 g = SkAlphaMul(g, a); 718 b = SkAlphaMul(b, a); [all...] |
SkBlitMask_D32.cpp | 392 return dst + SkAlphaMul(src - SkAlphaMul(srcA, dst), mask);
|
/external/skia/src/core/ |
SkBlitter_A8.cpp | 45 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); 70 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); 74 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); 106 if (bw & 0x80) dst[0] = SkToU8(sa + SkAlphaMul(dst[0], dst_scale)); 107 if (bw & 0x40) dst[1] = SkToU8(sa + SkAlphaMul(dst[1], dst_scale)); 108 if (bw & 0x20) dst[2] = SkToU8(sa + SkAlphaMul(dst[2], dst_scale)); 109 if (bw & 0x10) dst[3] = SkToU8(sa + SkAlphaMul(dst[3], dst_scale)); 110 if (bw & 0x08) dst[4] = SkToU8(sa + SkAlphaMul(dst[4], dst_scale)); 111 if (bw & 0x04) dst[5] = SkToU8(sa + SkAlphaMul(dst[5], dst_scale)); 112 if (bw & 0x02) dst[6] = SkToU8(sa + SkAlphaMul(dst[6], dst_scale)) [all...] |
SkColor.cpp | 97 unsigned p = SkAlphaMul(255 - s, v_scale); 98 unsigned q = SkAlphaMul(255 - (s * f >> 16), v_scale); 99 unsigned t = SkAlphaMul(255 - (s * (SK_Fixed1 - f) >> 16), v_scale);
|
SkBlitRow_D16.cpp | 150 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); 186 int dst_scale = SkAlpha255To256(255 - SkAlphaMul(sa, src_scale));
|
SkBlitter.cpp | 658 r = SkFastMin32(SkAlphaMul(r, mul) + add, a); 659 g = SkFastMin32(SkAlphaMul(g, mul) + add, a); 660 b = SkFastMin32(SkAlphaMul(b, mul) + add, a); 679 SkFastMin32(SkAlphaMul(r, mul) + add, a), 680 SkFastMin32(SkAlphaMul(g, mul) + add, a), 681 SkFastMin32(SkAlphaMul(b, mul) + add, a)); [all...] |
SkBitmap.cpp | 757 r = SkAlphaMul(r, a); 758 g = SkAlphaMul(g, a); 759 b = SkAlphaMul(b, a); 780 r = SkAlphaMul(r, a); 781 g = SkAlphaMul(g, a); 782 b = SkAlphaMul(b, a); [all...] |
SkBlitMask_D32.cpp | 392 return dst + SkAlphaMul(src - SkAlphaMul(srcA, dst), mask);
|
/external/chromium_org/third_party/skia/include/core/ |
SkDither.h | 76 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); 129 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); 146 dither = SkAlphaMul(dither, SkAlpha255To256(a)); 163 dither = SkAlphaMul(dither, SkAlpha255To256(a));
|
/external/skia/include/core/ |
SkDither.h | 76 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); 129 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); 146 dither = SkAlphaMul(dither, SkAlpha255To256(a)); 163 dither = SkAlphaMul(dither, SkAlpha255To256(a));
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsContextState.h | 148 int a = SkAlphaMul(SkColorGetA(c), m_alpha);
|
/external/chromium_org/ui/gfx/ |
skbitmap_operations_unittest.cc | 194 int alpha_value = SkAlphaMul(SkColorGetA(src_pixel), 199 SkAlphaMul(SkColorGetR(src_pixel), alpha_value_256), 200 SkAlphaMul(SkColorGetG(src_pixel), alpha_value_256), 201 SkAlphaMul(SkColorGetB(src_pixel), alpha_value_256));
|
skbitmap_operations.cc | 120 int alpha = SkAlphaMul(SkColorGetA(rgb_pixel), 124 SkAlphaMul(SkColorGetR(rgb_pixel), alpha_256), 125 SkAlphaMul(SkColorGetG(rgb_pixel), alpha_256), 126 SkAlphaMul(SkColorGetB(rgb_pixel),
|