zenilib
0.5.3.0
|
#include "vorbis/codec.h"
Go to the source code of this file.
Classes | |
struct | mdct_lookup |
Macros | |
#define | cPI1_8 .92387953251128675613F |
#define | cPI2_8 .70710678118654752441F |
#define | cPI3_8 .38268343236508977175F |
#define | DATA_TYPE float |
#define | FLOAT_CONV(x) (x) |
#define | HALVE(x) ((x)*.5f) |
#define | MULT_NORM(x) (x) |
#define | REG_TYPE float |
Functions | |
void | mdct_backward (mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out) |
void | mdct_clear (mdct_lookup *l) |
void | mdct_forward (mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out) |
void | mdct_init (mdct_lookup *lookup, int n) |
#define cPI1_8 .92387953251128675613F |
Definition at line 47 of file mdct.h.
Referenced by mdct_butterfly_32().
#define cPI2_8 .70710678118654752441F |
Definition at line 46 of file mdct.h.
Referenced by mdct_butterfly_16(), and mdct_butterfly_32().
#define cPI3_8 .38268343236508977175F |
Definition at line 45 of file mdct.h.
Referenced by mdct_butterfly_32().
#define DATA_TYPE float |
Definition at line 43 of file mdct.h.
Referenced by mdct_backward(), mdct_bitreverse(), mdct_butterflies(), mdct_butterfly_first(), mdct_butterfly_generic(), mdct_forward(), and mdct_init().
Definition at line 49 of file mdct.h.
Referenced by mdct_init().
Definition at line 51 of file mdct.h.
Referenced by mdct_bitreverse().
Definition at line 50 of file mdct.h.
Referenced by mdct_backward(), mdct_bitreverse(), mdct_butterfly_16(), mdct_butterfly_32(), mdct_butterfly_first(), mdct_butterfly_generic(), and mdct_forward().
#define REG_TYPE float |
Definition at line 44 of file mdct.h.
Referenced by mdct_bitreverse(), mdct_butterfly_16(), mdct_butterfly_32(), mdct_butterfly_8(), mdct_butterfly_first(), mdct_butterfly_generic(), and mdct_forward().
void mdct_backward | ( | mdct_lookup * | init, |
DATA_TYPE * | in, | ||
DATA_TYPE * | out | ||
) |
Definition at line 397 of file mdct.c.
References DATA_TYPE, mdct_bitreverse(), mdct_butterflies(), MULT_NORM, mdct_lookup::n, and mdct_lookup::trig.
Referenced by main(), and mapping0_inverse().
void mdct_clear | ( | mdct_lookup * | l | ) |
Definition at line 339 of file mdct.c.
References _ogg_free, mdct_lookup::bitrev, memset, and mdct_lookup::trig.
Referenced by _ve_envelope_clear(), and vorbis_dsp_clear().
void mdct_forward | ( | mdct_lookup * | init, |
DATA_TYPE * | in, | ||
DATA_TYPE * | out | ||
) |
Definition at line 493 of file mdct.c.
References DATA_TYPE, i, mdct_bitreverse(), mdct_butterflies(), MULT_NORM, mdct_lookup::n, REG_TYPE, mdct_lookup::scale, and mdct_lookup::trig.
Referenced by _ve_amp(), main(), and mapping0_forward().
void mdct_init | ( | mdct_lookup * | lookup, |
int | n | ||
) |
Definition at line 52 of file mdct.c.
References _ogg_malloc, mdct_lookup::bitrev, cos(), DATA_TYPE, FLOAT_CONV, i, j, mdct_lookup::log2n, M_PI, mdct_lookup::n, mdct_lookup::scale, sin(), and mdct_lookup::trig.
Referenced by _vds_shared_init(), _ve_envelope_init(), and main().