Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColorPriv.h49 static inline int SkAlphaBlend(int src, int dst, int scale256) { in SkAlphaBlend() argument
50 SkASSERT((unsigned)scale256 <= 256); in SkAlphaBlend()
51 return dst + SkAlphaMul(src - dst, scale256); in SkAlphaBlend()
/external/skia/src/core/
DSkBlitter_RGB16.cpp650 unsigned scale256 = fScale; in blitMask() local
655 unsigned scale = SkAlpha255To256(aa) * scale256 >> (8 + 3); in blitMask()