Home
last modified time | relevance | path

Searched refs:invlength (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp40 Sk2f invlength = (X*X + Y*Y).rsqrt(); in normalize2() local
41 Sk2f::Store2(out, Y * invlength, -X * invlength); in normalize2()
47 Sk2f invlength = (X*X + Y*Y).rsqrt(); in calc_curvature_costheta() local
49 return (dotprod[0] + dotprod[1]) * invlength[0] * invlength[1]; in calc_curvature_costheta()
/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp40 Sk2f invlength = (X*X + Y*Y).rsqrt(); in normalize2() local
41 Sk2f::Store2(out, Y * invlength, -X * invlength); in normalize2()
47 Sk2f invlength = (X*X + Y*Y).rsqrt(); in calc_curvature_costheta() local
49 return (dotprod[0] + dotprod[1]) * invlength[0] * invlength[1]; in calc_curvature_costheta()