Home | History | Annotate | Download | only in Tremolo

Lines Matching refs:book

376   /* static book is not cleared; we're likely called on the lookup and
626 ogg_uint32_t decode_packed_entry_number(codebook *book,
629 static inline ogg_uint32_t decode_packed_entry_number(codebook *book,
632 int read=book->dec_maxlength;
644 switch (book->dec_method)
648 /* book->dec_nodeb==1, book->dec_leafw==1 */
650 unsigned char *t=(unsigned char *)book->dec_table;
661 /* book->dec_nodeb==1, book->dec_leafw!=1 */
663 unsigned char *t=(unsigned char *)book->dec_table;
679 /* book->dec_nodeb==2, book->dec_leafw==1 */
682 chase=((ogg_uint16_t *)(book->dec_table))[chase*2+((lok>>i)&1)];
691 /* book->dec_nodeb==2, book->dec_leafw!=1 */
693 ogg_uint16_t *t=(ogg_uint16_t *)book->dec_table;
711 chase=((ogg_uint32_t *)(book->dec_table))[chase*2+((lok>>i)&1)];
730 long vorbis_book_decode(codebook *book, oggpack_buffer *b){
731 if(book->dec_type)return -1;
732 return decode_packed_entry_number(book,b);
815 long vorbis_book_decodevs_add(codebook *book,ogg_int32_t *a,
817 if(book->used_entries>0){
818 int step=n/book->dim;
819 ogg_int32_t *v = book->dec_buf;//(ogg_int32_t *)alloca(sizeof(*v)*book->dim);
824 if(decode_map(book,b,v,point))return -1;
825 for(i=0,o=j;i<book->dim;i++,o+=step)
832 long vorbis_book_decodev_add(codebook *book,ogg_int32_t *a,
834 if(book->used_entries>0){
835 ogg_int32_t *v = book->dec_buf;//(ogg_int32_t *)alloca(sizeof(*v)*book->dim);
840 if(decode_map(book,b,v,point))return -1;
841 for (j=0;j<book->dim;j++)
848 long vorbis_book_decodev_set(codebook *book,ogg_int32_t *a,
850 if(book->used_entries>0){
851 ogg_int32_t *v = book->dec_buf;//(ogg_int32_t *)alloca(sizeof(*v)*book->dim);
856 if(decode_map(book,b,v,point))return -1;
857 for (j=0;j<book->dim;j++)
864 for (j=0;j<book->dim;j++)
873 long vorbis_book_decodevv_add(codebook *book,ogg_int32_t **a,
877 long vorbis_book_decodevv_add(codebook *book,ogg_int32_t **a,
880 if(book->used_entries>0){
882 ogg_int32_t *v = book->dec_buf;//(ogg_int32_t *)alloca(sizeof(*v)*book->dim);
888 if(decode_map(book,b,v,point))return -1;
889 for (j=0;j<book->dim;j++){