fft.c File Reference


Detailed Description

FFT/IFFT transforms.

Definition in file fft.c.

Go to the source code of this file.

Functions

int ff_fft_init (FFTContext *s, int nbits, int inverse)
 The size of the FFT is 2^nbits.
void ff_fft_calc_c (FFTContext *s, FFTComplex *z)
 Do a complex FFT with the parameters defined in ff_fft_init().
void ff_fft_permute (FFTContext *s, FFTComplex *z)
 Do the permutation needed BEFORE calling ff_fft_calc().
void ff_fft_end (FFTContext *s)


Function Documentation

int ff_fft_init ( FFTContext s,
int  nbits,
int  inverse 
)

The size of the FFT is 2^nbits.

If inverse is TRUE, inverse FFT is done

Definition at line 33 of file fft.c.

Referenced by decoder_impl::decoder_impl(), ff_mdct_init(), imc_decode_init(), main(), and qdm2_decode_init().

void ff_fft_calc_c ( FFTContext s,
FFTComplex z 
)

Do a complex FFT with the parameters defined in ff_fft_init().

The input data must be permuted before with s->revtab table. No 1.0/sqrt(n) normalization is done.

Definition at line 161 of file fft.c.

Referenced by ff_fft_init().

void ff_fft_permute ( FFTContext s,
FFTComplex z 
)

Do the permutation needed BEFORE calling ff_fft_calc().

Definition at line 238 of file fft.c.

Referenced by decoder_impl::apply_filter(), imc_imdct256(), main(), and qdm2_calculate_fft().

void ff_fft_end ( FFTContext s  ) 


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5