summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/hevcdsp_template.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-12-13 13:45:11 +0100
committerDiego Biurrun <diego@biurrun.de>2016-12-14 14:08:43 +0100
commit39929e55eb13eeb8dfbe1bc99301fecf6b8942dd (patch)
tree3d6ef9f18345767006212b76f1c3a228222942ce /libavcodec/ppc/hevcdsp_template.c
parent554e55bbf0e4a3640a784cb512b816e776c56333 (diff)
ppc: hevcdsp: Use shorthands for vector types
This is more consistent and fixes compilation with clang.
Diffstat (limited to 'libavcodec/ppc/hevcdsp_template.c')
-rw-r--r--libavcodec/ppc/hevcdsp_template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ppc/hevcdsp_template.c b/libavcodec/ppc/hevcdsp_template.c
index a68ee18dbb..368ae91477 100644
--- a/libavcodec/ppc/hevcdsp_template.c
+++ b/libavcodec/ppc/hevcdsp_template.c
@@ -22,9 +22,9 @@ static void FUNC(ff_hevc_idct_4x4, BIT_DEPTH)(int16_t *coeffs, int col_limit)
{
const int shift = 7;
const int shift2 = 20 - BIT_DEPTH;
- vector int16_t src_01, src_23;
- vector int32_t res[4];
- vector int16_t res_packed[2];
+ vec_s16 src_01, src_23;
+ vec_s32 res[4];
+ vec_s16 res_packed[2];
src_01 = vec_ld(0, coeffs);
src_23 = vec_ld(16, coeffs);