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
9fe11db7
Commit
9fe11db7
authored
Sep 02, 2014
by
Elena Gvozdeva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabled IPP acceleration for 3-channel norms and for CV_8S only for APPLE
parent
a125cd6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
stat.cpp
modules/core/src/stat.cpp
+11
-3
No files found.
modules/core/src/stat.cpp
View file @
9fe11db7
...
...
@@ -2621,13 +2621,17 @@ double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _m
ippiMaskNormRelFuncC1
ippFuncC1
=
normType
==
NORM_INF
?
(
type
==
CV_8UC1
?
(
ippiMaskNormRelFuncC1
)
ippiNormRel_Inf_8u_C1MR
:
#ifndef __APPLE__
type
==
CV_8SC1
?
(
ippiMaskNormRelFuncC1
)
ippiNormRel_Inf_8s_C1MR
:
#endif
type
==
CV_16UC1
?
(
ippiMaskNormRelFuncC1
)
ippiNormRel_Inf_16u_C1MR
:
type
==
CV_32FC1
?
(
ippiMaskNormRelFuncC1
)
ippiNormRel_Inf_32f_C1MR
:
0
)
:
normType
==
NORM_L1
?
(
type
==
CV_8UC1
?
(
ippiMaskNormRelFuncC1
)
ippiNormRel_L1_8u_C1MR
:
#ifndef __APPLE__
type
==
CV_8SC1
?
(
ippiMaskNormRelFuncC1
)
ippiNormRel_L1_8s_C1MR
:
#endif
type
==
CV_16UC1
?
(
ippiMaskNormRelFuncC1
)
ippiNormRel_L1_16u_C1MR
:
type
==
CV_32FC1
?
(
ippiMaskNormRelFuncC1
)
ippiNormRel_L1_32f_C1MR
:
0
)
:
...
...
@@ -2723,7 +2727,9 @@ double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _m
0
)
:
normType
==
NORM_L1
?
(
type
==
CV_8UC1
?
(
ippiMaskNormDiffFuncC1
)
ippiNormDiff_L1_8u_C1MR
:
//type == CV_8SC1 ? (ippiMaskNormDiffFuncC1)ippiNormDiff_L1_8s_C1MR :
#ifndef __APPLE__
type
==
CV_8SC1
?
(
ippiMaskNormDiffFuncC1
)
ippiNormDiff_L1_8s_C1MR
:
#endif
type
==
CV_16UC1
?
(
ippiMaskNormDiffFuncC1
)
ippiNormDiff_L1_16u_C1MR
:
type
==
CV_32FC1
?
(
ippiMaskNormDiffFuncC1
)
ippiNormDiff_L1_32f_C1MR
:
0
)
:
...
...
@@ -2740,7 +2746,8 @@ double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _m
return
normType
==
NORM_L2SQR
?
(
double
)(
norm
*
norm
)
:
(
double
)
norm
;
setIppErrorStatus
();
}
/*typedef IppStatus (CV_STDCALL* ippiMaskNormDiffFuncC3)(const void *, int, const void *, int, const void *, int, IppiSize, int, Ipp64f *);
#ifndef __APPLE__
typedef
IppStatus
(
CV_STDCALL
*
ippiMaskNormDiffFuncC3
)(
const
void
*
,
int
,
const
void
*
,
int
,
const
void
*
,
int
,
IppiSize
,
int
,
Ipp64f
*
);
ippiMaskNormDiffFuncC3
ippFuncC3
=
normType
==
NORM_INF
?
(
type
==
CV_8UC3
?
(
ippiMaskNormDiffFuncC3
)
ippiNormDiff_Inf_8u_C3CMR
:
...
...
@@ -2775,7 +2782,8 @@ double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _m
return
normType
==
NORM_L2SQR
?
(
double
)(
norm
*
norm
)
:
(
double
)
norm
;
}
setIppErrorStatus
();
}*/
}
#endif
}
else
{
...
...
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