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
06f32e3b
Commit
06f32e3b
authored
Dec 03, 2018
by
Vitaly Tuzov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reworked separable filter to use wide universal intrinsics
parent
b0a08cce
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
intrin_avx.hpp
modules/core/include/opencv2/core/hal/intrin_avx.hpp
+10
-0
filter.cpp
modules/imgproc/src/filter.cpp
+0
-0
No files found.
modules/core/include/opencv2/core/hal/intrin_avx.hpp
View file @
06f32e3b
...
@@ -1278,6 +1278,16 @@ OPENCV_HAL_IMPL_AVX_CHECK_FLT(v_float64x4, 15)
...
@@ -1278,6 +1278,16 @@ OPENCV_HAL_IMPL_AVX_CHECK_FLT(v_float64x4, 15)
OPENCV_HAL_IMPL_AVX_MULADD
(
v_float32x8
,
ps
)
OPENCV_HAL_IMPL_AVX_MULADD
(
v_float32x8
,
ps
)
OPENCV_HAL_IMPL_AVX_MULADD
(
v_float64x4
,
pd
)
OPENCV_HAL_IMPL_AVX_MULADD
(
v_float64x4
,
pd
)
inline
v_int32x8
v_fma
(
const
v_int32x8
&
a
,
const
v_int32x8
&
b
,
const
v_int32x8
&
c
)
{
return
a
*
b
+
c
;
}
inline
v_int32x8
v_muladd
(
const
v_int32x8
&
a
,
const
v_int32x8
&
b
,
const
v_int32x8
&
c
)
{
return
v_fma
(
a
,
b
,
c
);
}
inline
v_float32x8
v_invsqrt
(
const
v_float32x8
&
x
)
inline
v_float32x8
v_invsqrt
(
const
v_float32x8
&
x
)
{
{
v_float32x8
half
=
x
*
v256_setall_f32
(
0.5
);
v_float32x8
half
=
x
*
v256_setall_f32
(
0.5
);
...
...
modules/imgproc/src/filter.cpp
View file @
06f32e3b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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