Home
last modified time | relevance | path

Searched refs:SkFastMin32 (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/core/
DSkBlitter.cpp659 r = SkFastMin32(SkAlphaMul(r, mul) + add, a); in shadeSpan()
660 g = SkFastMin32(SkAlphaMul(g, mul) + add, a); in shadeSpan()
661 b = SkFastMin32(SkAlphaMul(b, mul) + add, a); in shadeSpan()
680 SkFastMin32(SkAlphaMul(r, mul) + add, a), in shadeSpan()
681 SkFastMin32(SkAlphaMul(g, mul) + add, a), in shadeSpan()
682 SkFastMin32(SkAlphaMul(b, mul) + add, a)); in shadeSpan()
DSkScalerContext.cpp558 int width = SkFastMin32(origGlyph.fWidth, dstM.fBounds.width()); in getImage()
559 int height = SkFastMin32(origGlyph.fHeight, dstM.fBounds.height()); in getImage()
DSkRegion_path.cpp403 return SkFastMin32(fY0, fY1); in top()
DSkXfermode.cpp1753 unsigned r = SkFastMin32(SkPacked32ToR16(src), SkGetPackedR16(dst)); in darken_modeproc16_255()
1754 unsigned g = SkFastMin32(SkPacked32ToG16(src), SkGetPackedG16(dst)); in darken_modeproc16_255()
1755 unsigned b = SkFastMin32(SkPacked32ToB16(src), SkGetPackedB16(dst)); in darken_modeproc16_255()
/external/skia/src/effects/
DSkEmbossMask.cpp128 mul = SkFastMin32(mul + dot, 255); in Emboss()
/external/skia/src/effects/gradients/
DSkRadialGradient.cpp100 fi = SkFastMin32(fi, 0xFFFF >> (16 - kSQRT_TABLE_BITS)); in shadeSpan16_radial_clamp()
111 fi = SkFastMin32(fi, 0xFFFF >> (16 - kSQRT_TABLE_BITS)); in shadeSpan16_radial_clamp()
/external/skia/include/core/
DSkTypes.h402 static inline int32_t SkFastMin32(int32_t value, int32_t max) { in SkFastMin32() function