renamed gpucodec -> cudacodec
This commit is contained in:
@@ -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