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
3e2d8ca0
Commit
3e2d8ca0
authored
Jan 16, 2020
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16325 from alalek:core_simd_neon_fix_alignment_lut
parents
f6137292
a9f3acb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
intrin_neon.hpp
modules/core/include/opencv2/core/hal/intrin_neon.hpp
+4
-2
No files found.
modules/core/include/opencv2/core/hal/intrin_neon.hpp
View file @
3e2d8ca0
...
@@ -2129,10 +2129,12 @@ inline v_float32x4 v_lut(const float* tab, const int* idx)
...
@@ -2129,10 +2129,12 @@ inline v_float32x4 v_lut(const float* tab, const int* idx)
}
}
inline
v_float32x4
v_lut_pairs
(
const
float
*
tab
,
const
int
*
idx
)
inline
v_float32x4
v_lut_pairs
(
const
float
*
tab
,
const
int
*
idx
)
{
{
typedef
uint64
CV_DECL_ALIGNED
(
1
)
unaligned_uint64
;
uint64
CV_DECL_ALIGNED
(
32
)
elems
[
2
]
=
uint64
CV_DECL_ALIGNED
(
32
)
elems
[
2
]
=
{
{
*
(
uint64
*
)(
tab
+
idx
[
0
]),
*
(
u
naligned_u
int64
*
)(
tab
+
idx
[
0
]),
*
(
uint64
*
)(
tab
+
idx
[
1
])
*
(
u
naligned_u
int64
*
)(
tab
+
idx
[
1
])
};
};
return
v_float32x4
(
vreinterpretq_f32_u64
(
vld1q_u64
(
elems
)));
return
v_float32x4
(
vreinterpretq_f32_u64
(
vld1q_u64
(
elems
)));
}
}
...
...
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