Mercurial > libavcodec.hg
diff ppc/h264_template_altivec.c @ 10961:34a65026fa06 libavcodec
Move array specifiers outside DECLARE_ALIGNED() invocations
author | mru |
---|---|
date | Fri, 22 Jan 2010 03:25:11 +0000 |
parents | fe17033a79ed |
children | 98970e51365a |
line wrap: on
line diff
--- a/ppc/h264_template_altivec.c Fri Jan 22 01:59:17 2010 +0000 +++ b/ppc/h264_template_altivec.c Fri Jan 22 03:25:11 2010 +0000 @@ -78,7 +78,7 @@ void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, int h, int x, int y) { POWERPC_PERF_DECLARE(PREFIX_h264_chroma_mc8_num, 1); - DECLARE_ALIGNED_16(signed int, ABCD[4]) = + DECLARE_ALIGNED_16(signed int, ABCD)[4] = {((8 - x) * (8 - y)), (( x) * (8 - y)), ((8 - x) * ( y)), @@ -208,7 +208,7 @@ /* this code assume that stride % 16 == 0 */ void PREFIX_no_rnd_vc1_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, int h, int x, int y) { - DECLARE_ALIGNED_16(signed int, ABCD[4]) = + DECLARE_ALIGNED_16(signed int, ABCD)[4] = {((8 - x) * (8 - y)), (( x) * (8 - y)), ((8 - x) * ( y)),