/external/skia/src/core/ |
SkBlitRow_D16.cpp | 35 int scale = SkAlpha255To256(alpha); 111 int scale = SkAlpha255To256(alpha); 147 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); 158 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); 174 int src_scale = SkAlpha255To256(alpha); 183 int dst_scale = SkAlpha255To256(255 - SkAlphaMul(sa, src_scale)); 217 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3;
|
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));
|
SkBlitter_A8.cpp | 40 unsigned scale = 256 - SkAlpha255To256(fSrcA); 69 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); 132 SkAlpha255To256(255 - fSrcA)); 161 sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); 165 int scale = 256 - SkAlpha255To256(sa); 180 unsigned sa = SkAlphaMul(fSrcA, SkAlpha255To256(alpha)); 190 unsigned scale = 256 - SkAlpha255To256(sa); 217 unsigned scale = 256 - SkAlpha255To256(srcA); 267 unsigned scale = 256 - SkAlpha255To256(srcA); 278 int src_scale = SkAlpha255To256(aa) [all...] |
SkBlitter_RGB16.cpp | 221 *device = SkAlphaMulRGB16(*device, SkAlpha255To256(255 - aa)); 249 aa = SkAlpha255To256(255 - aa); 323 unsigned scale5 = SkAlpha255To256(aa) >> 3; 446 SkAlpha255To256(*alpha++) >> 3); 461 SkAlpha255To256(*alpha++) >> 3); 475 unsigned scale5 = SkAlpha255To256(alpha) >> 3; 520 fScale = SkAlpha255To256(SkColorGetA(color)); 587 unsigned scale5 = SkAlpha255To256(aa) * scale >> (8 + 3); 639 unsigned scale = SkAlpha255To256(aa) * scale256 >> (8 + 3); 654 unsigned scale5 = SkAlpha255To256(alpha) * fScale >> (8 + 3) [all...] |
SkSpriteBlitter_RGB16.cpp | 81 #define SkSPRITE_PREAMBLE(srcBM, x, y) int scale = SkAlpha255To256(fSrcAlpha); 154 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.ctable()->readColors(); unsigned src_scale = SkAlpha255To256(fSrcAlpha); 246 #define SkSPRITE_PREAMBLE(srcBM, x, y) const uint16_t* ctable = srcBM.ctable()->read16BitCache(); unsigned src_scale = SkAlpha255To256(fSrcAlpha);
|
SkBlitRow_D32.cpp | 28 unsigned src_scale = SkAlpha255To256(alpha);
|
SkBlitter_ARGB32.cpp | 49 unsigned scale = SkAlpha255To256(fSrcA); 98 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); 178 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA)); 227 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)); 316 int aa256 = SkAlpha255To256(aa);
|
SkBitmapProcState_procs.h | 206 *(dst) = SkAlphaMulQ(pmColor, SkAlpha255To256(tmp)); \ 213 #define RETURNDST(src) SkAlphaMulQ(pmColor, SkAlpha255To256(src))
|
SkColor.cpp | 85 unsigned v_scale = SkAlpha255To256(v);
|
SkComposeShader.cpp | 138 unsigned scale = SkAlpha255To256(this->getPaintAlpha());
|
SkShader.cpp | 284 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha()));
|
SkXfermode.cpp | 374 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); 391 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); 396 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); 401 return SkAlphaMulQ(src, SkAlpha255To256(255 - SkGetPackedA32(dst))); 406 return SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); [all...] |
SkBlitter.cpp | 667 unsigned mul = SkAlpha255To256(mulp[i]); 687 unsigned mul = SkAlpha255To256(mulp[i]);
|
SkBitmapProcState.cpp | 196 fAlphaScale = SkAlpha255To256(paint.getAlpha());
|
/external/skia/tests/ |
SrcOverTest.cpp | 12 // our std SkAlpha255To256 14 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha));
|
/external/skia/src/opts/ |
SkBlitMask_opts.h | 72 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) 73 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); 125 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa));
|
SkBlitRow_opts_arm_neon.cpp | 113 vscale = vdupq_n_u16(SkAlpha255To256(alpha)); 177 int scale = SkAlpha255To256(alpha); 500 scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; 746 int scale = SkAlpha255To256(alpha); [all...] |
SkColor_opts_neon.h | 117 unsigned scale = SkAlpha255To256(srcWeight);
|
SkBlitRow_opts_SSE2.cpp | 28 uint32_t src_scale = SkAlpha255To256(alpha); 244 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; 516 srcA = SkAlpha255To256(srcA); [all...] |
SkBlitRow_opts_mips_dsp.cpp | 245 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); 256 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); [all...] |
SkBlitMask_opts_arm_neon.cpp | 87 colA = SkAlpha255To256(colA);
|
SkColor_opts_SSE2.h | 220 // SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale)) 233 unsigned alpha = SkAlpha255To256(aa); 235 // SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale))
|
/external/skia/include/core/ |
SkColorPriv.h | 182 static inline unsigned SkAlpha255To256(U8CPU alpha) { 191 * This is slightly more accurate than SkAlpha255To256. 442 unsigned scale = SkAlpha255To256(srcWeight); 568 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); 574 unsigned src_scale = SkAlpha255To256(aa); 575 unsigned dst_scale = SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale)); [all...] |
/external/skia/src/effects/ |
SkBlurMask.cpp | 428 *dst = SkToU8(SkAlphaMul(*blur, SkAlpha255To256(*src))); 458 *dst = SkToU8(SkAlphaMul(*dst, SkAlpha255To256(255 - *src))); [all...] |