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
61a7f48b
Commit
61a7f48b
authored
Dec 19, 2014
by
orestis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SymmColumnSmallVec_32s16s [1, -2, 1]
NEON speedup: 2.75x Auto-vect speedup: 1.01x
parent
4f906372
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
filter.cpp
modules/imgproc/src/filter.cpp
+18
-1
No files found.
modules/imgproc/src/filter.cpp
View file @
61a7f48b
...
@@ -2651,7 +2651,24 @@ struct SymmColumnSmallVec_32s16s
...
@@ -2651,7 +2651,24 @@ struct SymmColumnSmallVec_32s16s
}
}
else
if
(
ky
[
0
]
==
-
2
&&
ky
[
1
]
==
1
)
else
if
(
ky
[
0
]
==
-
2
&&
ky
[
1
]
==
1
)
{
{
return
0
;
for
(
;
i
<=
width
-
4
;
i
+=
4
)
{
int32x4_t
x0
,
x1
,
x2
;
x0
=
vld1q_s32
((
int32_t
const
*
)(
S0
+
i
));
x1
=
vld1q_s32
((
int32_t
const
*
)(
S1
+
i
));
x2
=
vld1q_s32
((
int32_t
const
*
)(
S2
+
i
));
int32x4_t
y0
,
y1
,
y2
,
y3
;
y0
=
vaddq_s32
(
x0
,
x2
);
y1
=
vqshlq_n_s32
(
x1
,
1
);
y2
=
vsubq_s32
(
y0
,
y1
);
y3
=
vaddq_s32
(
y2
,
d4
);
int16x4_t
t
;
t
=
vqmovn_s32
(
y3
);
vst1_s16
((
int16_t
*
)(
dst
+
i
),
t
);
}
}
}
else
if
(
ky
[
0
]
==
10
&&
ky
[
1
]
==
3
)
else
if
(
ky
[
0
]
==
10
&&
ky
[
1
]
==
3
)
{
{
...
...
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