mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Enable non-exact IPP optimizations if build-time algorithm hint allows it.
This commit is contained in:
@@ -2586,7 +2586,12 @@ public:
|
||||
IPPInitSingleton()
|
||||
{
|
||||
useIPP = true;
|
||||
|
||||
#if defined(OPENCV_ALGO_HINT_DEFAULT)
|
||||
useIPP_NE = OPENCV_ALGO_HINT_DEFAULT == cv::ALGO_HINT_APPROX;
|
||||
#else
|
||||
useIPP_NE = false;
|
||||
#endif
|
||||
ippStatus = 0;
|
||||
funcname = NULL;
|
||||
filename = NULL;
|
||||
|
||||
Reference in New Issue
Block a user