Lines Matching refs:q_bits
77 ret|=((ogg_uint16_t *)(b->q_val))[off]<<(b->q_bits*j); in decpack()
81 ret|=oggpack_read(opb,b->q_bits)<<(b->q_bits*j); in decpack()
490 s->q_bits=oggpack_read(opb,4)+1; in vorbis_book_unpack()
493 s->q_del>>=s->q_bits; in vorbis_book_unpack()
494 s->q_delp+=s->q_bits; in vorbis_book_unpack()
520 long total1=(s->q_bits*s->dim+8)/8; /* remember flag bit */ in vorbis_book_unpack()
521 if (s->dim > (INT_MAX-8)/s->q_bits) goto _eofout; in vorbis_book_unpack()
523 long total2=(_ilog(quantvals-1)*s->dim+8)/8+(s->q_bits+7)/8; in vorbis_book_unpack()
533 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
541 (s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
543 (s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
555 if(s->q_bits<=8){ in vorbis_book_unpack()
559 ((unsigned char *)s->q_val)[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
564 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
586 if( (s->q_bits*s->dim+8)/8 <=4){ /* remember flag bit */ in vorbis_book_unpack()
590 s->dec_nodeb=_determine_node_bytes(s->used_entries,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
591 s->dec_leafw=_determine_leaf_words(s->dec_nodeb,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
603 s->q_pack=(s->q_bits+7)/8*s->dim; in vorbis_book_unpack()
606 if(s->q_bits<=8){ in vorbis_book_unpack()
608 ((unsigned char *)(s->q_val))[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
611 ((ogg_uint16_t *)(s->q_val))[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
768 int mask=(1<<s->q_bits)-1; in decode_map()
771 entry>>=s->q_bits; in decode_map()
779 if(s->q_bits<=8) in decode_map()
791 if(s->q_bits<=8){ in decode_map()