Searched refs:scale256 (Results 1 – 2 of 2) sorted by relevance
214 static inline int SkAlphaBlend(int src, int dst, int scale256) { in SkAlphaBlend() argument215 SkASSERT((unsigned)scale256 <= 256); in SkAlphaBlend()216 return dst + SkAlphaMul(src - dst, scale256); in SkAlphaBlend()
625 unsigned scale256 = fScale; in blitMask() local630 unsigned scale = SkAlpha255To256(aa) * scale256 >> (8 + 3); in blitMask()