Revision 84dc2d8a libavcodec/ppc/h264_template_altivec.c

View differences:

libavcodec/ppc/h264_template_altivec.c
78 78
void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src,
79 79
                                    int stride, int h, int x, int y) {
80 80
  POWERPC_PERF_DECLARE(PREFIX_h264_chroma_mc8_num, 1);
81
    DECLARE_ALIGNED_16(signed int, ABCD)[4] =
81
    DECLARE_ALIGNED(16, signed int, ABCD)[4] =
82 82
                        {((8 - x) * (8 - y)),
83 83
                         ((    x) * (8 - y)),
84 84
                         ((8 - x) * (    y)),
......
208 208

  
209 209
/* this code assume that stride % 16 == 0 */
210 210
void PREFIX_no_rnd_vc1_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, int h, int x, int y) {
211
   DECLARE_ALIGNED_16(signed int, ABCD)[4] =
211
   DECLARE_ALIGNED(16, signed int, ABCD)[4] =
212 212
                        {((8 - x) * (8 - y)),
213 213
                         ((    x) * (8 - y)),
214 214
                         ((8 - x) * (    y)),

Also available in: Unified diff