Lines Matching refs:xdiff

49                                     const Sk4f& ynext, Sk4f* xdiff, Sk4f* ydiff, Sk4f* invLengths) {  in compute_edge_vectors()  argument
50 *xdiff = xnext - x; in compute_edge_vectors()
52 *invLengths = fma(*xdiff, *xdiff, *ydiff * *ydiff).rsqrt(); in compute_edge_vectors()
53 *xdiff *= *invLengths; in compute_edge_vectors()
60 static AI void outset_masked_vertices(const Sk4f& outset, const Sk4f& outsetCW, const Sk4f& xdiff, in outset_masked_vertices() argument
68 *x += fma(maskedOutsetCW, nextCW(xdiff), maskedOutset * xdiff); in outset_masked_vertices()
85 static AI void outset_vertices(const Sk4f& outset, const Sk4f& outsetCW, const Sk4f& xdiff, in outset_vertices() argument
89 *x += fma(outsetCW, nextCW(xdiff), -outset * xdiff); in outset_vertices()
107 static void adjust_non_rectilinear_outset(const Sk4f& xdiff, const Sk4f& ydiff, Sk4f* outset) { in adjust_non_rectilinear_outset() argument
110 Sk4f cosTheta = fma(xdiff, nextCW(xdiff), ydiff * nextCW(ydiff)); in adjust_non_rectilinear_outset()
130 Sk4f xdiff, ydiff, invLengths; in compute_nested_quad_vertices() local
131 compute_edge_vectors(*x1, *y1, xnext, ynext, &xdiff, &ydiff, &invLengths); in compute_nested_quad_vertices()
137 adjust_non_rectilinear_outset(xdiff, ydiff, &outset); in compute_nested_quad_vertices()
162 outset_masked_vertices(outset, outsetCW, xdiff, ydiff, invLengths, mask, x1, y1, in compute_nested_quad_vertices()
164 outset_masked_vertices(inset, insetCW, xdiff, ydiff, invLengths, mask, x2, y2, in compute_nested_quad_vertices()
167 … outset_vertices(outset, outsetCW, xdiff, ydiff, invLengths, x1, y1, u1, v1, r1, uvrCount); in compute_nested_quad_vertices()
168 outset_vertices(inset, insetCW, xdiff, ydiff, invLengths, x2, y2, u2, v2, r2, uvrCount); in compute_nested_quad_vertices()
176 outset_masked_vertices(outset, outset, xdiff, ydiff, invLengths, mask, x1, y1, in compute_nested_quad_vertices()
178 outset_masked_vertices(inset, inset, xdiff, ydiff, invLengths, mask, x2, y2, in compute_nested_quad_vertices()
181 outset_vertices(outset, outset, xdiff, ydiff, invLengths, x1, y1, u1, v1, r1, uvrCount); in compute_nested_quad_vertices()
182 outset_vertices(inset, inset, xdiff, ydiff, invLengths, x2, y2, u2, v2, r2, uvrCount); in compute_nested_quad_vertices()
225 Sk4f xdiff, ydiff, invLengths; in compute_quad_persp_vertices() local
226 compute_edge_vectors(x2d, y2d, nextCCW(x2d), nextCCW(y2d), &xdiff, &ydiff, &invLengths); in compute_quad_persp_vertices()
228 adjust_non_rectilinear_outset(xdiff, ydiff, &outset); in compute_quad_persp_vertices()