Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
914ed44e
Commit
914ed44e
authored
Sep 05, 2011
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed CudaMem::createMatHeader (ticket #1353)
parent
ef430882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
matrix_operations.hpp
modules/gpu/include/opencv2/gpu/matrix_operations.hpp
+1
-1
No files found.
modules/gpu/include/opencv2/gpu/matrix_operations.hpp
View file @
914ed44e
...
@@ -119,7 +119,7 @@ inline void CudaMem::create(Size _size, int _type, int _alloc_type) { create(_si
...
@@ -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);
//CCP void CudaMem::create(int _rows, int _cols, int _type, int _alloc_type);
//CPP void CudaMem::release();
//CPP void CudaMem::release();
inline
Mat
CudaMem
::
createMatHeader
()
const
{
return
Mat
(
size
(),
type
(),
data
);
}
inline
Mat
CudaMem
::
createMatHeader
()
const
{
return
Mat
(
size
(),
type
(),
data
,
step
);
}
inline
CudaMem
::
operator
Mat
()
const
{
return
createMatHeader
();
}
inline
CudaMem
::
operator
Mat
()
const
{
return
createMatHeader
();
}
inline
CudaMem
::
operator
GpuMat
()
const
{
return
createGpuMatHeader
();
}
inline
CudaMem
::
operator
GpuMat
()
const
{
return
createGpuMatHeader
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment