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
4443d6b0
Commit
4443d6b0
authored
Dec 19, 2014
by
orestis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SymmColumnSmallVec_32s16s [-1, 0, 1]
NEON speedup: 3.27x Auto-vect speedup: 1.01x
parent
99e782e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
filter.cpp
modules/imgproc/src/filter.cpp
+17
-1
No files found.
modules/imgproc/src/filter.cpp
View file @
4443d6b0
...
...
@@ -2725,7 +2725,23 @@ struct SymmColumnSmallVec_32s16s
{
if
(
fabs
(
ky
[
1
])
==
1
&&
ky
[
1
]
==
-
ky
[
-
1
]
)
{
return
0
;
if
(
ky
[
1
]
<
0
)
std
::
swap
(
S0
,
S2
);
for
(
;
i
<=
width
-
4
;
i
+=
4
)
{
int32x4_t
x0
,
x1
;
x0
=
vld1q_s32
((
int32_t
const
*
)(
S0
+
i
));
x1
=
vld1q_s32
((
int32_t
const
*
)(
S2
+
i
));
int32x4_t
y0
,
y1
;
y0
=
vsubq_s32
(
x1
,
x0
);
y1
=
vqaddq_s32
(
y0
,
d4
);
int16x4_t
t
;
t
=
vqmovn_s32
(
y1
);
vst1_s16
((
int16_t
*
)(
dst
+
i
),
t
);
}
}
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