added cv::copyMakeBorder to T-API

This commit is contained in:
Ilya Lavrenov
2013-12-02 23:45:16 +04:00
parent 5b5f5878ce
commit 474fc887a6
6 changed files with 334 additions and 3 deletions

View File

@@ -580,6 +580,7 @@ Mat UMat::getMat(int accessFlags) const
Mat hdr(dims, size.p, type(), u->data + offset, step.p);
hdr.flags = flags;
hdr.u = u;
hdr.flags = flags;
hdr.datastart = u->data;
hdr.data = hdr.datastart + offset;
hdr.datalimit = hdr.dataend = u->data + u->size;