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
2b27f7db
Commit
2b27f7db
authored
Dec 01, 2015
by
Pavel Vlasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings for IPP9+ build;
parent
a0f86455
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
filter.cpp
modules/imgproc/src/filter.cpp
+2
-2
hough.cpp
modules/imgproc/src/hough.cpp
+2
-2
test_houghLines.cpp
modules/imgproc/test/test_houghLines.cpp
+1
-1
No files found.
modules/imgproc/src/filter.cpp
View file @
2b27f7db
...
...
@@ -4624,7 +4624,7 @@ static bool ipp_filter2D( InputArray _src, OutputArray _dst, int ddepth,
IppAutoBuffer
<
Ipp32f
>
kerTmp
;
int
kerStep
=
sizeof
(
Ipp32f
)
*
kernelSize
.
width
;
#if IPP_VERSION_X100 >= 900
if
(
kernel
.
step
!=
kerStep
)
if
(
(
int
)
kernel
.
step
!=
kerStep
)
{
kerTmp
.
Alloc
(
kerStep
*
kernelSize
.
height
);
if
(
ippiCopy_32f_C1R
((
Ipp32f
*
)
kernel
.
data
,
(
int
)
kernel
.
step
,
kerTmp
,
kerStep
,
kernelSize
)
<
0
)
...
...
@@ -4651,7 +4651,7 @@ static bool ipp_filter2D( InputArray _src, OutputArray _dst, int ddepth,
IppAutoBuffer
<
Ipp16s
>
kerTmp
;
int
kerStep
=
sizeof
(
Ipp16s
)
*
kernelSize
.
width
;
#if IPP_VERSION_X100 >= 900
if
(
kernel
.
step
!=
kerStep
)
if
(
(
int
)
kernel
.
step
!=
kerStep
)
{
kerTmp
.
Alloc
(
kerStep
*
kernelSize
.
height
);
if
(
ippiCopy_16s_C1R
((
Ipp16s
*
)
kernel
.
data
,
(
int
)
kernel
.
step
,
kerTmp
,
kerStep
,
kernelSize
)
<
0
)
...
...
modules/imgproc/src/hough.cpp
View file @
2b27f7db
...
...
@@ -96,7 +96,7 @@ HoughLinesStandard( const Mat& img, float rho, float theta,
int
numangle
=
cvRound
((
max_theta
-
min_theta
)
/
theta
);
int
numrho
=
cvRound
(((
width
+
height
)
*
2
+
1
)
/
rho
);
#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 810 && IPP_DISABLE
D
_BLOCK
#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 810 && IPP_DISABLE_BLOCK
CV_IPP_CHECK
()
{
IppiSize
srcSize
=
{
width
,
height
};
...
...
@@ -429,7 +429,7 @@ HoughLinesProbabilistic( Mat& image,
int
numangle
=
cvRound
(
CV_PI
/
theta
);
int
numrho
=
cvRound
(((
width
+
height
)
*
2
+
1
)
/
rho
);
#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 810 && IPP_DISABLE
D
_BLOCK
#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 810 && IPP_DISABLE_BLOCK
CV_IPP_CHECK
()
{
IppiSize
srcSize
=
{
width
,
height
};
...
...
modules/imgproc/test/test_houghLines.cpp
View file @
2b27f7db
...
...
@@ -189,7 +189,7 @@ void BaseHoughLineTest::run_test(int type)
else
if
(
type
==
PROBABILISTIC
)
count
=
countMatIntersection
<
Vec4i
>
(
exp_lines
,
lines
,
1e-4
f
,
0.
f
);
#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 810 && IPP_DISABLE
D
_BLOCK
#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 810 && IPP_DISABLE_BLOCK
EXPECT_GE
(
count
,
(
int
)
(
exp_lines
.
total
()
*
0.8
)
);
#else
EXPECT_EQ
(
count
,
(
int
)
exp_lines
.
total
());
...
...
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