| Index: patched-ffmpeg-mt/libavcodec/ppc/h264_template_altivec.c
|
| ===================================================================
|
| --- patched-ffmpeg-mt/libavcodec/ppc/h264_template_altivec.c (revision 41250)
|
| +++ patched-ffmpeg-mt/libavcodec/ppc/h264_template_altivec.c (working copy)
|
| @@ -75,10 +75,10 @@
|
| #define noop(a) a
|
| #define add28(a) vec_add(v28ss, a)
|
|
|
| -void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src,
|
| +static 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)),
|
| @@ -207,8 +207,8 @@
|
| }
|
|
|
| /* 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] =
|
| +static 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] =
|
| {((8 - x) * (8 - y)),
|
| (( x) * (8 - y)),
|
| ((8 - x) * ( y)),
|
|
|