doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
codebook.c File Reference
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../ogg/ogg.h"
#include "../vorbis/codec.h"
#include "codebook.h"
#include "scales.h"
#include "misc.h"
#include "os.h"

Go to the source code of this file.

Functions

int vorbis_staticbook_pack (const static_codebook *c, oggpack_buffer *opb)
 
int vorbis_staticbook_unpack (oggpack_buffer *opb, static_codebook *s)
 
int vorbis_book_encode (codebook *book, int a, oggpack_buffer *b)
 
int vorbis_book_errorv (codebook *book, float *a)
 
int vorbis_book_encodev (codebook *book, int best, float *a, oggpack_buffer *b)
 
STIN long decode_packed_entry_number (codebook *book, oggpack_buffer *b)
 
long vorbis_book_decode (codebook *book, oggpack_buffer *b)
 
long vorbis_book_decodevs_add (codebook *book, float *a, oggpack_buffer *b, int n)
 
long vorbis_book_decodev_add (codebook *book, float *a, oggpack_buffer *b, int n)
 
long vorbis_book_decodev_set (codebook *book, float *a, oggpack_buffer *b, int n)
 
long vorbis_book_decodevv_add (codebook *book, float **a, long offset, int ch, oggpack_buffer *b, int n)
 

Function Documentation

STIN long decode_packed_entry_number ( codebook book,
oggpack_buffer b 
)

Definition at line 309 of file codebook.c.

long vorbis_book_decode ( codebook book,
oggpack_buffer b 
)

Definition at line 370 of file codebook.c.

long vorbis_book_decodev_add ( codebook book,
float a,
oggpack_buffer b,
int  n 
)

Definition at line 397 of file codebook.c.

long vorbis_book_decodev_set ( codebook book,
float a,
oggpack_buffer b,
int  n 
)

Definition at line 440 of file codebook.c.

long vorbis_book_decodevs_add ( codebook book,
float a,
oggpack_buffer b,
int  n 
)

Definition at line 380 of file codebook.c.

long vorbis_book_decodevv_add ( codebook book,
float **  a,
long  offset,
int  ch,
oggpack_buffer b,
int  n 
)

Definition at line 454 of file codebook.c.

int vorbis_book_encode ( codebook book,
int  a,
oggpack_buffer b 
)

Definition at line 257 of file codebook.c.

int vorbis_book_encodev ( codebook book,
int  best,
float a,
oggpack_buffer b 
)

Definition at line 286 of file codebook.c.

int vorbis_book_errorv ( codebook book,
float a 
)

Definition at line 277 of file codebook.c.

int vorbis_staticbook_pack ( const static_codebook c,
oggpack_buffer opb 
)

Definition at line 30 of file codebook.c.

int vorbis_staticbook_unpack ( oggpack_buffer opb,
static_codebook s 
)

Definition at line 149 of file codebook.c.