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
35a89b15
Commit
35a89b15
authored
Feb 24, 2015
by
Mansour Moufid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change some vector mask types to unsigned.
parent
06b97b7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arithm.cpp
modules/core/src/arithm.cpp
+2
-2
smooth.cpp
modules/imgproc/src/smooth.cpp
+2
-2
No files found.
modules/core/src/arithm.cpp
View file @
35a89b15
...
...
@@ -427,7 +427,7 @@ struct _VAdd32f { __m128 operator()(const __m128& a, const __m128& b) const { re
struct
_VSub32f
{
__m128
operator
()(
const
__m128
&
a
,
const
__m128
&
b
)
const
{
return
_mm_sub_ps
(
a
,
b
);
}};
struct
_VMin32f
{
__m128
operator
()(
const
__m128
&
a
,
const
__m128
&
b
)
const
{
return
_mm_min_ps
(
a
,
b
);
}};
struct
_VMax32f
{
__m128
operator
()(
const
__m128
&
a
,
const
__m128
&
b
)
const
{
return
_mm_max_ps
(
a
,
b
);
}};
static
int
CV_DECL_ALIGNED
(
16
)
v32f_absmask
[]
=
{
0x7fffffff
,
0x7fffffff
,
0x7fffffff
,
0x7fffffff
};
static
unsigned
int
CV_DECL_ALIGNED
(
16
)
v32f_absmask
[]
=
{
0x7fffffff
,
0x7fffffff
,
0x7fffffff
,
0x7fffffff
};
struct
_VAbsDiff32f
{
__m128
operator
()(
const
__m128
&
a
,
const
__m128
&
b
)
const
...
...
@@ -441,7 +441,7 @@ struct _VSub64f { __m128d operator()(const __m128d& a, const __m128d& b) const {
struct
_VMin64f
{
__m128d
operator
()(
const
__m128d
&
a
,
const
__m128d
&
b
)
const
{
return
_mm_min_pd
(
a
,
b
);
}};
struct
_VMax64f
{
__m128d
operator
()(
const
__m128d
&
a
,
const
__m128d
&
b
)
const
{
return
_mm_max_pd
(
a
,
b
);
}};
static
int
CV_DECL_ALIGNED
(
16
)
v64f_absmask
[]
=
{
0xffffffff
,
0x7fffffff
,
0xffffffff
,
0x7fffffff
};
static
unsigned
int
CV_DECL_ALIGNED
(
16
)
v64f_absmask
[]
=
{
0xffffffff
,
0x7fffffff
,
0xffffffff
,
0x7fffffff
};
struct
_VAbsDiff64f
{
__m128d
operator
()(
const
__m128d
&
a
,
const
__m128d
&
b
)
const
...
...
modules/imgproc/src/smooth.cpp
View file @
35a89b15
...
...
@@ -1736,7 +1736,7 @@ public:
#if CV_SSE3
int
CV_DECL_ALIGNED
(
16
)
buf
[
4
];
float
CV_DECL_ALIGNED
(
16
)
bufSum
[
4
];
static
const
int
CV_DECL_ALIGNED
(
16
)
bufSignMask
[]
=
{
0x80000000
,
0x80000000
,
0x80000000
,
0x80000000
};
static
const
unsigned
int
CV_DECL_ALIGNED
(
16
)
bufSignMask
[]
=
{
0x80000000
,
0x80000000
,
0x80000000
,
0x80000000
};
bool
haveSSE3
=
checkHardwareSupport
(
CV_CPU_SSE3
);
#endif
...
...
@@ -2003,7 +2003,7 @@ public:
#if CV_SSE3
int
CV_DECL_ALIGNED
(
16
)
idxBuf
[
4
];
float
CV_DECL_ALIGNED
(
16
)
bufSum32
[
4
];
static
const
int
CV_DECL_ALIGNED
(
16
)
bufSignMask
[]
=
{
0x80000000
,
0x80000000
,
0x80000000
,
0x80000000
};
static
const
unsigned
int
CV_DECL_ALIGNED
(
16
)
bufSignMask
[]
=
{
0x80000000
,
0x80000000
,
0x80000000
,
0x80000000
};
bool
haveSSE3
=
checkHardwareSupport
(
CV_CPU_SSE3
);
#endif
...
...
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