Searched refs:SkAlpha15To16 (Results 1 – 3 of 3) sorted by relevance
31 unsigned dst_scale = SkAlpha15To16(15 - SkAlphaMul4(SkGetPackedA4444(src), src_scale)); in SkBlendARGB4444()92 fScale16 = SkAlpha15To16(SkGetPackedA4444(fPMColor16Other)); in SkARGB4444_Blitter()199 unsigned invScale = 16 - SkAlpha15To16(SkGetPackedA4444(c32)); in blitV()279 unsigned dst_scale = SkAlpha15To16(15 - SkGetPackedA4444(src)); // FIX in blitAntiH()
137 #define SkSPRITE_PREAMBLE(srcBM, x, y) int scale = SkAlpha15To16(fSrcAlpha);
448 static inline unsigned SkAlpha15To16(unsigned a) { in SkAlpha15To16() function540 unsigned scale = SkAlpha15To16(15 - sa); in SkSrcOver4444To16()