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
1c04a5ec
Commit
1c04a5ec
authored
6 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12965 from terfendail:medianBlur_wintr
parents
e5afa62c
2dd98e7c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
11 deletions
+8
-11
intrin_avx.hpp
modules/core/include/opencv2/core/hal/intrin_avx.hpp
+8
-11
bilateral_filter.cpp
modules/imgproc/src/bilateral_filter.cpp
+0
-0
smooth.cpp
modules/imgproc/src/smooth.cpp
+0
-0
No files found.
modules/core/include/opencv2/core/hal/intrin_avx.hpp
View file @
1c04a5ec
...
...
@@ -1363,25 +1363,22 @@ inline v_float64x4 v_cvt_f64_high(const v_float32x8& a)
inline
v_int32x8
v_lut
(
const
int
*
tab
,
const
v_int32x8
&
idxvec
)
{
int
CV_DECL_ALIGNED
(
32
)
idx
[
8
];
v_store_aligned
(
idx
,
idxvec
);
return
v_int32x8
(
_mm256_setr_epi32
(
tab
[
idx
[
0
]],
tab
[
idx
[
1
]],
tab
[
idx
[
2
]],
tab
[
idx
[
3
]],
tab
[
idx
[
4
]],
tab
[
idx
[
5
]],
tab
[
idx
[
6
]],
tab
[
idx
[
7
]]));
return
v_int32x8
(
_mm256_i32gather_epi32
(
tab
,
idxvec
.
val
,
4
));
}
inline
v_uint32x8
v_lut
(
const
unsigned
*
tab
,
const
v_int32x8
&
idxvec
)
{
return
v_reinterpret_as_u32
(
v_lut
((
const
int
*
)
tab
,
idxvec
));
}
inline
v_float32x8
v_lut
(
const
float
*
tab
,
const
v_int32x8
&
idxvec
)
{
int
CV_DECL_ALIGNED
(
32
)
idx
[
8
];
v_store_aligned
(
idx
,
idxvec
);
return
v_float32x8
(
_mm256_setr_ps
(
tab
[
idx
[
0
]],
tab
[
idx
[
1
]],
tab
[
idx
[
2
]],
tab
[
idx
[
3
]],
tab
[
idx
[
4
]],
tab
[
idx
[
5
]],
tab
[
idx
[
6
]],
tab
[
idx
[
7
]]));
return
v_float32x8
(
_mm256_i32gather_ps
(
tab
,
idxvec
.
val
,
4
));
}
inline
v_float64x4
v_lut
(
const
double
*
tab
,
const
v_int32x8
&
idxvec
)
{
int
CV_DECL_ALIGNED
(
32
)
idx
[
8
];
v_store_aligned
(
idx
,
idxvec
);
return
v_float64x4
(
_mm256_setr_pd
(
tab
[
idx
[
0
]],
tab
[
idx
[
1
]],
tab
[
idx
[
2
]],
tab
[
idx
[
3
]]));
return
v_float64x4
(
_mm256_i32gather_pd
(
tab
,
_mm256_castsi256_si128
(
idxvec
.
val
),
8
));
}
inline
void
v_lut_deinterleave
(
const
float
*
tab
,
const
v_int32x8
&
idxvec
,
v_float32x8
&
x
,
v_float32x8
&
y
)
...
...
This diff is collapsed.
Click to expand it.
modules/imgproc/src/bilateral_filter.cpp
0 → 100644
View file @
1c04a5ec
This diff is collapsed.
Click to expand it.
modules/imgproc/src/smooth.cpp
View file @
1c04a5ec
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