Searched refs:xy2 (Results 1 – 2 of 2) sorted by relevance
44 float xy2 = p.x * p.x + p.y * p.y;45 if (xy2 == 0) return out;47 out.x = (z23x2y2 * p.x * (p.x * p.x - 3 * p.y * p.y)) / xy2;48 out.y = (z23x2y2 * p.y * (3 * p.x * p.x - p.y * p.y)) / xy2;
1054 double xy2 = 2.0 * xp * yp; in undistort() local1064 double xpp = xp * kr + p1 * xy2 + p2 * (r2 + 2.0 * x2); in undistort()1065 double ypp = yp * kr + p1 * (r2 + 2.0 * y2) + p2 * xy2; in undistort()