nonfree module fixes
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
|
||||
#include "perf_precomp.hpp"
|
||||
|
||||
#if defined(HAVE_OPENCV_GPU) && defined(HAVE_CUDA)
|
||||
#ifdef HAVE_CUDA
|
||||
|
||||
#include "opencv2/ts/gpu_perf.hpp"
|
||||
|
||||
@@ -65,6 +65,8 @@ using namespace perf;
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// SURF
|
||||
|
||||
#ifdef HAVE_OPENCV_GPUARITHM
|
||||
|
||||
DEF_PARAM_TEST_1(Image, string);
|
||||
|
||||
PERF_TEST_P(Image, GPU_SURF,
|
||||
@@ -108,6 +110,8 @@ PERF_TEST_P(Image, GPU_SURF,
|
||||
}
|
||||
}
|
||||
|
||||
#endif // HAVE_OPENCV_GPUARITHM
|
||||
|
||||
//////////////////////////////////////////////////////
|
||||
// VIBE
|
||||
|
||||
@@ -177,6 +181,6 @@ PERF_TEST_P(Video_Cn, GPU_VIBE,
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // BUILD_WITH_VIDEO_INPUT_SUPPORT
|
||||
|
||||
#endif
|
||||
#endif // HAVE_CUDA
|
||||
|
@@ -19,9 +19,8 @@
|
||||
# include "opencv2/nonfree/ocl.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_GPU
|
||||
#include "opencv2/nonfree/gpu.hpp"
|
||||
#include "opencv2/ts/gpu_perf.hpp"
|
||||
#ifdef HAVE_CUDA
|
||||
# include "opencv2/nonfree/gpu.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef GTEST_CREATE_SHARED_LIBRARY
|
||||
|
Reference in New Issue
Block a user