BurgerLib
Defines | Functions | Variables
pkvorbisenvelope.cpp File Reference
#include "pkvorbisenvelope.h"
#include "pkvorbisiir.h"
#include "pkvorbiscodec.h"
#include "pkvorbiscodecinternal.h"
#include "pkvorbisscales.h"
#include "mmmemory.h"
#include "clstdlib.h"
#include <math.h>
Include dependency graph for pkvorbisenvelope.cpp:

Defines

#define cheb_highpass_stages   6
#define cheb_bandpass_stages   6
#define cheb_highpass10k_gain   54.34519586f
#define cheb_bandpass6k_gain   113.4643935f
#define cheb_bandpass3k_gain   248.8359377f
#define cheb_bandpass1k_gain   1798.537183f

Functions

void BURGER_API _ve_envelope_init (envelope_lookup *e, vorbis_info *vi)
void BURGER_API _ve_envelope_clear (envelope_lookup *e)
static float BURGER_API _ve_deltai (envelope_lookup *ve, float *pre, float *post)
long BURGER_API _ve_envelope_search (vorbis_dsp_state *v)
int BURGER_API _ve_envelope_mark (vorbis_dsp_state *v)
void BURGER_API _ve_envelope_shift (envelope_lookup *e, long shift)

Variables

static float cheb_highpass_B [] = {1.f,-6.f,15.f,-20.f,15.f,-6.f,1.f}
static float cheb_bandpass_B [] = {-1.f,0.f,3.f,0.f,-3.f,0.f,1.f}
static float cheb_highpass10k_A []
static float cheb_bandpass6k_A []
static float cheb_bandpass3k_A []
static float cheb_bandpass1k_A []

Define Documentation

#define cheb_bandpass1k_gain   1798.537183f
#define cheb_bandpass3k_gain   248.8359377f
#define cheb_bandpass6k_gain   113.4643935f
#define cheb_bandpass_stages   6
#define cheb_highpass10k_gain   54.34519586f
#define cheb_highpass_stages   6

Function Documentation

static float BURGER_API _ve_deltai ( envelope_lookup ve,
float *  pre,
float *  post 
) [static]

Variable Documentation

float cheb_bandpass1k_A[] [static]
Initial value:
{
  -0.8097527363f,
  4.7725742682f,
  -11.9800219408f,
  16.3770336223f,
  -12.8553129536f,
  5.4948074309f}
float cheb_bandpass3k_A[] [static]
Initial value:
{
  -0.6564230022f,
  3.3747911257f,
  -8.0098635981f,
  11.0040876874f,
  -9.2250963484f,
  4.4760355389f}
float cheb_bandpass6k_A[] [static]
Initial value:
{
  -0.5712621337f,
  1.5626130710f,
  -3.3348854983f,
  4.0471340821f,
  -4.0051680331f,
  2.2786325610f}
float cheb_bandpass_B[] = {-1.f,0.f,3.f,0.f,-3.f,0.f,1.f} [static]
float cheb_highpass10k_A[] [static]
Initial value:
{
  -0.2064797169f,
  -0.5609713214f,
  -1.1352465327f,
  -1.4495555418f,
  -1.7938140760f,
  -0.9473564683f}
float cheb_highpass_B[] = {1.f,-6.f,15.f,-20.f,15.f,-6.f,1.f} [static]