mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Improved consistency.
This commit is contained in:
parent
3d1355efc1
commit
1e1f20cfee
@ -194,7 +194,7 @@ public:
|
||||
UMat getUMat(int idx=-1) const;
|
||||
void getMatVector(std::vector<Mat>& mv) const;
|
||||
void getUMatVector(std::vector<UMat>& umv) const;
|
||||
void getGpuMatVector(std::vector<cuda::GpuMat>** gpumv) const;
|
||||
void getGpuMatVector(std::vector<cuda::GpuMat>& gpumv) const;
|
||||
cuda::GpuMat getGpuMat() const;
|
||||
ogl::Buffer getOGlBuffer() const;
|
||||
|
||||
|
@ -1429,12 +1429,12 @@ cuda::GpuMat _InputArray::getGpuMat() const
|
||||
CV_Error(cv::Error::StsNotImplemented, "getGpuMat is available only for cuda::GpuMat and cuda::HostMem");
|
||||
return cuda::GpuMat();
|
||||
}
|
||||
void _InputArray::getGpuMatVector(std::vector<cuda::GpuMat>** gpumv) const
|
||||
void _InputArray::getGpuMatVector(std::vector<cuda::GpuMat>& gpumv) const
|
||||
{
|
||||
int k = kind();
|
||||
if (k == STD_VECTOR_CUDA_GPU_MAT)
|
||||
{
|
||||
*gpumv = (std::vector<cuda::GpuMat>*)obj;
|
||||
gpumv = *(std::vector<cuda::GpuMat>*)obj;
|
||||
}
|
||||
}
|
||||
ogl::Buffer _InputArray::getOGlBuffer() const
|
||||
|
Loading…
Reference in New Issue
Block a user