Lines Matching refs:maxX
253 const unsigned maxX = s.fPixmap.width() - 1; in ClampX_ClampY_filter_scale_SSE2() local
266 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { in ClampX_ClampY_filter_scale_SSE2()
307 if ((count >= 4) && (maxX <= 0xFFFF)) { in ClampX_ClampY_filter_scale_SSE2()
309 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
318 __m128i wide_maxX = _mm_set1_epi32(maxX); in ClampX_ClampY_filter_scale_SSE2()
358 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
373 const unsigned maxX = s.fPixmap.width() - 1; in ClampX_ClampY_nofilter_scale_SSE2() local
379 if (0 == maxX) { in ClampX_ClampY_nofilter_scale_SSE2()
388 if ((unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_nofilter_scale_SSE2()
389 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in ClampX_ClampY_nofilter_scale_SSE2()
432 if ((count >= 8) && (maxX <= 0xFFFF)) { in ClampX_ClampY_nofilter_scale_SSE2()
434 *xy++ = pack_two_shorts(SkClampMax((fx + dx) >> 16, maxX), in ClampX_ClampY_nofilter_scale_SSE2()
435 SkClampMax(fx >> 16, maxX)); in ClampX_ClampY_nofilter_scale_SSE2()
446 __m128i wide_maxX = _mm_set1_epi32(maxX); in ClampX_ClampY_nofilter_scale_SSE2()
474 *xx++ = SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_scale_SSE2()
493 unsigned maxX = s.fPixmap.width() - 1; in ClampX_ClampY_filter_affine_SSE2() local
496 if (count >= 2 && (maxX <= 0xFFFF)) { in ClampX_ClampY_filter_affine_SSE2()
503 __m128i wide_max = _mm_set_epi32(maxX, maxY, maxX, maxY); in ClampX_ClampY_filter_affine_SSE2()
543 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, oneX); in ClampX_ClampY_filter_affine_SSE2()
564 int maxX = s.fPixmap.width() - 1; in ClampX_ClampY_nofilter_affine_SSE2() local
567 if (count >= 4 && (maxX <= 0xFFFF)) { in ClampX_ClampY_nofilter_affine_SSE2()
570 SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_affine_SSE2()
586 __m128i wide_maxX = _mm_set1_epi32(maxX); in ClampX_ClampY_nofilter_affine_SSE2()
617 SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_affine_SSE2()