18 #ifndef _V_CODEBOOK_H_
19 #define _V_CODEBOOK_H_
21 #include "../ogg/ogg.h"
130 extern int _ilog(
unsigned int v);
int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b)
struct encode_aux_threshmatch encode_aux_threshmatch
long vorbis_book_codeword(codebook *book, int entry)
long vorbis_book_decodevs_add(codebook *book, float *a, oggpack_buffer *b, int n)
long vorbis_book_decodevv_add(codebook *book, float **a, long off, int ch, oggpack_buffer *b, int n)
void vorbis_staticbook_destroy(static_codebook *b)
const static_codebook * c
long vorbis_book_decode(codebook *book, oggpack_buffer *b)
int vorbis_book_errorv(codebook *book, float *a)
long vorbis_book_codelen(codebook *book, int entry)
struct encode_aux_nearestmatch encode_aux_nearestmatch
struct encode_aux_pigeonhole encode_aux_pigeonhole
int vorbis_book_init_decode(codebook *dest, const static_codebook *source)
struct encode_aux_pigeonhole * pigeon_tree
ogg_uint32_t * dec_firsttable
GLsizei GLsizei GLcharARB * source
float * _book_unquantize(const static_codebook *b, int n, int *map)
void vorbis_book_clear(codebook *b)
float _float32_unpack(long val)
int vorbis_book_besterror(codebook *book, float *a, int step, int addmul)
int vorbis_book_encodev(codebook *book, int best, float *a, oggpack_buffer *b)
int _best(codebook *book, float *a, int step)
int vorbis_staticbook_unpack(oggpack_buffer *b, static_codebook *c)
long _float32_pack(float val)
int _ilog(unsigned int v)
GLubyte GLubyte GLubyte a
long vorbis_book_decodev_add(codebook *book, float *a, oggpack_buffer *b, int n)
int vorbis_book_init_encode(codebook *dest, const static_codebook *source)
float * _book_logdist(const static_codebook *b, float *vals)
long _book_maptype1_quantvals(const static_codebook *b)
int vorbis_staticbook_pack(const static_codebook *c, oggpack_buffer *b)
struct static_codebook static_codebook
struct encode_aux_threshmatch * thresh_tree
long vorbis_book_decodev_set(codebook *book, float *a, oggpack_buffer *b, int n)
struct encode_aux_nearestmatch * nearest_tree
void vorbis_staticbook_clear(static_codebook *b)