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
e01f0488
Commit
e01f0488
authored
Nov 21, 2011
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor
parent
00be2cf1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
19 deletions
+28
-19
gpumat.hpp
modules/core/include/opencv2/core/gpumat.hpp
+28
-19
gpumat.cpp
modules/core/src/gpumat.cpp
+0
-0
No files found.
modules/core/include/opencv2/core/gpumat.hpp
View file @
e01f0488
...
@@ -268,20 +268,25 @@ namespace cv { namespace gpu
...
@@ -268,20 +268,25 @@ namespace cv { namespace gpu
GpuMat
mapDevice
();
GpuMat
mapDevice
();
void
unmapDevice
();
void
unmapDevice
();
in
t
rows
()
const
;
in
line
int
rows
()
const
{
return
rows_
;
}
in
t
cols
()
const
;
in
line
int
cols
()
const
{
return
cols_
;
}
Size
size
()
const
;
inline
Size
size
()
const
{
return
Size
(
cols_
,
rows_
);
}
bool
empty
()
const
;
inline
bool
empty
()
const
{
return
rows_
==
0
||
cols_
==
0
;
}
in
t
type
()
const
;
in
line
int
type
()
const
{
return
type_
;
}
in
t
depth
()
const
;
in
line
int
depth
()
const
{
return
CV_MAT_DEPTH
(
type_
);
}
in
t
channels
()
const
;
in
line
int
channels
()
const
{
return
CV_MAT_CN
(
type_
);
}
in
t
elemSize
()
const
;
in
line
int
elemSize
()
const
{
return
CV_ELEM_SIZE
(
type_
);
}
in
t
elemSize1
()
const
;
in
line
int
elemSize1
()
const
{
return
CV_ELEM_SIZE1
(
type_
);
}
Usage
usage
()
const
;
inline
Usage
usage
()
const
{
return
usage_
;
}
private
:
private
:
int
rows_
;
int
cols_
;
int
type_
;
Usage
usage_
;
class
Impl
;
class
Impl
;
Ptr
<
Impl
>
impl_
;
Ptr
<
Impl
>
impl_
;
};
};
...
@@ -314,18 +319,22 @@ namespace cv { namespace gpu
...
@@ -314,18 +319,22 @@ namespace cv { namespace gpu
void
bind
()
const
;
void
bind
()
const
;
void
unbind
()
const
;
void
unbind
()
const
;
in
t
rows
()
const
;
in
line
int
rows
()
const
{
return
rows_
;
}
in
t
cols
()
const
;
in
line
int
cols
()
const
{
return
cols_
;
}
Size
size
()
const
;
inline
Size
size
()
const
{
return
Size
(
cols_
,
rows_
);
}
bool
empty
()
const
;
inline
bool
empty
()
const
{
return
rows_
==
0
||
cols_
==
0
;
}
in
t
type
()
const
;
in
line
int
type
()
const
{
return
type_
;
}
in
t
depth
()
const
;
in
line
int
depth
()
const
{
return
CV_MAT_DEPTH
(
type_
);
}
in
t
channels
()
const
;
in
line
int
channels
()
const
{
return
CV_MAT_CN
(
type_
);
}
in
t
elemSize
()
const
;
in
line
int
elemSize
()
const
{
return
CV_ELEM_SIZE
(
type_
);
}
in
t
elemSize1
()
const
;
in
line
int
elemSize1
()
const
{
return
CV_ELEM_SIZE1
(
type_
);
}
private
:
private
:
int
rows_
;
int
cols_
;
int
type_
;
class
Impl
;
class
Impl
;
Ptr
<
Impl
>
impl_
;
Ptr
<
Impl
>
impl_
;
};
};
...
...
modules/core/src/gpumat.cpp
View file @
e01f0488
This diff is collapsed.
Click to expand it.
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