Home | History | Annotate | Download | only in opts

Lines Matching refs:fx

31  * #define TILEX_PROCF(fx, max)    SkClampMax((fx) >> 16, max)
33 * #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
67 SkFixed fx;
72 fx = SkScalarToFixed(pt.fY);
74 *xy++ = TILEY_PROCF(fx, maxY);
75 fx = SkScalarToFixed(pt.fX);
88 if ((unsigned)(fx >> 16) <= maxX &&
89 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) {
90 decal_nofilter_scale_neon(xy, fx, dx, count);
99 * TILEX_PROCF(fx,max) SkClampMax((fx)>>16, max)
107 /* now build fx/fx+dx/fx+2dx/fx+3dx */
112 fx1 = fx+dx;
118 lbase = vdupq_n_s32(fx);
148 fx += dx8;
155 *xx++ = TILEX_PROCF(fx, maxX); fx += dx;
176 SkFixed fx = SkScalarToFixed(srcPt.fX);
199 /* now build fx/fx+dx/fx+2dx/fx+3dx */
201 xbase = vdupq_n_s32(fx);
202 xbase = vsetq_lane_s32(fx+dx, xbase, 1);
203 xbase = vsetq_lane_s32(fx+dx+dx, xbase, 2);
204 xbase = vsetq_lane_s32(fx+dx+dx+dx, xbase, 3);
261 fx += dx8;
268 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX);
269 fx += dx; fy += dy;
491 SkFixed fx;
501 // now initialize fx
502 fx = SkScalarToFixed(pt.fX) - (one >> 1);
508 (unsigned)(fx >> 16) <= maxX &&
509 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
510 decal_filter_scale_neon(xy, fx, dx, count);
518 SkFixed debug_fx = fx;
522 wide_fx = vdupq_n_s32(fx);
523 wide_fx = vsetq_lane_s32(fx+dx, wide_fx, 1);
524 wide_fx = vsetq_lane_s32(fx+dx+dx, wide_fx, 2);
525 wide_fx = vsetq_lane_s32(fx+dx+dx+dx, wide_fx, 3);
540 /* i<<4 | TILEX_LOW_BITS(fx) */
568 SkDebugf("fx %08x debug_fx %08x dx %08x done %d\n",
569 fx, debug_fx, dx, count_done);
578 fx += dx+dx+dx+dx;
585 *xy++ = PACK_FILTER_X_NAME(fx, maxX, one PREAMBLE_ARG_X);
586 fx += dx;
605 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1);
620 SkFixed fxp = fx;
625 wide_fx = vdupq_n_s32(fx);
626 wide_fx = vsetq_lane_s32(fx+dx, wide_fx, 1);
627 wide_fx = vsetq_lane_s32(fx+dx+dx, wide_fx, 2);
628 wide_fx = vsetq_lane_s32(fx+dx+dx+dx, wide_fx, 3);
654 /* i<<4 | TILEX_LOW_BITS(fx) */
675 /* i<<4 | TILEX_LOW_BITS(fx) */
721 SkDebugf("fx %08x fxp %08x fyp %08x dx %08x dy %08x done %d\n",
722 fx, fxp, fyp, dx, dy, count_done);
732 fx += dx+dx+dx+dx;
744 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
745 fx += dx;
803 /* i<<4 | TILEX_LOW_BITS(fx) */
827 /* i<<4 | TILEX_LOW_BITS(fx) */