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/fft_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/fft_altivec.c')
-rw-r--r-- | libavcodec/ppc/fft_altivec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/ppc/fft_altivec.c b/libavcodec/ppc/fft_altivec.c index 8f6941f507..ce35ab602c 100644 --- a/libavcodec/ppc/fft_altivec.c +++ b/libavcodec/ppc/fft_altivec.c @@ -23,6 +23,8 @@ #include "libavcodec/fft.h" #include "dsputil_ppc.h" #include "util_altivec.h" +#include "dsputil_altivec.h" + /** * Do a complex FFT with the parameters defined in ff_fft_init(). The * input data must be permuted before with s->revtab table. No @@ -34,7 +36,7 @@ * that successive MUL + ADD/SUB have been merged into * fused multiply-add ('vec_madd' in altivec) */ -void ff_fft_calc_altivec(FFTContext *s, FFTComplex *z) +static void ff_fft_calc_altivec(FFTContext *s, FFTComplex *z) { POWERPC_PERF_DECLARE(altivec_fft_num, s->nbits >= 6); register const vector float vczero = (const vector float)vec_splat_u32(0.); |