Home
last modified time | relevance | path

Searched refs:SkAlphaMulQ4 (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkBlitter_4444.cpp110 *dst = color + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
112 *dst = other + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
116 *dst = color + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
275 SkPMColor16 src = SkAlphaMulQ4(color, aa >> 4); in blitAntiH()
280 device[n] = src + SkAlphaMulQ4(device[n], dst_scale); in blitAntiH()
318 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ4(dst[0], dst_scale); } \
319 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ4(dst[1], dst_scale); } \
320 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ4(dst[2], dst_scale); } \
321 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ4(dst[3], dst_scale); } \
322 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ4(dst[4], dst_scale); } \
[all …]
/external/skia/include/core/
DSkColorPriv.h512 inline U16CPU SkAlphaMulQ4(U16CPU c, unsigned scale) in SkAlphaMulQ4() function
583 return SkSrcOver4444To16(SkAlphaMulQ4(src, scale16), dst); in SkBlend4444To16()