Mercurial > libavcodec.hg
comparison fft.h @ 12047:c80c7a717156 libavcodec
Remove vestiges of radix-2 FFT
Patch (mostly) by Loren Merritt
author | mru |
---|---|
date | Thu, 01 Jul 2010 23:21:42 +0000 |
parents | 3f3d08bb5cf8 |
children | 1bf322283429 |
comparison
equal
deleted
inserted
replaced
12046:ae57be2ef58c | 12047:c80c7a717156 |
---|---|
31 | 31 |
32 struct FFTContext { | 32 struct FFTContext { |
33 int nbits; | 33 int nbits; |
34 int inverse; | 34 int inverse; |
35 uint16_t *revtab; | 35 uint16_t *revtab; |
36 FFTComplex *exptab; | |
37 FFTComplex *exptab1; /* only used by SSE code */ | |
38 FFTComplex *tmp_buf; | 36 FFTComplex *tmp_buf; |
39 int mdct_size; /* size of MDCT (i.e. number of input data * 2) */ | 37 int mdct_size; /* size of MDCT (i.e. number of input data * 2) */ |
40 int mdct_bits; /* n = 2^nbits */ | 38 int mdct_bits; /* n = 2^nbits */ |
41 /* pre/post rotation tables */ | 39 /* pre/post rotation tables */ |
42 FFTSample *tcos; | 40 FFTSample *tcos; |
44 void (*fft_permute)(struct FFTContext *s, FFTComplex *z); | 42 void (*fft_permute)(struct FFTContext *s, FFTComplex *z); |
45 void (*fft_calc)(struct FFTContext *s, FFTComplex *z); | 43 void (*fft_calc)(struct FFTContext *s, FFTComplex *z); |
46 void (*imdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input); | 44 void (*imdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input); |
47 void (*imdct_half)(struct FFTContext *s, FFTSample *output, const FFTSample *input); | 45 void (*imdct_half)(struct FFTContext *s, FFTSample *output, const FFTSample *input); |
48 void (*mdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input); | 46 void (*mdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input); |
49 int split_radix; | |
50 int permutation; | 47 int permutation; |
51 #define FF_MDCT_PERM_NONE 0 | 48 #define FF_MDCT_PERM_NONE 0 |
52 #define FF_MDCT_PERM_INTERLEAVE 1 | 49 #define FF_MDCT_PERM_INTERLEAVE 1 |
53 }; | 50 }; |
54 | 51 |