OCV_OPTION(WITH_IMGCODEC_HDR "Include HDR support" ON)
OCV_OPTION(WITH_IMGCODEC_SUNRASTER "Include SUNRASTER support" ON)
OCV_OPTION(WITH_IMGCODEC_PXM "Include PNM (PBM,PGM,PPM) and PAM formats support" ON)
+OCV_OPTION(WITH_IMGCODEC_PFM "Include PFM formats support" ON)
+ OCV_OPTION(WITH_QUIRC "Include library QR-code decoding" ON)
# OpenCV build components
# ===================================================
#else
static tbb::task_scheduler_init tbbScheduler(tbb::task_scheduler_init::deferred);
#endif
-#elif defined HAVE_CSTRIPES
-// nothing for C=
+#elif defined HAVE_HPX
+// nothing for HPX
#elif defined HAVE_OPENMP
- static int numThreadsMax = omp_get_max_threads();
+ static inline int _initMaxThreads()
+ {
+ int maxThreads = omp_get_max_threads();
+ if (!utils::getConfigurationParameterBool("OPENCV_FOR_OPENMP_DYNAMIC_DISABLE", false))
+ {
+ omp_set_dynamic(maxThreads);
+ }
+ return numThreads;
+ }
+ static int numThreadsMax = _initMaxThreads();
#elif defined HAVE_GCD
// nothing for GCD
#elif defined WINRT
"-DWITH_ITT=OFF",
"-DBUILD_ZLIB=ON",
"-DBUILD_opencv_apps=OFF",
- "-DBUILD_opencv_calib3d=ON",
+ "-DBUILD_opencv_calib3d=ON", # No bindings provided. This module is used as a dependency for other modules.
"-DBUILD_opencv_dnn=ON",
"-DBUILD_opencv_features2d=ON",
-- "-DBUILD_opencv_flann=OFF",
++ "-DBUILD_opencv_flann=ON", # No bindings provided. This module is used as a dependency for other modules.
+ "-DBUILD_opencv_gapi=OFF",
"-DBUILD_opencv_ml=OFF",
"-DBUILD_opencv_photo=OFF",
"-DBUILD_opencv_imgcodecs=OFF",