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
95b3a344
Commit
95b3a344
authored
Oct 08, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Oct 08, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1570 from ilya-lavrenov:ipp_warn_fix
parents
efeadc1f
036e99d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
15 deletions
+15
-15
arithm.cpp
modules/core/src/arithm.cpp
+1
-1
stat.cpp
modules/core/src/stat.cpp
+6
-6
canny.cpp
modules/imgproc/src/canny.cpp
+1
-1
color.cpp
modules/imgproc/src/color.cpp
+3
-3
deriv.cpp
modules/imgproc/src/deriv.cpp
+0
-0
sumpixels.cpp
modules/imgproc/src/sumpixels.cpp
+4
-4
No files found.
modules/core/src/arithm.cpp
View file @
95b3a344
...
...
@@ -948,7 +948,7 @@ static void not8u( const uchar* src1, size_t step1,
const
uchar
*
src2
,
size_t
step2
,
uchar
*
dst
,
size_t
step
,
Size
sz
,
void
*
)
{
IF_IPP
(
fixSteps
(
sz
,
sizeof
(
dst
[
0
]),
step1
,
step2
,
step
);
IF_IPP
(
fixSteps
(
sz
,
sizeof
(
dst
[
0
]),
step1
,
step2
,
step
);
(
void
*
)
src2
;
ippiNot_8u_C1R
(
src1
,
(
int
)
step1
,
dst
,
(
int
)
step
,
(
IppiSize
&
)
sz
),
(
vBinOp8
<
uchar
,
OpNot
<
uchar
>
,
IF_SIMD
(
_VNot8u
)
>
(
src1
,
step1
,
src2
,
step2
,
dst
,
step
,
sz
)));
}
...
...
modules/core/src/stat.cpp
View file @
95b3a344
...
...
@@ -479,7 +479,7 @@ cv::Scalar cv::sum( InputArray _src )
if
(
ippFunc
)
{
Ipp64f
res
[
4
];
if
(
ippFunc
(
src
.
data
,
src
.
step
[
0
],
sz
,
res
,
ippAlgHintAccurate
)
>=
0
)
if
(
ippFunc
(
src
.
data
,
(
int
)
src
.
step
[
0
],
sz
,
res
,
ippAlgHintAccurate
)
>=
0
)
{
Scalar
sc
;
for
(
int
i
=
0
;
i
<
cn
;
i
++
)
...
...
@@ -584,7 +584,7 @@ cv::Scalar cv::mean( InputArray _src, InputArray _mask )
if
(
ippFuncC1
)
{
Ipp64f
res
;
if
(
ippFuncC1
(
src
.
data
,
src
.
step
[
0
],
mask
.
data
,
mask
.
step
[
0
],
sz
,
&
res
)
>=
0
)
if
(
ippFuncC1
(
src
.
data
,
(
int
)
src
.
step
[
0
],
mask
.
data
,
(
int
)
mask
.
step
[
0
],
sz
,
&
res
)
>=
0
)
{
return
Scalar
(
res
);
}
...
...
@@ -598,9 +598,9 @@ cv::Scalar cv::mean( InputArray _src, InputArray _mask )
if
(
ippFuncC3
)
{
Ipp64f
res1
,
res2
,
res3
;
if
(
ippFuncC3
(
src
.
data
,
src
.
step
[
0
],
mask
.
data
,
mask
.
step
[
0
],
sz
,
1
,
&
res1
)
>=
0
&&
ippFuncC3
(
src
.
data
,
src
.
step
[
0
],
mask
.
data
,
mask
.
step
[
0
],
sz
,
2
,
&
res2
)
>=
0
&&
ippFuncC3
(
src
.
data
,
src
.
step
[
0
],
mask
.
data
,
mask
.
step
[
0
],
sz
,
3
,
&
res3
)
>=
0
)
if
(
ippFuncC3
(
src
.
data
,
(
int
)
src
.
step
[
0
],
mask
.
data
,
(
int
)
mask
.
step
[
0
],
sz
,
1
,
&
res1
)
>=
0
&&
ippFuncC3
(
src
.
data
,
(
int
)
src
.
step
[
0
],
mask
.
data
,
(
int
)
mask
.
step
[
0
],
sz
,
2
,
&
res2
)
>=
0
&&
ippFuncC3
(
src
.
data
,
(
int
)
src
.
step
[
0
],
mask
.
data
,
(
int
)
mask
.
step
[
0
],
sz
,
3
,
&
res3
)
>=
0
)
{
return
Scalar
(
res1
,
res2
,
res3
);
}
...
...
@@ -626,7 +626,7 @@ cv::Scalar cv::mean( InputArray _src, InputArray _mask )
if
(
ippFunc
)
{
Ipp64f
res
[
4
];
if
(
ippFunc
(
src
.
data
,
src
.
step
[
0
],
sz
,
res
,
ippAlgHintAccurate
)
>=
0
)
if
(
ippFunc
(
src
.
data
,
(
int
)
src
.
step
[
0
],
sz
,
res
,
ippAlgHintAccurate
)
>=
0
)
{
Scalar
sc
;
for
(
int
i
=
0
;
i
<
cn
;
i
++
)
...
...
modules/imgproc/src/canny.cpp
View file @
95b3a344
...
...
@@ -115,7 +115,7 @@ void cv::Canny( InputArray _src, OutputArray _dst,
#ifdef USE_IPP_CANNY
if
(
aperture_size
==
3
&&
!
L2gradient
&&
ippCanny
(
src
,
dst
,
low_thresh
,
high_thresh
)
>=
0
)
ippCanny
(
src
,
dst
,
(
float
)
low_thresh
,
(
float
)
high_thresh
)
)
return
;
#endif
...
...
modules/imgproc/src/color.cpp
View file @
95b3a344
...
...
@@ -217,7 +217,7 @@ public:
{
const
void
*
yS
=
src
.
ptr
<
uchar
>
(
range
.
start
);
void
*
yD
=
dst
.
ptr
<
uchar
>
(
range
.
start
);
if
(
cvt
(
yS
,
(
int
)
src
.
step
[
0
],
yD
,
(
int
)
dst
.
step
[
0
],
src
.
cols
,
range
.
end
-
range
.
start
)
<
0
)
if
(
!
cvt
(
yS
,
(
int
)
src
.
step
[
0
],
yD
,
(
int
)
dst
.
step
[
0
],
src
.
cols
,
range
.
end
-
range
.
start
)
)
*
ok
=
false
;
}
...
...
@@ -729,7 +729,7 @@ template<> struct RGB2Gray<uchar>
{
typedef
uchar
channel_type
;
RGB2Gray
<
uchar
>
(
int
_srccn
,
int
blueIdx
,
const
int
*
coeffs
)
:
srccn
(
_srccn
)
RGB2Gray
(
int
_srccn
,
int
blueIdx
,
const
int
*
coeffs
)
:
srccn
(
_srccn
)
{
const
int
coeffs0
[]
=
{
R2Y
,
G2Y
,
B2Y
};
if
(
!
coeffs
)
coeffs
=
coeffs0
;
...
...
@@ -760,7 +760,7 @@ template<> struct RGB2Gray<ushort>
{
typedef
ushort
channel_type
;
RGB2Gray
<
ushort
>
(
int
_srccn
,
int
blueIdx
,
const
int
*
_coeffs
)
:
srccn
(
_srccn
)
RGB2Gray
(
int
_srccn
,
int
blueIdx
,
const
int
*
_coeffs
)
:
srccn
(
_srccn
)
{
static
const
int
coeffs0
[]
=
{
R2Y
,
G2Y
,
B2Y
};
memcpy
(
coeffs
,
_coeffs
?
_coeffs
:
coeffs0
,
3
*
sizeof
(
coeffs
[
0
]));
...
...
modules/imgproc/src/deriv.cpp
View file @
95b3a344
This diff is collapsed.
Click to expand it.
modules/imgproc/src/sumpixels.cpp
View file @
95b3a344
...
...
@@ -252,11 +252,11 @@ void cv::integral( InputArray _src, OutputArray _sum, OutputArray _sqsum, Output
{
_sqsum
.
create
(
isize
,
CV_MAKETYPE
(
CV_64F
,
cn
)
);
sqsum
=
_sqsum
.
getMat
();
ippiSqrIntegral_8u32f64f_C1R
(
(
const
Ipp8u
*
)
src
.
data
,
src
.
step
,
(
Ipp32f
*
)
sum
.
data
,
sum
.
step
,
(
Ipp64f
*
)
sqsum
.
data
,
sqsum
.
step
,
srcRoiSize
,
0
,
0
);
ippiSqrIntegral_8u32f64f_C1R
(
(
const
Ipp8u
*
)
src
.
data
,
(
int
)
src
.
step
,
(
Ipp32f
*
)
sum
.
data
,
(
int
)
sum
.
step
,
(
Ipp64f
*
)
sqsum
.
data
,
(
int
)
sqsum
.
step
,
srcRoiSize
,
0
,
0
);
}
else
{
ippiIntegral_8u32f_C1R
(
(
const
Ipp8u
*
)
src
.
data
,
src
.
step
,
(
Ipp32f
*
)
sum
.
data
,
sum
.
step
,
srcRoiSize
,
0
);
ippiIntegral_8u32f_C1R
(
(
const
Ipp8u
*
)
src
.
data
,
(
int
)
src
.
step
,
(
Ipp32f
*
)
sum
.
data
,
(
int
)
sum
.
step
,
srcRoiSize
,
0
);
}
return
;
}
...
...
@@ -272,11 +272,11 @@ void cv::integral( InputArray _src, OutputArray _sum, OutputArray _sqsum, Output
{
_sqsum
.
create
(
isize
,
CV_MAKETYPE
(
CV_64F
,
cn
)
);
sqsum
=
_sqsum
.
getMat
();
ippiSqrIntegral_8u32s64f_C1R
(
(
const
Ipp8u
*
)
src
.
data
,
src
.
step
,
(
Ipp32s
*
)
sum
.
data
,
sum
.
step
,
(
Ipp64f
*
)
sqsum
.
data
,
sqsum
.
step
,
srcRoiSize
,
0
,
0
);
ippiSqrIntegral_8u32s64f_C1R
(
(
const
Ipp8u
*
)
src
.
data
,
(
int
)
src
.
step
,
(
Ipp32s
*
)
sum
.
data
,
(
int
)
sum
.
step
,
(
Ipp64f
*
)
sqsum
.
data
,
(
int
)
sqsum
.
step
,
srcRoiSize
,
0
,
0
);
}
else
{
ippiIntegral_8u32s_C1R
(
(
const
Ipp8u
*
)
src
.
data
,
src
.
step
,
(
Ipp32s
*
)
sum
.
data
,
sum
.
step
,
srcRoiSize
,
0
);
ippiIntegral_8u32s_C1R
(
(
const
Ipp8u
*
)
src
.
data
,
(
int
)
src
.
step
,
(
Ipp32s
*
)
sum
.
data
,
(
int
)
sum
.
step
,
srcRoiSize
,
0
);
}
return
;
}
...
...
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