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

Go to the source code of this file.

Classes

struct  envelope_filter_state
 
struct  envelope_band
 
struct  envelope_lookup
 

Macros

#define VE_PRE   16
 
#define VE_WIN   4
 
#define VE_POST   2
 
#define VE_AMP   (VE_PRE+VE_POST-1)
 
#define VE_BANDS   7
 
#define VE_NEARDC   15
 
#define VE_MINSTRETCH   2 /* a bit less than short block */
 
#define VE_MAXSTRETCH   12 /* one-third full block */
 

Functions

void _ve_envelope_init (envelope_lookup *e, vorbis_info *vi)
 
void _ve_envelope_clear (envelope_lookup *e)
 
long _ve_envelope_search (vorbis_dsp_state *v)
 
void _ve_envelope_shift (envelope_lookup *e, long shift)
 
int _ve_envelope_mark (vorbis_dsp_state *v)
 

Macro Definition Documentation

#define VE_AMP   (VE_PRE+VE_POST-1)

Definition at line 26 of file envelope.h.

#define VE_BANDS   7

Definition at line 28 of file envelope.h.

#define VE_MAXSTRETCH   12 /* one-third full block */

Definition at line 32 of file envelope.h.

#define VE_MINSTRETCH   2 /* a bit less than short block */

Definition at line 31 of file envelope.h.

#define VE_NEARDC   15

Definition at line 29 of file envelope.h.

#define VE_POST   2

Definition at line 25 of file envelope.h.

#define VE_PRE   16

Definition at line 23 of file envelope.h.

#define VE_WIN   4

Definition at line 24 of file envelope.h.

Function Documentation

void _ve_envelope_clear ( envelope_lookup e)

Definition at line 76 of file envelope.c.

void _ve_envelope_init ( envelope_lookup e,
vorbis_info vi 
)

Definition at line 32 of file envelope.c.

int _ve_envelope_mark ( vorbis_dsp_state v)

Definition at line 331 of file envelope.c.

long _ve_envelope_search ( vorbis_dsp_state v)

Definition at line 217 of file envelope.c.

void _ve_envelope_shift ( envelope_lookup e,
long  shift 
)

Definition at line 357 of file envelope.c.