diff ppc/h264_template_altivec.c @ 11382:50415a8f1451 libavcodec

PPC: move prototypes to headers and make some functions static
author mru
date Sat, 06 Mar 2010 22:37:14 +0000
parents 98970e51365a
children 3cd4cd0509cd
line wrap: on
line diff
--- a/ppc/h264_template_altivec.c	Sat Mar 06 22:37:08 2010 +0000
+++ b/ppc/h264_template_altivec.c	Sat Mar 06 22:37:14 2010 +0000
@@ -75,7 +75,7 @@
 #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] =
@@ -207,7 +207,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) {
+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)),