Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkLerpXfermode.cpp15 int scale256 = SkScalarRoundToInt(scale * 256); in Create() local
16 if (scale256 >= 256) { in Create()
18 } else if (scale256 <= 0) { in Create()
21 return SkNEW_ARGS(SkLerpXfermode, (scale256)); in Create()
24 SkLerpXfermode::SkLerpXfermode(unsigned scale256) : fScale256(scale256) {} in SkLerpXfermode() argument
/external/skia/include/effects/
DSkLerpXfermode.h38 SkLerpXfermode(unsigned scale256);
/external/skia/include/core/
DSkColorPriv.h201 static inline int SkAlphaBlend(int src, int dst, int scale256) { in SkAlphaBlend() argument
202 SkASSERT((unsigned)scale256 <= 256); in SkAlphaBlend()
203 return dst + SkAlphaMul(src - dst, scale256); in SkAlphaBlend()
/external/skia/src/core/
DSkBlitter_RGB16.cpp646 unsigned scale256 = fScale; in blitMask() local
651 unsigned scale = SkAlpha255To256(aa) * scale256 >> (8 + 3); in blitMask()