Home
last modified time | relevance | path

Searched refs:SkFractionalIntToInt (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/core/
H A DSkBitmapProcState.cpp48 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
49 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
53 SkPMColor src0 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
54 SkPMColor src1 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
55 SkPMColor src2 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
56 SkPMColor src3 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
64 unsigned index = SkFractionalIntToInt(fx); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
71 dst[i] = src[SkTPin<int>(SkFractionalIntToInt(fx), 0, maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
445 yTemp = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
472 iY2 = SkFractionalIntToInt(mappe in S32_D32_constX_shaderproc()
[all...]
H A DSkBitmapProcState.h25 #define SkFractionalIntToInt(x) SkFixed3232ToInt(x) macro
194 int intX() const { return SkFractionalIntToInt(fX); } in intX()
195 int intY() const { return SkFractionalIntToInt(fY); } in intY()
H A DSkBitmapProcState_matrixProcs.cpp185 (unsigned)SkFractionalIntToInt(fx ) < maxX && in filter_scale()
186 (unsigned)SkFractionalIntToInt(fx + dx*(count-1)) < maxX) { in filter_scale()

Completed in 3 milliseconds