mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
renamed gpu namespace -> cuda
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include "precomp.hpp"
|
||||
|
||||
using namespace cv;
|
||||
using namespace cv::gpu;
|
||||
using namespace cv::cuda;
|
||||
|
||||
Mat cv::superres::arrGetMat(InputArray arr, Mat& buf)
|
||||
{
|
||||
@@ -191,7 +191,7 @@ namespace
|
||||
{
|
||||
case _InputArray::GPU_MAT:
|
||||
#ifdef HAVE_OPENCV_GPUIMGPROC
|
||||
gpu::cvtColor(src.getGpuMat(), dst.getGpuMatRef(), code, cn);
|
||||
cuda::cvtColor(src.getGpuMat(), dst.getGpuMatRef(), code, cn);
|
||||
#else
|
||||
CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user