mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
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
|
||||
|
||||
Reference in New Issue
Block a user