projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef43088
)
fixed CudaMem::createMatHeader (ticket #1353)
author
Vladislav Vinogradov
<no@email>
Mon, 5 Sep 2011 05:45:27 +0000
(
05:45
+0000)
committer
Vladislav Vinogradov
<no@email>
Mon, 5 Sep 2011 05:45:27 +0000
(
05:45
+0000)
modules/gpu/include/opencv2/gpu/matrix_operations.hpp
patch
|
blob
|
history
diff --git
a/modules/gpu/include/opencv2/gpu/matrix_operations.hpp
b/modules/gpu/include/opencv2/gpu/matrix_operations.hpp
index
e8bb916
..
5a6b1bb
100644
(file)
--- a/
modules/gpu/include/opencv2/gpu/matrix_operations.hpp
+++ b/
modules/gpu/include/opencv2/gpu/matrix_operations.hpp
@@
-119,7
+119,7
@@
inline void CudaMem::create(Size _size, int _type, int _alloc_type) { create(_si
//CCP void CudaMem::create(int _rows, int _cols, int _type, int _alloc_type);
\r
//CPP void CudaMem::release();
\r
\r
-inline Mat CudaMem::createMatHeader() const { return Mat(size(), type(), data); }
\r
+inline Mat CudaMem::createMatHeader() const { return Mat(size(), type(), data
, step
); }
\r
inline CudaMem::operator Mat() const { return createMatHeader(); }
\r
\r
inline CudaMem::operator GpuMat() const { return createGpuMatHeader(); }
\r