Searched refs:SkAlphaMulQ4 (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/core/ |
D | SkBlitter_4444.cpp | 113 *dst = color + SkAlphaMulQ4(*dst, invScale); in src_over_4444() 115 *dst = other + SkAlphaMulQ4(*dst, invScale); in src_over_4444() 119 *dst = color + SkAlphaMulQ4(*dst, invScale); in src_over_4444() 278 SkPMColor16 src = SkAlphaMulQ4(color, aa >> 4); in blitAntiH() 283 device[n] = src + SkAlphaMulQ4(device[n], dst_scale); in blitAntiH() 321 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ4(dst[0], dst_scale); } \ 322 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ4(dst[1], dst_scale); } \ 323 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ4(dst[2], dst_scale); } \ 324 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ4(dst[3], dst_scale); } \ 325 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ4(dst[4], dst_scale); } \ [all …]
|
/external/skia/include/core/ |
D | SkColorPriv.h | 490 static inline U16CPU SkAlphaMulQ4(U16CPU c, unsigned scale) { in SkAlphaMulQ4() function 556 return SkSrcOver4444To16(SkAlphaMulQ4(src, scale16), dst); in SkBlend4444To16()
|