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
025f679d
Commit
025f679d
authored
5 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14434 from seiko2plus:vsx_fix_reduce_sad
parents
82be2d62
afb157df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
intrin_vsx.hpp
modules/core/include/opencv2/core/hal/intrin_vsx.hpp
+1
-1
No files found.
modules/core/include/opencv2/core/hal/intrin_vsx.hpp
View file @
025f679d
...
...
@@ -763,7 +763,7 @@ inline unsigned v_reduce_sad(const v_int8x16& a, const v_int8x16& b)
inline
unsigned
v_reduce_sad
(
const
v_uint16x8
&
a
,
const
v_uint16x8
&
b
)
{
vec_ushort8
ad
=
vec_absd
(
a
.
val
,
b
.
val
);
VSX_UNUSED
(
vec_int4
)
sum
=
vec_sums
(
vec_int4_c
(
vec_unpackhu
(
ad
))
,
vec_int4_c
(
vec_unpacklu
(
ad
))
);
VSX_UNUSED
(
vec_int4
)
sum
=
vec_sums
(
vec_int4_c
(
vec_unpackhu
(
ad
))
+
vec_int4_c
(
vec_unpacklu
(
ad
)),
vec_int4_z
);
return
(
unsigned
)
vec_extract
(
sum
,
3
);
}
inline
unsigned
v_reduce_sad
(
const
v_int16x8
&
a
,
const
v_int16x8
&
b
)
...
...
This diff is collapsed.
Click to expand it.
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