#include "dsputil.h"
Go to the source code of this file.
Defines | |
#define | BESSEL_I0_ITER 50 |
#define | CMUL(pre, pim, are, aim, bre, bim) |
Functions | |
void | ff_kbd_window_init (float *window, float alpha, int n) |
Generate a Kaiser-Bessel Derived Window. | |
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) |
Definition in file mdct.c.
#define BESSEL_I0_ITER 50 |
#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 102 of file mdct.c.
Referenced by ff_fft_init(), and main().
void ff_kbd_window_init | ( | float * | window, | |
float | alpha, | |||
int | n | |||
) |
Generate a Kaiser-Bessel Derived Window.
window | pointer to half window | |
alpha | determines window shape | |
n | size of half window |
Definition at line 30 of file mdct.c.
Referenced by ac3_decode_init().
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 154 of file mdct.c.
Referenced by apply_window_and_mdct(), and main().
void ff_mdct_end | ( | MDCTContext * | s | ) |
Definition at line 195 of file mdct.c.
Referenced by ac3_decode_end(), cook_decode_close(), decode_end(), ff_wma_end(), main(), vorbis_encode_close(), and vorbis_free().
int ff_mdct_init | ( | MDCTContext * | s, | |
int | nbits, | |||
int | inverse | |||
) |
init MDCT or IMDCT computation.
Definition at line 54 of file mdct.c.
Referenced by ac3_decode_init(), create_vorbis_context(), decode_init(), encode_init(), init_atrac3_transforms(), init_cook_mlt(), main(), vorbis_parse_id_hdr(), and wma_decode_init().