Home | History | Annotate | Download | only in opts

Lines Matching refs:fx

30  * #define TILEX_PROCF(fx, max)    (((fx) & 0xFFFF) * ((max) + 1) >> 16)
32 * #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF)
65 SkFixed fx;
70 fx = SkScalarToFixed(pt.fY);
72 *xy++ = TILEY_PROCF(fx, maxY);
73 fx = SkScalarToFixed(pt.fX);
86 if ((unsigned)(fx >> 16) <= maxX &&
87 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) {
88 decal_nofilter_scale_neon(xy, fx, dx, count);
95 * but some processing of the 'fx' information
96 * TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16)
104 /* now build fx/fx+dx/fx+2dx/fx+3dx */
109 fx1 = fx+dx;
113 lbase = vdupq_n_s32(fx);
126 /* TILEX_PROCF(fx, max) (((fx)&0xFFFF)*((max)+1)>> 16) */
145 fx += dx8;
151 *xx++ = TILEX_PROCF(fx, maxX); fx += dx;
174 SkFixed fx = SkScalarToFixed(srcPt.fX);
184 SkFixed bfx = fx, bfy=fy, bdx=dx, bdy=dy;
192 * but some processing of the 'fx' information
193 * TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16)
200 /* now build fx/fx+dx/fx+2dx/fx+3dx */
205 xbase = vdupq_n_s32(fx);
206 xbase = vsetq_lane_s32(fx+dx, xbase, 1);
207 xbase = vsetq_lane_s32(fx+dx+dx, xbase, 2);
208 xbase = vsetq_lane_s32(fx+dx+dx+dx, xbase, 3);
221 /* TILEX_PROCF(fx, max) (((fx)&0xFFFF)*((max)+1)>> 16) */
241 fx += dx4;
271 /* fx, fy, dx, dy are all 32 bit 16.16 fixed point */
272 /* (((fx) & 0xFFFF) * ((max) + 1) >> 16) */
273 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX);
274 fx += dx; fy += dy;
295 /* TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16) */
350 /* TILEX_PROCF(fx, max) (((fx)&0xFFFF)*((max)+1)>> 16) */
421 SkFractionalInt fx;
431 // now initialize fx
432 fx = SkScalarToFractionalInt(pt.fX) - (SkFixedToFractionalInt(one) >> 1);
437 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
438 decal_filter_scale_neon(xy, SkFractionalIntToFixed(fx),
444 SkFixed fixedFx = SkFractionalIntToFixed(fx);
446 fx += dx;
466 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1);
476 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
477 fx += dx;