|
|
@ -119,7 +119,7 @@ template<class T> struct ocl_get_in |
|
|
|
struct tracked_cv_umat{ |
|
|
|
struct tracked_cv_umat{ |
|
|
|
//TODO Think if T - API could reallocate UMat to a proper size - how do we handle this ?
|
|
|
|
//TODO Think if T - API could reallocate UMat to a proper size - how do we handle this ?
|
|
|
|
//tracked_cv_umat(cv::UMat& m) : r{(m)}, original_data{m.getMat(ACCESS_RW).data} {}
|
|
|
|
//tracked_cv_umat(cv::UMat& m) : r{(m)}, original_data{m.getMat(ACCESS_RW).data} {}
|
|
|
|
tracked_cv_umat(cv::UMat& m) : r{ (m) }, original_data{ nullptr } {} |
|
|
|
tracked_cv_umat(cv::UMat& m) : r(m), original_data{ nullptr } {} |
|
|
|
cv::UMat &r; // FIXME: It was a value (not a reference) before.
|
|
|
|
cv::UMat &r; // FIXME: It was a value (not a reference) before.
|
|
|
|
// Actually OCL backend should allocate its internal data!
|
|
|
|
// Actually OCL backend should allocate its internal data!
|
|
|
|
uchar* original_data; |
|
|
|
uchar* original_data; |
|
|
|