Home
last modified time | relevance | path

Searched refs:SkFractionalIntToInt (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkBitmapProcState.cpp49 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
50 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
54 SkPMColor src0 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
55 SkPMColor src1 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
56 SkPMColor src2 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
57 SkPMColor src3 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
65 unsigned index = SkFractionalIntToInt(fx); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
72 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
436 yTemp = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
466 iY2 = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
DSkBitmapProcState.h27 #define SkFractionalIntToInt(x) SkFixed3232ToInt(x) macro
210 int intX() const { return SkFractionalIntToInt(fX); } in intX()
211 int intY() const { return SkFractionalIntToInt(fY); } in intY()
DSkBitmapProcState_matrixProcs.cpp168 (unsigned)SkFractionalIntToInt(fx ) < maxX && in filter_scale()
169 (unsigned)SkFractionalIntToInt(fx + dx*(count-1)) < maxX) { in filter_scale()
/external/skqp/src/core/
DSkBitmapProcState.cpp49 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
50 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
54 SkPMColor src0 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
55 SkPMColor src1 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
56 SkPMColor src2 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
57 SkPMColor src3 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
65 unsigned index = SkFractionalIntToInt(fx); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
72 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
436 yTemp = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
466 iY2 = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
DSkBitmapProcState.h27 #define SkFractionalIntToInt(x) SkFixed3232ToInt(x) macro
210 int intX() const { return SkFractionalIntToInt(fX); } in intX()
211 int intY() const { return SkFractionalIntToInt(fY); } in intY()
DSkBitmapProcState_matrixProcs.cpp168 (unsigned)SkFractionalIntToInt(fx ) < maxX && in filter_scale()
169 (unsigned)SkFractionalIntToInt(fx + dx*(count-1)) < maxX) { in filter_scale()