BurgerLib
Defines | Functions
pkvorbissharedbook.cpp File Reference
#include "pkvorbiscodebook.h"
#include "mmmemory.h"
#include "clstdlib.h"
#include "fpfloat.h"
#include <math.h>
Include dependency graph for pkvorbissharedbook.cpp:

Defines

#define VQ_FEXP   10
#define VQ_FMAN   21
#define VQ_FEXP_BIAS   768 /* bias toward values smaller than 1. */

Functions

int BURGER_API _ilog (Word v)
long BURGER_API _float32_pack (float val)
float BURGER_API _float32_unpack (long val)
static long *BURGER_API _make_words (long *l, long n)
static decode_aux *BURGER_API _make_decode_tree (codebook *c)
long BURGER_API _book_maptype1_quantvals (const static_codebook *b)
float *BURGER_API _book_unquantize (const static_codebook *b)
void BURGER_API vorbis_staticbook_clear (static_codebook *b)
void BURGER_API vorbis_staticbook_destroy (static_codebook *b)
void BURGER_API vorbis_book_clear (codebook *b)
int BURGER_API vorbis_book_init_encode (codebook *c, const static_codebook *s)
int BURGER_API vorbis_book_init_decode (codebook *c, const static_codebook *s)
static float BURGER_API _dist (int el, const float *ref, const float *b, int step)
int BURGER_API _best (codebook *book, float *a, int step)
int BURGER_API vorbis_book_besterror (codebook *book, float *a, int step, int addmul)
long BURGER_API vorbis_book_codeword (codebook *book, int entry)
long BURGER_API vorbis_book_codelen (codebook *book, int entry)

Define Documentation

#define VQ_FEXP   10
#define VQ_FEXP_BIAS   768 /* bias toward values smaller than 1. */
#define VQ_FMAN   21

Function Documentation

int BURGER_API _best ( codebook book,
float *  a,
int  step 
)
static float BURGER_API _dist ( int  el,
const float *  ref,
const float *  b,
int  step 
) [static]
long BURGER_API _float32_pack ( float  val)
float BURGER_API _float32_unpack ( long  val)
int BURGER_API _ilog ( Word  v)
static decode_aux* BURGER_API _make_decode_tree ( codebook c) [static]
static long* BURGER_API _make_words ( long *  l,
long  n 
) [static]
int BURGER_API vorbis_book_besterror ( codebook book,
float *  a,
int  step,
int  addmul 
)
long BURGER_API vorbis_book_codelen ( codebook book,
int  entry 
)
long BURGER_API vorbis_book_codeword ( codebook book,
int  entry 
)