Home
last modified time | relevance | path

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

/third_party/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 sk_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()
503 color = SkAlphaMulQ(*row0, s.fAlphaScale); in S32_D32_constX_shaderproc()
DSkBlitter_RGB565.cpp35 dst[i] = SkSrcOver32To16(SkAlphaMulQ(src[i], scale), dst[i]); in D16_S32X_src_coverage()
60 dst[i] = SkSrcOver32To16(SkAlphaMulQ(src[i], scale), dst[i]); in D16_S32A_srcover_coverage()
/third_party/skia/include/core/
DSkColorPriv.h140 static SK_ALWAYS_INLINE uint32_t SkAlphaMulQ(uint32_t c, unsigned scale) { in SkAlphaMulQ() function
149 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver()
/third_party/skia/src/opts/
DSkBlitMask_opts.h96 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) in D32_A8_Opaque_Color_neon()
97 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in D32_A8_Opaque_Color_neon()
149 + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in blit_mask_d32_a8_black()
/third_party/skia/bench/
DMathBench.cpp175 dst[i] = SkAlphaMulQ(src[i], (uint8_t)i); in performITest()