doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
mdct.h File Reference
#include "../vorbis/codec.h"

Go to the source code of this file.

Classes

struct  mdct_lookup
 

Macros

#define DATA_TYPE   float
 
#define REG_TYPE   float
 
#define cPI3_8   .38268343236508977175F
 
#define cPI2_8   .70710678118654752441F
 
#define cPI1_8   .92387953251128675613F
 
#define FLOAT_CONV(x)   (x)
 
#define MULT_NORM(x)   (x)
 
#define HALVE(x)   ((x)*.5f)
 

Functions

void mdct_init (mdct_lookup *lookup, int n)
 
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)
 

Macro Definition Documentation

#define cPI1_8   .92387953251128675613F

Definition at line 47 of file mdct.h.

#define cPI2_8   .70710678118654752441F

Definition at line 46 of file mdct.h.

#define cPI3_8   .38268343236508977175F

Definition at line 45 of file mdct.h.

#define DATA_TYPE   float

Definition at line 43 of file mdct.h.

#define FLOAT_CONV (   x)    (x)

Definition at line 49 of file mdct.h.

#define HALVE (   x)    ((x)*.5f)

Definition at line 51 of file mdct.h.

#define MULT_NORM (   x)    (x)

Definition at line 50 of file mdct.h.

#define REG_TYPE   float

Definition at line 44 of file mdct.h.

Function Documentation

void mdct_backward ( mdct_lookup init,
DATA_TYPE in,
DATA_TYPE out 
)

Definition at line 397 of file mdct.c.

void mdct_clear ( mdct_lookup l)

Definition at line 339 of file mdct.c.

void mdct_forward ( mdct_lookup init,
DATA_TYPE in,
DATA_TYPE out 
)

Definition at line 493 of file mdct.c.

void mdct_init ( mdct_lookup lookup,
int  n 
)

Definition at line 52 of file mdct.c.