Home
last modified time | relevance | path

Searched refs:SkAlphaMulQ (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkBlitter_ARGB32.cpp726 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); in blitAntiH()
776 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ(dst[0], dst_scale); } \
777 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ(dst[1], dst_scale); } \
778 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ(dst[2], dst_scale); } \
779 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ(dst[3], dst_scale); } \
780 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ(dst[4], dst_scale); } \
781 if (mask & 0x04) { dst[5] = sc + SkAlphaMulQ(dst[5], dst_scale); } \
782 if (mask & 0x02) { dst[6] = sc + SkAlphaMulQ(dst[6], dst_scale); } \
783 if (mask & 0x01) { dst[7] = sc + SkAlphaMulQ(dst[7], dst_scale); } \
865 color = SkAlphaMulQ(color, SkAlpha255To256(alpha)); in blitV()
[all …]
DSkBitmapProcState.cpp92 SkOpts::memset32(colors, SkAlphaMulQ(row[0], s.fAlphaScale), count); in S32_alpha_D32_nofilter_DX()
106 *colors++ = SkAlphaMulQ(p0, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
107 *colors++ = SkAlphaMulQ(p1, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
108 *colors++ = SkAlphaMulQ(p2, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
109 *colors++ = SkAlphaMulQ(p3, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
117 *colors++ = SkAlphaMulQ(row[*x++], s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
504 color = SkAlphaMulQ(*row0, s.fAlphaScale); in S32_D32_constX_shaderproc()
/external/skia/src/opts/
DSkBlitMask_opts.h102 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) in D32_A8_Opaque_Color_neon()
103 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Opaque_Color_neon()
156 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in blit_mask_d32_a8_black()
/external/skia/include/core/
DSkColorPriv.h142 static SK_ALWAYS_INLINE uint32_t SkAlphaMulQ(uint32_t c, unsigned scale) { in SkAlphaMulQ() function
/external/skia/bench/
DMathBench.cpp175 dst[i] = SkAlphaMulQ(src[i], (uint8_t)i); in performITest()