Fix GpuMat to correctly calculate dataend when using GpuMat::create().

Add output to createMat() to be used by locateROI test cases.
This commit is contained in:
cudawarped
2022-02-02 14:25:46 +00:00
parent 415a42f327
commit f66a2ffa1e
3 changed files with 13 additions and 8 deletions
@@ -63,6 +63,7 @@ namespace cvtest
// GpuMat create
cv::cuda::GpuMat createMat(cv::Size size, int type, bool useRoi = false);
cv::cuda::GpuMat createMat(cv::Size size, int type, cv::Size& size0, cv::Point& ofs, bool useRoi = false);
cv::cuda::GpuMat loadMat(const cv::Mat& m, bool useRoi = false);
//////////////////////////////////////////////////////////////////////