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

◆ VQ_FEXP

#define VQ_FEXP   10

◆ VQ_FEXP_BIAS

#define VQ_FEXP_BIAS   768 /* bias toward values smaller than 1. */

◆ VQ_FMAN

#define VQ_FMAN   21

Function Documentation

◆ _book_maptype1_quantvals()

long _book_maptype1_quantvals ( const static_codebook b)

◆ _book_unquantize()

float* _book_unquantize ( const static_codebook b,
int  n,
int *  sparsemap 
)

◆ _float32_pack()

long _float32_pack ( float  val)

◆ _float32_unpack()

float _float32_unpack ( long  val)

◆ _ilog()

int _ilog ( unsigned int  v)

◆ vorbis_book_clear()

void vorbis_book_clear ( codebook b)

◆ vorbis_book_codelen()

long vorbis_book_codelen ( codebook book,
int  entry 
)

◆ vorbis_book_codeword()

long vorbis_book_codeword ( codebook book,
int  entry 
)

◆ vorbis_book_init_decode()

int vorbis_book_init_decode ( codebook c,
const static_codebook s 
)

◆ vorbis_book_init_encode()

int vorbis_book_init_encode ( codebook c,
const static_codebook s 
)

◆ vorbis_staticbook_destroy()

void vorbis_staticbook_destroy ( static_codebook b)