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
6168eaf7
Commit
6168eaf7
authored
Aug 13, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation: fixed "template<class T> const T" case for ".. ocv:function::" macro
parent
d6e3ccc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
ocv.py
doc/ocv.py
+15
-1
image_filtering.rst
modules/gpu/doc/image_filtering.rst
+1
-1
No files found.
doc/ocv.py
View file @
6168eaf7
...
...
@@ -560,6 +560,18 @@ class ConstDefExpr(WrappingDefExpr):
def
__unicode__
(
self
):
return
(
self
.
prefix
and
u'const
%
s'
or
u'
%
s const'
)
%
self
.
typename
class
ConstTemplateDefExpr
(
WrappingDefExpr
):
def
__init__
(
self
,
typename
,
prefix
=
False
):
WrappingDefExpr
.
__init__
(
self
,
typename
)
self
.
prefix
=
prefix
def
get_id
(
self
):
return
self
.
typename
.
get_id
()
+
u'C'
def
__unicode__
(
self
):
return
(
self
.
prefix
and
u'const
%
s'
or
u'
%
s const'
)
%
self
.
typename
class
CastOpDefExpr
(
PrimaryDefExpr
):
...
...
@@ -933,9 +945,11 @@ class DefinitionParser(object):
else
:
rv
=
PathDefExpr
(
result
)
is_const
=
self
.
_peek_const
(
modifiers
)
if
is_const
:
rv
=
ConstDefExpr
(
rv
,
prefix
=
True
)
if
modifiers
:
rv
=
ModifierDefExpr
(
rv
,
modifiers
)
return
self
.
_attach_crefptr
(
rv
,
is_const
)
return
self
.
_attach_crefptr
(
rv
,
False
)
def
_parse_default_expr
(
self
):
self
.
skip_ws
()
...
...
modules/gpu/doc/image_filtering.rst
View file @
6168eaf7
...
...
@@ -240,7 +240,7 @@ gpu::boxFilter
:param anchor: Anchor point. The default value ``Point(-1, -1)`` means that the anchor is at the kernel center.
.. note:: This filter does not check out-of-border accesses, so only a proper sub-matrix of a bigger matrix has to be passed to it.
.. note:: This filter does not check out-of-border accesses, so only a proper sub-matrix of a bigger matrix has to be passed to it.
.. seealso:: :ocv:func:`boxFilter`
...
...
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