Lines Matching refs:dx
142 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy)
144 dx = SkAbs32(dx);
147 if (dx > dy)
148 dx += dy >> 1;
150 dx = dy + (dx >> 1);
151 return dx;
154 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy)
157 SkFDot6 dist = cheap_distance(dx, dy);
201 SkFDot6 dx = ((x1 << 1) - x0 - x2) >> 2;
203 shift = diff_to_shift(dx, dy);
263 SkFixed dx = fQDx;
273 newx = oldx + (dx >> shift);
274 dx += fQDDx;
290 fQDx = dx;
361 SkFDot6 dx = cubic_delta_from_line(x0, x1, x2, x3);
364 shift = diff_to_shift(dx, dy) + 1;