/external/skia/src/core/ |
D | SkBlitRow_D32.cpp | 33 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 40 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 42 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 47 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32()
|
D | SkBitmapProcState_procs.h | 105 #define RETURNDST(src) SkAlphaMulQ(src, alphaScale) 130 *(dst) = SkAlphaMulQ(SkExpanded_565_To_PMColor(tmp), alphaScale); \ 138 #define RETURNDST(src) SkAlphaMulQ(SkPixel16ToPixel32(src), alphaScale) 166 #define RETURNDST(src) SkAlphaMulQ(table[src], alphaScale) 188 *(dst) = SkAlphaMulQ(tmp, alphaScale); \ 196 #define RETURNDST(src) SkAlphaMulQ(SkPixel4444ToPixel32(src), alphaScale) 206 *(dst) = SkAlphaMulQ(pmColor, SkAlpha255To256(tmp)); \ 213 #define RETURNDST(src) SkAlphaMulQ(pmColor, SkAlpha255To256(src)) 224 *(dst) = SkAlphaMulQ(color, alphaScale); \ 231 #define RETURNDST(src) SkAlphaMulQ(SkPackARGB32(0xFF, src, src, src), alphaScale)
|
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 | SkComposeShader.cpp | 160 result[i] = SkAlphaMulQ(SkPMSrcOver(tmp[i], result[i]), in shadeSpan() 182 result[i] = SkAlphaMulQ(result[i], scale); in shadeSpan()
|
D | SkBlitMask_D32.cpp | 167 dst[i] = SkAlphaMulQ(src[i], m) + SkAlphaMulQ(dst[i], 256 - m); in A8_RowProc_Opaque()
|
D | SkXfermode.cpp | 374 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in srcover_modeproc() 378 return src + SkAlphaMulQ(dst, 256 - SkGetPackedA32(src)); in srcover_modeproc() 386 return dst + SkAlphaMulQ(src, 256 - SkGetPackedA32(dst)); in dstover_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()
|
D | SkDraw.cpp | 1805 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + in shadeSpan() 1806 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan() 1807 SkAlphaMulQ(fColors[2], scale2); in shadeSpan()
|
D | SkBitmapProcState.cpp | 569 color = SkAlphaMulQ(*row0, s.fAlphaScale); in S32_D32_constX_shaderproc()
|
/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_SSE2.cpp | 34 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_SSE2() 63 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_SSE2()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 559 static SK_ALWAYS_INLINE uint32_t SkAlphaMulQ(uint32_t c, unsigned scale) { in SkAlphaMulQ() function 568 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver() 577 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale); in SkBlendARGB32()
|
/external/skia/src/gpu/batches/ |
D | GrAALinearizingConvexPathRenderer.cpp | 82 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in extract_verts()
|
D | GrAAFillRectBatch.cpp | 171 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generate_aa_fill_rect_geometry()
|
D | GrAAStrokeRectBatch.cpp | 492 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generateAAStrokeRectGeometry()
|
D | GrAAConvexPathRenderer.cpp | 709 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in extract_verts()
|
/external/skia/bench/ |
D | MathBench.cpp | 183 dst[i] = SkAlphaMulQ(src[i], (uint8_t)i); in performITest()
|
/external/skia/src/effects/gradients/ |
D | SkLinearGradient.cpp | 170 pmc = SkAlphaMulQ(pmc, alphaScale); in LinearGradientContext()
|