Commit 5bf4cd8e authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/ppc/util_altivec: add () to VEC_SPLAT16 macro

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c299b6fd
...@@ -149,7 +149,7 @@ static inline vec_u8 load_with_perm_vec(int offset, const uint8_t *src, vec_u8 p ...@@ -149,7 +149,7 @@ static inline vec_u8 load_with_perm_vec(int offset, const uint8_t *src, vec_u8 p
#endif #endif
#if HAVE_BIGENDIAN #if HAVE_BIGENDIAN
#define VEC_SPLAT16(a,b) vec_splat((vec_s16)a, b) #define VEC_SPLAT16(a,b) vec_splat((vec_s16)(a), b)
#else #else
#define VEC_SPLAT16(a,b) vec_splat((vec_s16)(vec_perm(a, a, vcswapi2s(0,1,2,3))), b) #define VEC_SPLAT16(a,b) vec_splat((vec_s16)(vec_perm(a, a, vcswapi2s(0,1,2,3))), b)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment