21 #include "../vorbis/codec.h"
28 #ifdef MDCT_INTEGERIZED
31 #define REG_TYPE register int
37 #define FLOAT_CONV(x) ((int)((x)*(1<<TRIGBITS)+.5))
38 #define MULT_NORM(x) ((x)>>TRIGBITS)
39 #define HALVE(x) ((x)>>1)
43 #define DATA_TYPE float
44 #define REG_TYPE float
45 #define cPI3_8 .38268343236508977175F
46 #define cPI2_8 .70710678118654752441F
47 #define cPI1_8 .92387953251128675613F
49 #define FLOAT_CONV(x) (x)
50 #define MULT_NORM(x) (x)
51 #define HALVE(x) ((x)*.5f)
void mdct_clear(mdct_lookup *l)
void mdct_forward(mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out)
void mdct_backward(mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out)
void mdct_init(mdct_lookup *lookup, int n)