1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

fixed fastAtan2 and cardToPolar accuracy (thanks to Andrey Kamaev)

This commit is contained in:
Vadim Pisarevsky
2011-12-04 20:10:35 +00:00
parent 8989e0b07e
commit 77dda061a7
2 changed files with 79 additions and 53 deletions
+3 -5
View File
@@ -193,20 +193,18 @@ bool checkHardwareSupport(int feature)
return currentFeatures->have[feature];
}
#ifdef HAVE_IPP
volatile bool useOptimizedFlag = true;
volatile bool useOptimizedFlag = true;
#ifdef HAVE_IPP
struct IPPInitializer
{
IPPInitializer(void) { ippStaticInit(); }
};
IPPInitializer ippInitializer;
#else
volatile bool useOptimizedFlag = true;
#endif
volatile bool USE_SSE2 = false;
volatile bool USE_SSE2 = featuresEnabled.have[CV_CPU_SSE2];
void setUseOptimized( bool flag )
{