/external/skia/src/core/ |
D | SkBlitter_A8.cpp | 39 unsigned scale = 256 - SkAlpha255To256(fSrcA); in blitH() 68 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); in blitAntiH() 131 SkAlpha255To256(255 - fSrcA)); in blitMask() 160 sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); in blitMask() 164 int scale = 256 - SkAlpha255To256(sa); in blitMask() 179 unsigned sa = SkAlphaMul(fSrcA, SkAlpha255To256(alpha)); in blitV() 189 unsigned scale = 256 - SkAlpha255To256(sa); in blitV() 216 unsigned scale = 256 - SkAlpha255To256(srcA); in blitRect() 263 unsigned scale = 256 - SkAlpha255To256(srcA); in blitH() 274 int src_scale = SkAlpha255To256(aa); in aa_blend8()
|
D | SkBlitRow_D16.cpp | 35 int scale = SkAlpha255To256(alpha); in S32_D565_Blend() 111 int scale = SkAlpha255To256(alpha); in S32_D565_Blend_Dither() 147 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither() 158 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); in S32A_D565_Opaque_Dither() 174 int src_scale = SkAlpha255To256(alpha); in S32A_D565_Blend_Dither() 217 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in Color32A_D565()
|
D | SkDither.h | 75 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); in SkDitherARGB32For565() 128 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); in SkDitherARGB32To565() 145 dither = SkAlphaMul(dither, SkAlpha255To256(a)); in SkDitherARGB32To4444() 162 dither = SkAlphaMul(dither, SkAlpha255To256(a)); in SkDitherARGB32To4444()
|
D | SkBlitter_RGB16.cpp | 216 *device = SkAlphaMulRGB16(*device, SkAlpha255To256(255 - aa)); in blitMask() 244 aa = SkAlpha255To256(255 - aa); in blitAntiH() 318 unsigned scale5 = SkAlpha255To256(aa) >> 3; in blitAntiH() 439 SkAlpha255To256(*alpha++) >> 3); in blitMask() 452 SkAlpha255To256(*alpha++) >> 3); in blitMask() 466 unsigned scale5 = SkAlpha255To256(alpha) >> 3; in blitV() 511 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter() 578 unsigned scale5 = SkAlpha255To256(aa) * scale >> (8 + 3); in blitAntiH() 630 unsigned scale = SkAlpha255To256(aa) * scale256 >> (8 + 3); in blitMask() 645 unsigned scale5 = SkAlpha255To256(alpha) * fScale >> (8 + 3); in blitV()
|
D | SkBlitter_ARGB32.cpp | 49 unsigned scale = SkAlpha255To256(fSrcA); in SkARGB32_Blitter() 98 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); in blitAntiH() 179 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA)); in blitMask() 237 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)); in blitV() 240 unsigned dst_scale = SkAlpha255To256(255 - SkGetPackedA32(color)); in blitV() 326 int aa256 = SkAlpha255To256(aa); in blend_srcmode()
|
D | SkSpriteBlitter_RGB16.cpp | 81 #define SkSPRITE_PREAMBLE(srcBM, x, y) int scale = SkAlpha255To256(fSrcAlpha); 154 … SkPMColor* ctable = srcBM.ctable()->readColors(); unsigned src_scale = SkAlpha255To256(fSrcAlpha); 246 …nt16_t* ctable = srcBM.ctable()->read16BitCache(); unsigned src_scale = SkAlpha255To256(fSrcAlpha);
|
D | SkBlitRow_D32.cpp | 28 unsigned src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32()
|
D | SkBitmapProcState_procs.h | 206 *(dst) = SkAlphaMulQ(pmColor, SkAlpha255To256(tmp)); \ 213 #define RETURNDST(src) SkAlphaMulQ(pmColor, SkAlpha255To256(src))
|
D | SkColorShader.cpp | 43 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext() 161 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in Color4Context()
|
D | SkXfermode.cpp | 381 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in srcover_modeproc() 398 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); in srcin_modeproc() 403 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); in dstin_modeproc() 408 return SkAlphaMulQ(src, SkAlpha255To256(255 - SkGetPackedA32(dst))); in srcout_modeproc() 413 return SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in dstout_modeproc() 1084 A = SkAlphaBlend(A, dstA, SkAlpha255To256(a)); in xferA8() 1241 A = SkAlphaBlend(A, dstA, SkAlpha255To256(a)); in xferA8()
|
D | SkComposeShader.cpp | 124 unsigned scale = SkAlpha255To256(this->getPaintAlpha()); in shadeSpan()
|
D | SkBlitter.cpp | 652 unsigned mul = SkAlpha255To256(mulp[i]); in shadeSpan() 672 unsigned mul = SkAlpha255To256(mulp[i]); in shadeSpan()
|
D | SkBitmapProcState.cpp | 205 fAlphaScale = SkAlpha255To256(SkColorGetA(fPaintColor)); in chooseProcs()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_arm_neon.cpp | 113 vscale = vdupq_n_u16(SkAlpha255To256(alpha)); in S32_D565_Blend_neon() 177 int scale = SkAlpha255To256(alpha); in S32_D565_Blend_neon() 500 scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in Color32A_D565_neon() 746 int scale = SkAlpha255To256(alpha); in S32_D565_Blend_Dither_neon() 851 int scale = SkAlpha255To256(alpha); in S32_D565_Blend_Dither_neon() 886 uint16_t src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32_neon() 954 unsigned alpha256 = SkAlpha255To256(alpha); in S32A_Blend_BlitRow32_neon() 1152 unsigned alpha = SkAlpha255To256(a); in S32A_D565_Opaque_Dither_neon() 1164 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); in S32A_D565_Opaque_Dither_neon()
|
D | SkBlitMask_opts.h | 72 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) in D32_A8_Opaque_Color_neon() 73 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Opaque_Color_neon() 125 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in blit_mask_d32_a8_black()
|
D | SkBlitRow_opts_SSE2.cpp | 28 uint32_t src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32_SSE2() 112 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in Color32A_D565_SSE2() 384 srcA = SkAlpha255To256(srcA); in SkBlitLCD16Row_SSE2() 816 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither_SSE2() 827 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); in S32A_D565_Opaque_Dither_SSE2() 971 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither_SSE2() 982 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); in S32A_D565_Opaque_Dither_SSE2()
|
D | SkColor_opts_neon.h | 117 unsigned scale = SkAlpha255To256(srcWeight); in SkFourByteInterp_neon()
|
D | SkBlitMask_opts_arm_neon.cpp | 87 colA = SkAlpha255To256(colA); in SkBlitLCD16Row_neon()
|
D | SkColor_opts_SSE2.h | 251 unsigned alpha = SkAlpha255To256(aa); in SkBlendARGB32_SSE2()
|
/external/skia/tests/ |
D | SrcOverTest.cpp | 13 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha)); in test_srcover0()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 182 static inline unsigned SkAlpha255To256(U8CPU alpha) { in SkAlpha255To256() function 450 unsigned scale = SkAlpha255To256(srcWeight); in SkFourByteInterp() 576 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver() 589 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32() 1064 srcA = SkAlpha255To256(srcA); in SkBlitLCD16Row()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 427 *dst = SkToU8(SkAlphaMul(*blur, SkAlpha255To256(*src))); in merge_src_with_blur() 457 *dst = SkToU8(SkAlphaMul(*dst, SkAlpha255To256(255 - *src))); in clamp_with_orig()
|
/external/skia/src/gpu/ |
D | GrTessellator.cpp | 205 d->fColor = SkAlphaMulQ(aaParams->fColor, SkAlpha255To256(v->fAlpha)); in emit_vertex()
|