diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-06 22:37:14 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-06 22:37:14 +0000 |
commit | ddb8c2c0f135100387114727000f4c1e3d52c9a9 (patch) | |
tree | 38a54ca06f9bd493b14db0e8d8c421e1293e7983 /libavcodec/ppc/mpegvideo_altivec.c | |
parent | f49747e90473cd2a8d2bb73db416c73e05109258 (diff) | |
download | ffmpeg-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/mpegvideo_altivec.c')
-rw-r--r-- | libavcodec/ppc/mpegvideo_altivec.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index a1f0e0cc00..07e63be47a 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -29,6 +29,7 @@ #include "dsputil_ppc.h" #include "util_altivec.h" #include "types_altivec.h" +#include "dsputil_altivec.h" // Swaps two variables (used for altivec registers) #define SWAP(a,b) \ @@ -68,7 +69,7 @@ do { \ #define FOUROF(a) {a,a,a,a} -int dct_quantize_altivec(MpegEncContext* s, +static int dct_quantize_altivec(MpegEncContext* s, DCTELEM* data, int n, int qscale, int* overflow) { @@ -475,7 +476,7 @@ int dct_quantize_altivec(MpegEncContext* s, /* AltiVec version of dct_unquantize_h263 this code assumes `block' is 16 bytes-aligned */ -void dct_unquantize_h263_altivec(MpegEncContext *s, +static void dct_unquantize_h263_altivec(MpegEncContext *s, DCTELEM *block, int n, int qscale) { POWERPC_PERF_DECLARE(altivec_dct_unquantize_h263_num, 1); @@ -572,9 +573,6 @@ POWERPC_PERF_STOP_COUNT(altivec_dct_unquantize_h263_num, nCoeffs == 63); } -void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); -void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); - void MPV_common_init_altivec(MpegEncContext *s) { if ((mm_flags & FF_MM_ALTIVEC) == 0) return; |