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
2057f2c4
Commit
2057f2c4
authored
Apr 18, 2011
by
Vladimir Dudnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed build issues related to changes in IPP calls.
parent
8e776837
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
arithm.cpp
modules/core/src/arithm.cpp
+0
-0
matmul.cpp
modules/core/src/matmul.cpp
+0
-0
precomp.hpp
modules/core/src/precomp.hpp
+7
-7
system.cpp
modules/core/src/system.cpp
+2
-1
No files found.
modules/core/src/arithm.cpp
View file @
2057f2c4
This diff is collapsed.
Click to expand it.
modules/core/src/matmul.cpp
View file @
2057f2c4
This diff is collapsed.
Click to expand it.
modules/core/src/precomp.hpp
View file @
2057f2c4
...
...
@@ -87,7 +87,7 @@ extern const uchar g_Saturate8u[];
void
deleteThreadAllocData
();
void
deleteThreadRNGData
();
#endif
template
<
typename
T1
,
typename
T2
=
T1
,
typename
T3
=
T1
>
struct
OpAdd
{
typedef
T1
type1
;
...
...
@@ -176,24 +176,24 @@ typedef void (*BinaryFunc)(const uchar* src1, size_t step1,
void
*
);
BinaryFunc
getConvertFunc
(
int
sdepth
,
int
ddepth
);
BinaryFunc
getConvertScaleFunc
(
int
sdepth
,
int
ddepth
);
BinaryFunc
getConvertScaleFunc
(
int
sdepth
,
int
ddepth
);
BinaryFunc
getCopyMaskFunc
(
size_t
esz
);
enum
{
BLOCK_SIZE
=
1024
};
#ifdef HAVE_IPP
static
inline
IppiSize
ippiSize
(
int
width
,
int
height
)
{
IppiSize
sz
=
{
width
,
height
};
return
sz
;
}
static
inline
IppiSize
ippiSize
(
Size
_sz
)
{
reIppiSize
sz
=
{
_sz
.
width
,
_sz
.
height
};
return
sz
;
}
static
inline
IppiSize
ippiSize
(
int
width
,
int
height
)
{
IppiSize
sz
=
{
width
,
height
};
return
sz
;
}
static
inline
IppiSize
ippiSize
(
Size
_sz
)
{
IppiSize
sz
=
{
_sz
.
width
,
_sz
.
height
};
return
sz
;
}
#endif
#if defined HAVE_IPP && (IPP_VERSION_MAJOR >= 7)
#define ARITHM_USE_IPP 1
#define IF_IPP(then_call, else_call) then_call
#else
#define ARITHM_USE_IPP 0
#define IF_IPP(then_call, else_call) else_call
#endif
#endif
}
#endif
/*_CXCORE_INTERNAL_H_*/
modules/core/src/system.cpp
View file @
2057f2c4
...
...
@@ -170,9 +170,10 @@ struct IPPInitializer
IPPInitializer
ippInitializer
;
#else
volatile
bool
useOptimizedFlag
=
false
;
volatile
bool
USE_SSE2
=
false
;
#endif
volatile
bool
USE_SSE2
=
false
;
void
setUseOptimized
(
bool
flag
)
{
useOptimizedFlag
=
flag
;
...
...
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