openshot-audio  0.1.7
Macros | Functions
sharedbook.c File Reference
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "../../ogg.h"
#include "os.h"
#include "misc.h"
#include "../../codec.h"
#include "codebook.h"
#include "scales.h"

Macros

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

Functions

int _ilog (unsigned int v)
 
long _float32_pack (float val)
 
float _float32_unpack (long val)
 
long _book_maptype1_quantvals (const static_codebook *b)
 
float * _book_unquantize (const static_codebook *b, int n, int *sparsemap)
 
void vorbis_staticbook_destroy (static_codebook *b)
 
void vorbis_book_clear (codebook *b)
 
int vorbis_book_init_encode (codebook *c, const static_codebook *s)
 
int vorbis_book_init_decode (codebook *c, const static_codebook *s)
 
long vorbis_book_codeword (codebook *book, int entry)
 
long vorbis_book_codelen (codebook *book, int entry)
 

Macro Definition Documentation

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

Function Documentation

long _book_maptype1_quantvals ( const static_codebook b)
float* _book_unquantize ( const static_codebook b,
int  n,
int sparsemap 
)
long _float32_pack ( float  val)
float _float32_unpack ( long  val)
int _ilog ( unsigned int  v)
void vorbis_book_clear ( codebook b)
long vorbis_book_codelen ( codebook book,
int  entry 
)
long vorbis_book_codeword ( codebook book,
int  entry 
)
int vorbis_book_init_decode ( codebook c,
const static_codebook s 
)
int vorbis_book_init_encode ( codebook c,
const static_codebook s 
)
void vorbis_staticbook_destroy ( static_codebook b)