Lines Matching refs:fx
262 SkFixed fx = mapper.fixedX(); in ClampX_ClampY_filter_scale_SSE2() local
265 if (dx > 0 && (unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_filter_scale_SSE2()
266 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) { in ClampX_ClampY_filter_scale_SSE2()
270 SkASSERT((fx >> (16 + 14)) == 0); in ClampX_ClampY_filter_scale_SSE2()
271 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in ClampX_ClampY_filter_scale_SSE2()
272 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
278 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2()
279 fx + dx, fx); in ClampX_ClampY_filter_scale_SSE2()
291 fx += dx * 4; in ClampX_ClampY_filter_scale_SSE2()
298 SkASSERT((fx >> (16 + 14)) == 0); in ClampX_ClampY_filter_scale_SSE2()
299 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in ClampX_ClampY_filter_scale_SSE2()
300 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
309 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
310 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
314 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2()
315 fx + dx, fx); in ClampX_ClampY_filter_scale_SSE2()
351 fx += dx * 4; in ClampX_ClampY_filter_scale_SSE2()
358 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
359 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
377 SkFixed fx = mapper.fixedX(); in ClampX_ClampY_nofilter_scale_SSE2() local
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()
393 *xy++ = pack_two_shorts(fx >> 16, (fx + dx) >> 16); in ClampX_ClampY_nofilter_scale_SSE2()
394 fx += 2 * dx; in ClampX_ClampY_nofilter_scale_SSE2()
401 __m128i wide_low = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_nofilter_scale_SSE2()
402 fx + dx, fx); in ClampX_ClampY_nofilter_scale_SSE2()
417 fx += dx * 8; in ClampX_ClampY_nofilter_scale_SSE2()
424 *xx++ = SkToU16(fx >> 16); in ClampX_ClampY_nofilter_scale_SSE2()
425 fx += dx; 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()
436 fx += 2 * dx; in ClampX_ClampY_nofilter_scale_SSE2()
443 __m128i wide_low = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_nofilter_scale_SSE2()
444 fx + dx, fx); in ClampX_ClampY_nofilter_scale_SSE2()
467 fx += dx * 8; in ClampX_ClampY_nofilter_scale_SSE2()
474 *xx++ = SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_scale_SSE2()
475 fx += dx; in ClampX_ClampY_nofilter_scale_SSE2()
489 SkFixed fx = mapper.fixedX(); in ClampX_ClampY_filter_affine_SSE2() local
500 __m128i wide_f = _mm_set_epi32(fx + dx, fy + dy, fx, fy); in ClampX_ClampY_filter_affine_SSE2()
533 fx += dx2; in ClampX_ClampY_filter_affine_SSE2()
543 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, oneX); in ClampX_ClampY_filter_affine_SSE2()
544 fx += dx; in ClampX_ClampY_filter_affine_SSE2()
560 SkFixed fx = mapper.fixedX(); in ClampX_ClampY_nofilter_affine_SSE2() local
570 SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_affine_SSE2()
571 fx += dx; in ClampX_ClampY_nofilter_affine_SSE2()
579 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_nofilter_affine_SSE2()
580 fx + dx, fx); in ClampX_ClampY_nofilter_affine_SSE2()
608 fx += dx4; in ClampX_ClampY_nofilter_affine_SSE2()
617 SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_affine_SSE2()
618 fx += dx; in ClampX_ClampY_nofilter_affine_SSE2()