Mercurial > libavcodec.hg
diff dsputil.h @ 10153:7a63015e4627 libavcodec
ARM: NEON optimised FFT and MDCT
Vorbis and AC3 ~3x faster.
Parts by Naotoshi Nojiri, naonoj gmail
author | mru |
---|---|
date | Thu, 10 Sep 2009 08:50:03 +0000 |
parents | 50ec8930f99e |
children | a349795e8dca |
line wrap: on
line diff
--- a/dsputil.h Thu Sep 10 08:49:59 2009 +0000 +++ b/dsputil.h Thu Sep 10 08:50:03 2009 +0000 @@ -694,11 +694,13 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse); void ff_fft_permute_c(FFTContext *s, FFTComplex *z); void ff_fft_permute_sse(FFTContext *s, FFTComplex *z); +void ff_fft_permute_neon(FFTContext *s, FFTComplex *z); void ff_fft_calc_c(FFTContext *s, FFTComplex *z); void ff_fft_calc_sse(FFTContext *s, FFTComplex *z); void ff_fft_calc_3dn(FFTContext *s, FFTComplex *z); void ff_fft_calc_3dn2(FFTContext *s, FFTComplex *z); void ff_fft_calc_altivec(FFTContext *s, FFTComplex *z); +void ff_fft_calc_neon(FFTContext *s, FFTComplex *z); /** * Do the permutation needed BEFORE calling ff_fft_calc(). @@ -768,6 +770,8 @@ void ff_imdct_half_3dn2(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_imdct_calc_sse(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_imdct_half_sse(MDCTContext *s, FFTSample *output, const FFTSample *input); +void ff_imdct_calc_neon(MDCTContext *s, FFTSample *output, const FFTSample *input); +void ff_imdct_half_neon(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_mdct_calc(MDCTContext *s, FFTSample *out, const FFTSample *input); void ff_mdct_end(MDCTContext *s);