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
b5936648
Commit
b5936648
authored
Dec 06, 2013
by
Andrey Pavlenko
Committed by
OpenCV Buildbot
Dec 06, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1943 from pentschev:ocl_oclMat_ptr_remove_2.4
parents
7069b4b7
def17f2b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
46 deletions
+0
-46
data_structures.rst
modules/ocl/doc/data_structures.rst
+0
-8
matrix_operations.hpp
modules/ocl/include/opencv2/ocl/matrix_operations.hpp
+0
-30
ocl.hpp
modules/ocl/include/opencv2/ocl/ocl.hpp
+0
-8
No files found.
modules/ocl/doc/data_structures.rst
View file @
b5936648
...
...
@@ -144,14 +144,6 @@ OpenCV C++ 1-D or 2-D dense array class ::
//! returns true if oclMatrix data is NULL
bool empty() const;
//! returns pointer to y-th row
uchar* ptr(int y = 0);
const uchar *ptr(int y = 0) const;
//! template version of the above method
template<typename _Tp> _Tp *ptr(int y = 0);
template<typename _Tp> const _Tp *ptr(int y = 0) const;
//! matrix transposition
oclMat t() const;
...
...
modules/ocl/include/opencv2/ocl/matrix_operations.hpp
View file @
b5936648
...
...
@@ -456,36 +456,6 @@ namespace cv
return
data
==
0
;
}
inline
uchar
*
oclMat
::
ptr
(
int
y
)
{
CV_DbgAssert
(
(
unsigned
)
y
<
(
unsigned
)
rows
);
CV_Error
(
CV_GpuNotSupported
,
"This function hasn't been supported yet.
\n
"
);
return
data
+
step
*
y
;
}
inline
const
uchar
*
oclMat
::
ptr
(
int
y
)
const
{
CV_DbgAssert
(
(
unsigned
)
y
<
(
unsigned
)
rows
);
CV_Error
(
CV_GpuNotSupported
,
"This function hasn't been supported yet.
\n
"
);
return
data
+
step
*
y
;
}
template
<
typename
_Tp
>
inline
_Tp
*
oclMat
::
ptr
(
int
y
)
{
CV_DbgAssert
(
(
unsigned
)
y
<
(
unsigned
)
rows
);
CV_Error
(
CV_GpuNotSupported
,
"This function hasn't been supported yet.
\n
"
);
return
(
_Tp
*
)(
data
+
step
*
y
);
}
template
<
typename
_Tp
>
inline
const
_Tp
*
oclMat
::
ptr
(
int
y
)
const
{
CV_DbgAssert
(
(
unsigned
)
y
<
(
unsigned
)
rows
);
CV_Error
(
CV_GpuNotSupported
,
"This function hasn't been supported yet.
\n
"
);
return
(
const
_Tp
*
)(
data
+
step
*
y
);
}
inline
oclMat
oclMat
::
t
()
const
{
oclMat
tmp
;
...
...
modules/ocl/include/opencv2/ocl/ocl.hpp
View file @
b5936648
...
...
@@ -379,14 +379,6 @@ namespace cv
//! returns true if oclMatrix data is NULL
bool
empty
()
const
;
//! returns pointer to y-th row
uchar
*
ptr
(
int
y
=
0
);
const
uchar
*
ptr
(
int
y
=
0
)
const
;
//! template version of the above method
template
<
typename
_Tp
>
_Tp
*
ptr
(
int
y
=
0
);
template
<
typename
_Tp
>
const
_Tp
*
ptr
(
int
y
=
0
)
const
;
//! matrix transposition
oclMat
t
()
const
;
...
...
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