renamed gpucodec -> cudacodec
This commit is contained in:
@@ -6,4 +6,4 @@ set(the_description "Super Resolution")
|
||||
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 -Wundef)
|
||||
ocv_define_module(superres opencv_imgproc opencv_video
|
||||
OPTIONAL opencv_highgui opencv_ocl
|
||||
opencv_gpuarithm opencv_gpufilters opencv_gpuwarping opencv_gpuimgproc opencv_gpuoptflow opencv_gpucodec)
|
||||
opencv_gpuarithm opencv_gpufilters opencv_gpuwarping opencv_gpuimgproc opencv_gpuoptflow opencv_cudacodec)
|
||||
|
@@ -199,7 +199,7 @@ Ptr<FrameSource> cv::superres::createFrameSource_Camera(int deviceId)
|
||||
//////////////////////////////////////////////////////
|
||||
// VideoFrameSource_GPU
|
||||
|
||||
#ifndef HAVE_OPENCV_GPUCODEC
|
||||
#ifndef HAVE_OPENCV_CUDACODEC
|
||||
|
||||
Ptr<FrameSource> cv::superres::createFrameSource_Video_GPU(const String& fileName)
|
||||
{
|
||||
@@ -208,7 +208,7 @@ Ptr<FrameSource> cv::superres::createFrameSource_Video_GPU(const String& fileNam
|
||||
return Ptr<FrameSource>();
|
||||
}
|
||||
|
||||
#else // HAVE_OPENCV_GPUCODEC
|
||||
#else // HAVE_OPENCV_CUDACODEC
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -260,4 +260,4 @@ Ptr<FrameSource> cv::superres::createFrameSource_Video_GPU(const String& fileNam
|
||||
return new VideoFrameSource(fileName);
|
||||
}
|
||||
|
||||
#endif // HAVE_OPENCV_GPUCODEC
|
||||
#endif // HAVE_OPENCV_CUDACODEC
|
||||
|
@@ -77,8 +77,8 @@
|
||||
# include "opencv2/gpuoptflow.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_GPUCODEC
|
||||
# include "opencv2/gpucodec.hpp"
|
||||
#ifdef HAVE_OPENCV_CUDACODEC
|
||||
# include "opencv2/cudacodec.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_OCL
|
||||
|
Reference in New Issue
Block a user