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
6d460bb6
Commit
6d460bb6
authored
Oct 31, 2016
by
Tomoaki Teshima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build error on old compiler
* vget_lane_** accepts constant value, not variable
parent
ecb8fb96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
intrin_neon.hpp
modules/core/include/opencv2/core/hal/intrin_neon.hpp
+1
-3
No files found.
modules/core/include/opencv2/core/hal/intrin_neon.hpp
View file @
6d460bb6
...
...
@@ -285,8 +285,6 @@ template <typename T> static inline float16x4_t vld1_f16(const T* ptr)
{
return
vreinterpret_f16_s16
(
vld1_s16
((
const
short
*
)
ptr
));
}
template
<
typename
T
>
static
inline
void
vst1_f16
(
T
*
ptr
,
float16x4_t
a
)
{
vst1_s16
((
short
*
)
ptr
,
vreinterpret_s16_f16
(
a
));
}
static
inline
short
vget_lane_f16
(
float16x4_t
a
,
int
b
)
{
return
vget_lane_s16
(
vreinterpret_s16_f16
(
a
),
b
);
}
struct
v_float16x4
{
...
...
@@ -302,7 +300,7 @@ struct v_float16x4
}
short
get0
()
const
{
return
vget_lane_
f16
(
val
,
0
);
return
vget_lane_
s16
(
vreinterpret_f16_s16
(
val
)
,
0
);
}
float16x4_t
val
;
};
...
...
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