added cv::remap to T-API

This commit is contained in:
Ilya Lavrenov
2013-12-01 18:56:28 +04:00
parent dcce9d7088
commit 803672feea
6 changed files with 676 additions and 33 deletions

View File

@@ -578,6 +578,7 @@ Mat UMat::getMat(int accessFlags) const
u->currAllocator->map(u, accessFlags | ACCESS_READ);
CV_Assert(u->data != 0);
Mat hdr(dims, size.p, type(), u->data + offset, step.p);
hdr.flags = flags;
hdr.u = u;
hdr.datastart = u->data;
hdr.data = hdr.datastart + offset;