Lines Matching refs:ydiff

49                                     const Sk4f& ynext, Sk4f* xdiff, Sk4f* ydiff, Sk4f* invLengths) {  in compute_edge_vectors()  argument
51 *ydiff = ynext - y; in compute_edge_vectors()
52 *invLengths = fma(*xdiff, *xdiff, *ydiff * *ydiff).rsqrt(); in compute_edge_vectors()
54 *ydiff *= *invLengths; in compute_edge_vectors()
61 const Sk4f& ydiff, const Sk4f& invLengths, const Sk4f& mask, in outset_masked_vertices() argument
69 *y += fma(maskedOutsetCW, nextCW(ydiff), maskedOutset * ydiff); in outset_masked_vertices()
86 const Sk4f& ydiff, const Sk4f& invLengths, in outset_vertices() argument
90 *y += fma(outsetCW, nextCW(ydiff), -outset * ydiff); 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()