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