mdct.c File Reference


Detailed Description

MDCT/IMDCT transforms.

Definition in file mdct.c.

Go to the source code of this file.

Functions

int ff_mdct_init (MDCTContext *s, int nbits, int inverse)
 init MDCT or IMDCT computation.
void ff_imdct_calc (MDCTContext *s, FFTSample *output, const FFTSample *input, FFTSample *tmp)
 Compute inverse MDCT of size N = 2^nbits.
void ff_mdct_calc (MDCTContext *s, FFTSample *out, const FFTSample *input, FFTSample *tmp)
 Compute MDCT of size N = 2^nbits.
void ff_mdct_end (MDCTContext *s)


Function Documentation

int ff_mdct_init ( MDCTContext s,
int  nbits,
int  inverse 
)

void ff_imdct_calc ( MDCTContext s,
FFTSample output,
const FFTSample input,
FFTSample tmp 
)

Compute inverse MDCT of size N = 2^nbits.

Parameters:
output N samples
input N/2 samples
tmp N/2 samples

Definition at line 79 of file mdct.c.

Referenced by ff_fft_init(), and main().

void ff_mdct_calc ( MDCTContext s,
FFTSample out,
const FFTSample input,
FFTSample tmp 
)

Compute MDCT of size N = 2^nbits.

Parameters:
input N samples
out N/2 samples
tmp temporary storage of N/2 samples

Definition at line 131 of file mdct.c.

Referenced by apply_window_and_mdct(), and main().

void ff_mdct_end ( MDCTContext s  ) 


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