Commit 9ae8443d authored by Andrey Kamaev's avatar Andrey Kamaev

Tegra optimized FastAtan2

parent 78bd2133
...@@ -66,6 +66,11 @@ static void FastAtan2_32f(const float *Y, const float *X, float *angle, int len, ...@@ -66,6 +66,11 @@ static void FastAtan2_32f(const float *Y, const float *X, float *angle, int len,
int i = 0; int i = 0;
float scale = angleInDegrees ? (float)(180/CV_PI) : 1.f; float scale = angleInDegrees ? (float)(180/CV_PI) : 1.f;
#ifdef HAVE_TEGRA_OPTIMIZATION
if (tegra::FastAtan2_32f(Y, X, angle, len, scale))
return;
#endif
#if CV_SSE2 #if CV_SSE2
if( USE_SSE2 ) if( USE_SSE2 )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment