Lines Matching refs:dx
254 const SkFixed dx = s.fInvSx; in ClampX_ClampY_filter_scale_SSE2() local
268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_filter_scale_SSE2()
269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) { in ClampX_ClampY_filter_scale_SSE2()
275 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
280 __m128i wide_dx4 = _mm_set1_epi32(dx * 4); in ClampX_ClampY_filter_scale_SSE2()
281 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2()
282 fx + dx, fx); in ClampX_ClampY_filter_scale_SSE2()
294 fx += dx * 4; in ClampX_ClampY_filter_scale_SSE2()
303 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
313 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
317 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2()
318 fx + dx, fx); in ClampX_ClampY_filter_scale_SSE2()
319 __m128i wide_dx4 = _mm_set1_epi32(dx * 4); in ClampX_ClampY_filter_scale_SSE2()
354 fx += dx * 4; in ClampX_ClampY_filter_scale_SSE2()
362 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
392 const SkFixed dx = s.fInvSx; in ClampX_ClampY_nofilter_scale_SSE2() local
396 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in ClampX_ClampY_nofilter_scale_SSE2()
400 *xy++ = pack_two_shorts(fx >> 16, (fx + dx) >> 16); in ClampX_ClampY_nofilter_scale_SSE2()
401 fx += 2 * dx; in ClampX_ClampY_nofilter_scale_SSE2()
405 __m128i wide_dx4 = _mm_set1_epi32(dx * 4); in ClampX_ClampY_nofilter_scale_SSE2()
408 __m128i wide_low = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_nofilter_scale_SSE2()
409 fx + dx, fx); in ClampX_ClampY_nofilter_scale_SSE2()
424 fx += dx * 8; in ClampX_ClampY_nofilter_scale_SSE2()
432 fx += dx; in ClampX_ClampY_nofilter_scale_SSE2()
441 *xy++ = SkClampMax((fx + dx) >> 16, maxX) | in ClampX_ClampY_nofilter_scale_SSE2()
443 fx += 2 * dx; in ClampX_ClampY_nofilter_scale_SSE2()
447 __m128i wide_dx4 = _mm_set1_epi32(dx * 4); in ClampX_ClampY_nofilter_scale_SSE2()
450 __m128i wide_low = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_nofilter_scale_SSE2()
451 fx + dx, fx); in ClampX_ClampY_nofilter_scale_SSE2()
474 fx += dx * 8; in ClampX_ClampY_nofilter_scale_SSE2()
482 fx += dx; in ClampX_ClampY_nofilter_scale_SSE2()
501 SkFixed dx = s.fInvSx; in ClampX_ClampY_filter_affine_SSE2() local
507 SkFixed dx2 = dx + dx; in ClampX_ClampY_filter_affine_SSE2()
510 __m128i wide_f = _mm_set_epi32(fx + dx, fy + dy, fx, fy); in ClampX_ClampY_filter_affine_SSE2()
554 fx += dx; in ClampX_ClampY_filter_affine_SSE2()
575 SkFixed dx = s.fInvSx; in ClampX_ClampY_nofilter_affine_SSE2() local
584 fx += dx; in ClampX_ClampY_nofilter_affine_SSE2()
589 SkFixed dx4 = dx * 4; in ClampX_ClampY_nofilter_affine_SSE2()
592 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_nofilter_affine_SSE2()
593 fx + dx, fx); in ClampX_ClampY_nofilter_affine_SSE2()
631 fx += dx; in ClampX_ClampY_nofilter_affine_SSE2()