diff options
author | Måns Rullgård <mans@mansr.com> | 2009-09-15 21:14:14 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-09-15 21:14:14 +0000 |
commit | f486321395e3804ceece2a562f4bf1a8d99d5f24 (patch) | |
tree | f91c4602266840c48649887c3d85b9adc88525a2 /libavcodec/dsputil.h | |
parent | 9155be47d1e94f392ef8066f911c49e2a19358bc (diff) | |
download | ffmpeg-f486321395e3804ceece2a562f4bf1a8d99d5f24.tar.gz |
Move per-arch fft init bits into the corresponding subdirs
Originally committed as revision 19864 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index cdfdb9bd14..d100d5f731 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -683,6 +683,7 @@ typedef struct FFTContext { void (*imdct_calc)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); void (*imdct_half)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); void (*mdct_calc)(struct MDCTContext *s, FFTSample *output, const FFTSample *input); + int split_radix; } FFTContext; extern FFTSample* const ff_cos_tabs[13]; @@ -694,14 +695,11 @@ extern FFTSample* const ff_cos_tabs[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); + +void ff_fft_init_altivec(FFTContext *s); +void ff_fft_init_mmx(FFTContext *s); +void ff_fft_init_neon(FFTContext *s); /** * Do the permutation needed BEFORE calling ff_fft_calc(). @@ -774,15 +772,6 @@ int ff_mdct_init(MDCTContext *s, int nbits, int inverse, double scale); void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_imdct_half_c(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_mdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input); -void ff_imdct_calc_3dn(MDCTContext *s, FFTSample *output, const FFTSample *input); -void ff_imdct_half_3dn(MDCTContext *s, FFTSample *output, const FFTSample *input); -void ff_imdct_calc_3dn2(MDCTContext *s, FFTSample *output, const FFTSample *input); -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_neon(MDCTContext *s, FFTSample *output, const FFTSample *input); void ff_mdct_end(MDCTContext *s); /* Real Discrete Fourier Transform */ |