projects
/
profile
/
ivi
/
opencv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some formal changes (generally adding constness)
[profile/ivi/opencv.git]
/
modules
/
core
/
src
/
umatrix.cpp
diff --git
a/modules/core/src/umatrix.cpp
b/modules/core/src/umatrix.cpp
index
494f3e3
..
14e9060
100644
(file)
--- a/
modules/core/src/umatrix.cpp
+++ b/
modules/core/src/umatrix.cpp
@@
-582,7
+582,7
@@
Mat UMat::getMat(int accessFlags) const
hdr.flags = flags;
hdr.u = u;
hdr.datastart = u->data;
- hdr.data =
hdr.datastart
+ offset;
+ hdr.data =
u->data
+ offset;
hdr.datalimit = hdr.dataend = u->data + u->size;
CV_XADD(&hdr.u->refcount, 1);
return hdr;