From 80a61f08d2d6059b0aaffa4c8b8120fb0ab0ca75 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 24 Jul 2008 10:53:32 +0000 Subject: Remove AltiVec vector declaration compiler compatibility macros. The original problem was that FSF and Apple gcc used a different syntax for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support the standard {} syntax and versions that support {} are available on all relevant Mac OS X versions. Thus the greater compatibility is no longer worth cluttering the code with macros. Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/idct_altivec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libavcodec/ppc/idct_altivec.c') diff --git a/libavcodec/ppc/idct_altivec.c b/libavcodec/ppc/idct_altivec.c index 5d596b1..7acef48 100644 --- a/libavcodec/ppc/idct_altivec.c +++ b/libavcodec/ppc/idct_altivec.c @@ -157,11 +157,11 @@ static const_vector_s16_t constants[5] = { - AVV(23170, 13573, 6518, 21895, -23170, -21895, 32, 31), - AVV(16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725), - AVV(22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521), - AVV(21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692), - AVV(19266, 26722, 25172, 22654, 19266, 22654, 25172, 26722) + {23170, 13573, 6518, 21895, -23170, -21895, 32, 31}, + {16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725}, + {22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521}, + {21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692}, + {19266, 26722, 25172, 22654, 19266, 22654, 25172, 26722} }; void idct_put_altivec(uint8_t* dest, int stride, vector_s16_t* block) -- cgit v1.1