/external/skia/src/core/ |
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() 183 int dst_scale = SkAlpha255To256(255 - SkAlphaMul(sa, src_scale)); in S32A_D565_Blend_Dither() 217 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in Color32A_D565()
|
D | SkBlitter_A8.cpp | 40 unsigned scale = 256 - SkAlpha255To256(fSrcA); in blitH() 69 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); in blitAntiH() 132 SkAlpha255To256(255 - fSrcA)); in blitMask() 161 sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); in blitMask() 165 int scale = 256 - SkAlpha255To256(sa); in blitMask() 180 unsigned sa = SkAlphaMul(fSrcA, SkAlpha255To256(alpha)); in blitV() 190 unsigned scale = 256 - SkAlpha255To256(sa); in blitV() 217 unsigned scale = 256 - SkAlpha255To256(srcA); in blitRect() 267 unsigned scale = 256 - SkAlpha255To256(srcA); in blitH() 278 int src_scale = SkAlpha255To256(aa); in aa_blend8()
|
D | SkDither.h | 76 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); in SkDitherARGB32For565() 129 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); in SkDitherARGB32To565() 146 dither = SkAlphaMul(dither, SkAlpha255To256(a)); in SkDitherARGB32To4444() 163 dither = SkAlphaMul(dither, SkAlpha255To256(a)); in SkDitherARGB32To4444()
|
D | SkBlitter_RGB16.cpp | 221 *device = SkAlphaMulRGB16(*device, SkAlpha255To256(255 - aa)); in blitMask() 249 aa = SkAlpha255To256(255 - aa); in blitAntiH() 323 unsigned scale5 = SkAlpha255To256(aa) >> 3; in blitAntiH() 446 SkAlpha255To256(*alpha++) >> 3); in blitMask() 461 SkAlpha255To256(*alpha++) >> 3); in blitMask() 475 unsigned scale5 = SkAlpha255To256(alpha) >> 3; in blitV() 520 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter() 587 unsigned scale5 = SkAlpha255To256(aa) * scale >> (8 + 3); in blitAntiH() 639 unsigned scale = SkAlpha255To256(aa) * scale256 >> (8 + 3); in blitMask() 654 unsigned scale5 = SkAlpha255To256(alpha) * fScale >> (8 + 3); in blitV()
|
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 | SkBlitter_ARGB32.cpp | 49 unsigned scale = SkAlpha255To256(fSrcA); in SkARGB32_Blitter() 98 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); in blitAntiH() 178 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA)); in blitMask() 227 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)); in blitV() 316 int aa256 = SkAlpha255To256(aa); in blend_srcmode()
|
D | SkBitmapProcState_procs.h | 206 *(dst) = SkAlphaMulQ(pmColor, SkAlpha255To256(tmp)); \ 213 #define RETURNDST(src) SkAlphaMulQ(pmColor, SkAlpha255To256(src))
|
D | SkBlitRow_D32.cpp | 28 unsigned src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32()
|
D | SkXfermode.cpp | 374 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in srcover_modeproc() 391 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); in srcin_modeproc() 396 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); in dstin_modeproc() 401 return SkAlphaMulQ(src, SkAlpha255To256(255 - SkGetPackedA32(dst))); in srcout_modeproc() 406 return SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in dstout_modeproc() 1076 A = SkAlphaBlend(A, dstA, SkAlpha255To256(a)); in xferA8() 1233 A = SkAlphaBlend(A, dstA, SkAlpha255To256(a)); in xferA8()
|
D | SkColor.cpp | 85 unsigned v_scale = SkAlpha255To256(v); in SkHSVToColor()
|
D | SkComposeShader.cpp | 138 unsigned scale = SkAlpha255To256(this->getPaintAlpha()); in shadeSpan()
|
D | SkShader.cpp | 284 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext()
|
D | SkBlitter.cpp | 667 unsigned mul = SkAlpha255To256(mulp[i]); in shadeSpan() 687 unsigned mul = SkAlpha255To256(mulp[i]); in shadeSpan()
|
D | SkBitmapProcState.cpp | 196 fAlphaScale = SkAlpha255To256(paint.getAlpha()); in chooseProcs()
|
/external/skia/src/opts/ |
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_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() 1162 uint16_t src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32_neon() 1228 unsigned alpha256 = SkAlpha255To256(alpha); in S32A_Blend_BlitRow32_neon() 1421 unsigned alpha = SkAlpha255To256(a); in S32A_D565_Opaque_Dither_neon() 1433 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); in S32A_D565_Opaque_Dither_neon()
|
D | SkBlitRow_opts_SSE2.cpp | 28 uint32_t src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32_SSE2() 244 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in Color32A_D565_SSE2() 516 srcA = SkAlpha255To256(srcA); in SkBlitLCD16Row_SSE2() 948 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither_SSE2() 959 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); in S32A_D565_Opaque_Dither_SSE2() 1103 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither_SSE2() 1114 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); in S32A_D565_Opaque_Dither_SSE2()
|
D | SkBlitRow_opts_mips_dsp.cpp | 245 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither_mips_dsp() 256 dst_expanded = dst_expanded * (SkAlpha255To256(255 - a) >> 3); in S32A_D565_Opaque_Dither_mips_dsp()
|
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 | 233 unsigned alpha = SkAlpha255To256(aa); in SkBlendARGB32_SSE2()
|
/external/skia/tests/ |
D | SrcOverTest.cpp | 14 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 442 unsigned scale = SkAlpha255To256(srcWeight); in SkFourByteInterp() 568 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver() 574 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32() 575 unsigned dst_scale = SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale)); in SkBlendARGB32() 1041 srcA = SkAlpha255To256(srcA); in SkBlitLCD16Row()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 428 *dst = SkToU8(SkAlphaMul(*blur, SkAlpha255To256(*src))); in merge_src_with_blur() 458 *dst = SkToU8(SkAlphaMul(*dst, SkAlpha255To256(255 - *src))); in clamp_with_orig()
|