mirror of
https://github.com/opencv/opencv.git
synced 2026-07-27 14:23:04 +04:00
gpucodec module for video decoding/encoding
This commit is contained in:
@@ -187,7 +187,7 @@ Ptr<FrameSource> cv::superres::createFrameSource_Camera(int deviceId)
|
||||
//////////////////////////////////////////////////////
|
||||
// VideoFrameSource_GPU
|
||||
|
||||
#ifndef HAVE_OPENCV_GPU
|
||||
#ifndef HAVE_OPENCV_GPUCODEC
|
||||
|
||||
Ptr<FrameSource> cv::superres::createFrameSource_Video_GPU(const String& fileName)
|
||||
{
|
||||
@@ -196,7 +196,7 @@ Ptr<FrameSource> cv::superres::createFrameSource_Video_GPU(const String& fileNam
|
||||
return Ptr<FrameSource>();
|
||||
}
|
||||
|
||||
#else // HAVE_OPENCV_GPU
|
||||
#else // HAVE_OPENCV_GPUCODEC
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -250,4 +250,4 @@ Ptr<FrameSource> cv::superres::createFrameSource_Video_GPU(const String& fileNam
|
||||
return new VideoFrameSource(fileName);
|
||||
}
|
||||
|
||||
#endif // HAVE_OPENCV_GPU
|
||||
#endif // HAVE_OPENCV_GPUCODEC
|
||||
|
||||
Reference in New Issue
Block a user