#include "dsputil.h"

Go to the source code of this file.
Defines | |
| #define | CMUL(pre, pim, are, aim, bre, bim) |
Functions | |
| int | ff_mdct_init (MDCTContext *s, int nbits, int inverse) |
| void | ff_imdct_calc (MDCTContext *s, FFTSample *output, const FFTSample *input, FFTSample *tmp) |
| void | ff_mdct_calc (MDCTContext *s, FFTSample *out, const FFTSample *input, FFTSample *tmp) |
| void | ff_mdct_end (MDCTContext *s) |
Definition in file mdct.c.
| #define CMUL | ( | pre, | |||
| pim, | |||||
| are, | |||||
| aim, | |||||
| bre, | |||||
| bim | ) |
| void ff_imdct_calc | ( | MDCTContext * | s, | |
| FFTSample * | output, | |||
| const FFTSample * | input, | |||
| FFTSample * | tmp | |||
| ) |
Compute inverse MDCT of size N = 2^nbits
| output | N samples | |
| input | N/2 samples | |
| tmp | N/2 samples |
Definition at line 77 of file mdct.c.
References CMUL, ff_fft_calc(), MDCTContext::fft, FFTComplex::im, MDCTContext::nbits, FFTComplex::re, FFTContext::revtab, MDCTContext::tcos, and MDCTContext::tsin.
Referenced by main(), vorbis_parse_audio_packet(), and wma_decode_block().

| void ff_mdct_calc | ( | MDCTContext * | s, | |
| FFTSample * | out, | |||
| const FFTSample * | input, | |||
| FFTSample * | tmp | |||
| ) |
Compute MDCT of size N = 2^nbits
| input | N samples | |
| out | N/2 samples | |
| tmp | temporary storage of N/2 samples |
Definition at line 129 of file mdct.c.
References CMUL, ff_fft_calc(), MDCTContext::fft, FFTComplex::im, MDCTContext::nbits, FFTComplex::re, FFTContext::revtab, MDCTContext::tcos, and MDCTContext::tsin.
Referenced by main().

| void ff_mdct_end | ( | MDCTContext * | s | ) |
Definition at line 170 of file mdct.c.
References av_freep(), ff_fft_end(), MDCTContext::fft, MDCTContext::tcos, and MDCTContext::tsin.
Referenced by main(), vorbis_free(), and wma_decode_end().

| int ff_mdct_init | ( | MDCTContext * | s, | |
| int | nbits, | |||
| int | inverse | |||
| ) |
init MDCT or IMDCT computation.
Definition at line 29 of file mdct.c.
References av_freep(), av_malloc(), ff_fft_init(), MDCTContext::fft, M_PI, MDCTContext::n, MDCTContext::nbits, MDCTContext::tcos, and MDCTContext::tsin.
Referenced by main(), vorbis_parse_id_hdr(), and wma_decode_init().

1.5.5