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
ccd8031a
Commit
ccd8031a
authored
Dec 02, 2016
by
apavlenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing compilation
parent
1e2ddc30
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
smooth.cpp
modules/imgproc/src/smooth.cpp
+7
-7
No files found.
modules/imgproc/src/smooth.cpp
View file @
ccd8031a
...
...
@@ -1703,8 +1703,8 @@ namespace cv
//ATTENTION: VX_CONTEXT_IMMEDIATE_BORDER attribute change could lead to strange issues in multi-threaded environments
//since OpenVX standart says nothing about thread-safety for now
vx_border_t
prevBorder
=
ctx
.
borderMode
();
ctx
.
set
BorderMode
(
border
);
ivx
::
border_t
prevBorder
=
ctx
.
immediateBorder
();
ctx
.
set
ImmediateBorder
(
border
);
if
(
ddepth
==
CV_8U
&&
ksize
.
width
==
3
&&
ksize
.
height
==
3
&&
normalize
)
{
ivx
::
IVX_CHECK_STATUS
(
vxuBox3x3
(
ctx
,
ia
,
ib
));
...
...
@@ -1726,7 +1726,7 @@ namespace cv
cnv
.
setScale
(
1
<<
15
);
ivx
::
IVX_CHECK_STATUS
(
vxuConvolve
(
ctx
,
ia
,
cnv
,
ib
));
}
ctx
.
set
BorderMode
(
prevBorder
);
ctx
.
set
ImmediateBorder
(
prevBorder
);
}
catch
(
ivx
::
RuntimeError
&
e
)
{
...
...
@@ -3405,8 +3405,8 @@ namespace cv
//ATTENTION: VX_CONTEXT_IMMEDIATE_BORDER attribute change could lead to strange issues in multi-threaded environments
//since OpenVX standart says nothing about thread-safety for now
vx_border_t
prevBorder
=
ctx
.
borderMode
();
ctx
.
set
BorderMode
(
border
);
ivx
::
border_t
prevBorder
=
ctx
.
immediateBorder
();
ctx
.
set
ImmediateBorder
(
border
);
#ifdef VX_VERSION_1_1
if
(
ksize
==
3
)
#endif
...
...
@@ -3425,7 +3425,7 @@ namespace cv
ivx
::
IVX_CHECK_STATUS
(
vxQueryContext
(
ctx
,
VX_CONTEXT_NONLINEAR_MAX_DIMENSION
,
&
supportedSize
,
sizeof
(
supportedSize
)));
if
((
vx_size
)
ksize
>
supportedSize
)
{
ctx
.
set
BorderMode
(
prevBorder
);
ctx
.
set
ImmediateBorder
(
prevBorder
);
return
false
;
}
Mat
mask
(
ksize
,
ksize
,
CV_8UC1
,
Scalar
(
255
));
...
...
@@ -3435,7 +3435,7 @@ namespace cv
ivx
::
IVX_CHECK_STATUS
(
vxuNonLinearFilter
(
ctx
,
VX_NONLINEAR_FILTER_MEDIAN
,
ia
,
mtx
,
ib
));
}
#endif
ctx
.
set
BorderMode
(
prevBorder
);
ctx
.
set
ImmediateBorder
(
prevBorder
);
}
catch
(
ivx
::
RuntimeError
&
e
)
{
...
...
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