Searched refs:SkFractionalIntToInt (Results 1 – 3 of 3) sorted by relevance
54 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()55 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()59 SkPMColor src0 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()60 SkPMColor src1 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()61 SkPMColor src2 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()62 SkPMColor src3 = src[SkFractionalIntToInt(fx)]; fx += dx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()70 unsigned index = SkFractionalIntToInt(fx); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()77 dst[i] = src[SkTPin<int>(SkFractionalIntToInt(fx), 0, maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()452 yTemp = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()479 iY2 = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
34 #define SkFractionalIntToInt(x) SkFixed3232ToInt(x) macro201 int intX() const { return SkFractionalIntToInt(fX); } in intX()202 int intY() const { return SkFractionalIntToInt(fY); } in intY()
210 (unsigned)SkFractionalIntToInt(fx ) < maxX && in filter_scale()211 (unsigned)SkFractionalIntToInt(fx + dx*(count-1)) < maxX) { in filter_scale()