Tegra optimized FastAtan2

This commit is contained in:
Andrey Kamaev 2011-10-07 08:07:25 +00:00
parent 78bd2133cc
commit 9ae8443d37

View File

@ -66,6 +66,11 @@ static void FastAtan2_32f(const float *Y, const float *X, float *angle, int len,
int i = 0;
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( USE_SSE2 )
{