aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/h264_template_altivec.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-06 22:37:14 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-06 22:37:14 +0000
commitddb8c2c0f135100387114727000f4c1e3d52c9a9 (patch)
tree38a54ca06f9bd493b14db0e8d8c421e1293e7983 /libavcodec/ppc/h264_template_altivec.c
parentf49747e90473cd2a8d2bb73db416c73e05109258 (diff)
downloadffmpeg-ddb8c2c0f135100387114727000f4c1e3d52c9a9.tar.gz
PPC: move prototypes to headers and make some functions static
Originally committed as revision 22267 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/h264_template_altivec.c')
-rw-r--r--libavcodec/ppc/h264_template_altivec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/h264_template_altivec.c b/libavcodec/ppc/h264_template_altivec.c
index 061d5bfd39..c0a4eb7a60 100644
--- a/libavcodec/ppc/h264_template_altivec.c
+++ b/libavcodec/ppc/h264_template_altivec.c
@@ -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 @@ void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src,
}
/* 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)),