renamed gpuoptflow -> cudaoptflow
This commit is contained in:
@@ -267,7 +267,7 @@ namespace
|
||||
blurKernelSize_ = 5;
|
||||
blurSigma_ = 0.0;
|
||||
|
||||
#ifdef HAVE_OPENCV_GPUOPTFLOW
|
||||
#ifdef HAVE_OPENCV_CUDAOPTFLOW
|
||||
opticalFlow_ = createOptFlow_Farneback_GPU();
|
||||
#else
|
||||
opticalFlow_ = createOptFlow_Farneback();
|
||||
|
||||
@@ -343,7 +343,7 @@ Ptr<DenseOpticalFlowExt> cv::superres::createOptFlow_DualTVL1()
|
||||
///////////////////////////////////////////////////////////////////
|
||||
// GpuOpticalFlow
|
||||
|
||||
#ifndef HAVE_OPENCV_GPUOPTFLOW
|
||||
#ifndef HAVE_OPENCV_CUDAOPTFLOW
|
||||
|
||||
Ptr<DenseOpticalFlowExt> cv::superres::createOptFlow_Farneback_GPU()
|
||||
{
|
||||
@@ -369,7 +369,7 @@ Ptr<DenseOpticalFlowExt> cv::superres::createOptFlow_PyrLK_GPU()
|
||||
return Ptr<DenseOpticalFlowExt>();
|
||||
}
|
||||
|
||||
#else // HAVE_OPENCV_GPUOPTFLOW
|
||||
#else // HAVE_OPENCV_CUDAOPTFLOW
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -717,7 +717,7 @@ Ptr<DenseOpticalFlowExt> cv::superres::createOptFlow_DualTVL1_GPU()
|
||||
return new DualTVL1_GPU;
|
||||
}
|
||||
|
||||
#endif // HAVE_OPENCV_GPUOPTFLOW
|
||||
#endif // HAVE_OPENCV_CUDAOPTFLOW
|
||||
#ifdef HAVE_OPENCV_OCL
|
||||
|
||||
namespace
|
||||
|
||||
@@ -73,8 +73,8 @@
|
||||
# include "opencv2/cudaimgproc.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_GPUOPTFLOW
|
||||
# include "opencv2/gpuoptflow.hpp"
|
||||
#ifdef HAVE_OPENCV_CUDAOPTFLOW
|
||||
# include "opencv2/cudaoptflow.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_CUDACODEC
|
||||
|
||||
Reference in New Issue
Block a user