/external/skia/src/core/ |
D | SkBlitRow_D32.cpp | 32 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 39 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 41 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 46 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32()
|
D | SkBlitter_ARGB32.cpp | 98 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); in blitAntiH() 148 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ(dst[0], dst_scale); } \ 149 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ(dst[1], dst_scale); } \ 150 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ(dst[2], dst_scale); } \ 151 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ(dst[3], dst_scale); } \ 152 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ(dst[4], dst_scale); } \ 153 if (mask & 0x04) { dst[5] = sc + SkAlphaMulQ(dst[5], dst_scale); } \ 154 if (mask & 0x02) { dst[6] = sc + SkAlphaMulQ(dst[6], dst_scale); } \ 155 if (mask & 0x01) { dst[7] = sc + SkAlphaMulQ(dst[7], dst_scale); } \ 227 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)); in blitV() [all …]
|
D | SkBitmapProcState_procs.h | 108 #define RETURNDST(src) SkAlphaMulQ(src, alphaScale) 134 *(dst) = SkAlphaMulQ(SkExpanded_565_To_PMColor(tmp), alphaScale); \ 143 #define RETURNDST(src) SkAlphaMulQ(SkPixel16ToPixel32(src), alphaScale) 173 #define RETURNDST(src) SkAlphaMulQ(table[src], alphaScale) 196 *(dst) = SkAlphaMulQ(tmp, alphaScale); \ 205 #define RETURNDST(src) SkAlphaMulQ(SkPixel4444ToPixel32(src), alphaScale) 215 *(dst) = SkAlphaMulQ(pmColor, SkAlpha255To256(tmp)); \ 223 #define RETURNDST(src) SkAlphaMulQ(pmColor, SkAlpha255To256(src)) 234 *(dst) = SkAlphaMulQ(color, alphaScale); \ 242 #define RETURNDST(src) SkAlphaMulQ(SkPackARGB32(0xFF, src, src, src), alphaScale)
|
D | SkBlitMask_D32.cpp | 46 … *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Opaque() 66 *device = (aa << SK_A32_SHIFT) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Black() 254 dst[i] = SkAlphaMulQ(src[i], m) + SkAlphaMulQ(dst[i], 256 - m); in A8_RowProc_Opaque()
|
D | SkComposeShader.cpp | 164 result[i] = SkAlphaMulQ(SkPMSrcOver(tmp[i], result[i]), in shadeSpan() 186 result[i] = SkAlphaMulQ(result[i], scale); in shadeSpan()
|
D | SkXfermode.cpp | 88 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in srcover_modeproc() 92 return src + SkAlphaMulQ(dst, 256 - SkGetPackedA32(src)); in srcover_modeproc() 100 return dst + SkAlphaMulQ(src, 256 - SkGetPackedA32(dst)); in dstover_modeproc() 105 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); in srcin_modeproc() 110 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); in dstin_modeproc() 115 return SkAlphaMulQ(src, SkAlpha255To256(255 - SkGetPackedA32(dst))); in srcout_modeproc() 120 return SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in dstout_modeproc() 1043 dst[i] = SkAlphaMulQ(dst[i], SkAlpha255To256(255 - a)); in xfer32() 1171 *dst = SkAlphaMulQ(*dst, SkAlpha255To256(a)); in xfer32() 1473 *dst = SkAlphaMulQ(*dst, SkAlpha255To256(255 - a)); in xfer32()
|
D | SkDraw.cpp | 2007 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + in shadeSpan() 2008 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan() 2009 SkAlphaMulQ(fColors[2], scale2); in shadeSpan()
|
D | SkBitmapProcState.cpp | 752 color = SkAlphaMulQ(*row0, s.fAlphaScale); in S32_D32_constX_shaderproc()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts_arm_neon.cpp | 32 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Black_neon() 92 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) in D32_A8_Opaque_Color_neon() 93 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Opaque_Color_neon()
|
D | SkBlitRow_opts_SSE2.cpp | 33 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_SSE2() 62 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_SSE2()
|
/external/skia/src/effects/ |
D | SkTransparentShader.cpp | 63 span[i] = SkAlphaMulQ(src[i], scale); in shadeSpan()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 538 static SK_ALWAYS_INLINE uint32_t SkAlphaMulQ(uint32_t c, unsigned scale) { in SkAlphaMulQ() function 547 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver() 556 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale); in SkBlendARGB32()
|
/external/skia/src/gpu/ |
D | GrAARectRenderer.cpp | 286 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generateAAFillRectGeometry() 747 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generateAAStrokeRectGeometry()
|
D | GrAAConvexPathRenderer.cpp | 720 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in extract_verts()
|
/external/skia/bench/ |
D | MathBench.cpp | 186 dst[i] = SkAlphaMulQ(src[i], (uint8_t)i); in performITest()
|