Lines Matching refs:SkFDot6
10 #include "SkFDot6.h"
28 static inline SkFixed SkFDot6ToFixedDiv2(SkFDot6 value) {
38 SkFDot6 x0, y0, x1, y1;
77 const SkFDot6 dy = SkEdge_Compute_DY(top, y0);
118 const SkFDot6 dy = SkEdge_Compute_DY(top, y0);
152 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy)
164 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2)
167 SkFDot6 dist = cheap_distance(dx, dy);
182 SkFDot6 x0, y0, x1, y1, x2, y2;
222 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2;
223 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2;
329 static inline int SkFDot6UpShift(SkFDot6 x, int upShift) {
342 static SkFDot6 cubic_delta_from_line(SkFDot6 a, SkFDot6 b, SkFDot6 c, SkFDot6 d)
345 SkFDot6 oneThird = (a*8 - b*15 + 6*c + d) * 19 >> 9;
346 SkFDot6 twoThird = (a + 6*b - c*15 + d*8) * 19 >> 9;
352 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3;
400 SkFDot6 dx = cubic_delta_from_line(x0, x1, x2, x3);
401 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3);