mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Tegra optimized FastAtan2
This commit is contained in:
parent
78bd2133cc
commit
9ae8443d37
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user