• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/lib/

Lines Matching refs:codebook

13  function: basic codebook pack/unpack/code/decode operations
14 last mod: $Id: codebook.c 16227 2009-07-08 06:58:46Z xiphmont $
23 #include "codebook.h"
28 /* packs the given codebook into the bitstream **************************/
147 /* unpacks a codebook from the packet buffer into the codebook struct,
148 readies the codebook auxiliary structures for decode *************/
260 int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b){
281 int vorbis_book_errorv(codebook *book,float *a){
290 int vorbis_book_encodev(codebook *book,int best,float *a,oggpack_buffer *b){
313 STIN long decode_packed_entry_number(codebook *book, oggpack_buffer *b){
368 the codebook, but set in the code using the codebook. Like
375 long vorbis_book_decode(codebook *book, oggpack_buffer *b){
382 /* if there's no dec_index, the codebook unpacking isn't collapsed */
387 long vorbis_book_decodevs_add(codebook *book,float *a,oggpack_buffer *b,int n){
406 long vorbis_book_decodev_add(codebook *book,float *a,oggpack_buffer *b,int n){
451 long vorbis_book_decodev_set(codebook *book,float *a,oggpack_buffer *b,int n){
474 long vorbis_book_decodevv_add(codebook *book,float **a,long offset,int ch,
578 fprintf(stderr,"Testing codebook abstraction...:\n");
581 codebook c;
590 /* pack the codebook, write the testvector */
608 fprintf(stderr,"Error unpacking codebook.\n");
612 fprintf(stderr,"Error initializing codebook.\n");
618 fprintf(stderr,"Error reading codebook test data (EOP).\n");
632 /* The above is the trivial stuff; now try unquantizing a log scale codebook */