Lines Matching refs:quantvals
61 static ogg_uint32_t decpack(long entry,long used_entry,long quantvals, in decpack() argument
75 ogg_uint32_t off=entry%quantvals; in decpack()
76 entry/=quantvals; in decpack()
87 ogg_uint32_t off=entry%quantvals; in decpack()
88 entry/=quantvals; in decpack()
146 static int _make_words(char *l,long n,ogg_uint32_t *r,long quantvals, in _make_words() argument
192 r[chase*2+bit]= decpack(i,count++,quantvals,b,opb,maptype) | in _make_words()
236 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, in _make_decode_table() argument
254 s->dec_table,quantvals,s,opb,maptype))return 1; in _make_decode_table()
264 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out; in _make_decode_table()
414 int quantvals=0; in vorbis_book_unpack() local
517 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)) goto _errout; in vorbis_book_unpack()
523 quantvals=_book_maptype1_quantvals(s); in vorbis_book_unpack()
531 long total2=(_ilog(quantvals-1)*s->dim+8)/8+(s->q_bits+7)/8; in vorbis_book_unpack()
538 s->q_val=calloc(sizeof(ogg_uint16_t), quantvals); in vorbis_book_unpack()
540 for(i=0;i<quantvals;i++) in vorbis_book_unpack()
552 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)){ in vorbis_book_unpack()
564 s->q_val=_ogg_malloc(quantvals); in vorbis_book_unpack()
566 for(i=0;i<quantvals;i++) in vorbis_book_unpack()
569 s->q_val=_ogg_malloc(quantvals*2); in vorbis_book_unpack()
571 for(i=0;i<quantvals;i++) in vorbis_book_unpack()
577 s->q_pack=_ilog(quantvals-1); in vorbis_book_unpack()
580 (_ilog(quantvals-1)*s->dim+8)/8); in vorbis_book_unpack()
582 (_ilog(quantvals-1)*s->dim+8)/8); in vorbis_book_unpack()
583 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()
591 quantvals=s->entries*s->dim; in vorbis_book_unpack()
600 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()
608 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()