openshot-audio  0.1.6
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

◆ VE_AMP

#define VE_AMP   (VE_PRE+VE_POST-1)

◆ VE_BANDS

#define VE_BANDS   7

◆ VE_MAXSTRETCH

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

◆ VE_MINSTRETCH

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

◆ VE_NEARDC

#define VE_NEARDC   15

◆ VE_POST

#define VE_POST   2

◆ VE_PRE

#define VE_PRE   16

◆ VE_WIN

#define VE_WIN   4

Function Documentation

◆ _ve_envelope_clear()

void _ve_envelope_clear ( envelope_lookup e)

◆ _ve_envelope_init()

void _ve_envelope_init ( envelope_lookup e,
vorbis_info vi 
)

◆ _ve_envelope_mark()

int _ve_envelope_mark ( vorbis_dsp_state v)

◆ _ve_envelope_search()

long _ve_envelope_search ( vorbis_dsp_state v)

◆ _ve_envelope_shift()

void _ve_envelope_shift ( envelope_lookup e,
long  shift 
)