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()
498 s->q_bits=oggpack_read(opb,4)+1; in vorbis_book_unpack()
501 s->q_del>>=s->q_bits; in vorbis_book_unpack()
502 s->q_delp+=s->q_bits; in vorbis_book_unpack()
528 long total1=(s->q_bits*s->dim+8)/8; /* remember flag bit */ in vorbis_book_unpack()
529 if (s->dim > (INT_MAX-8)/s->q_bits) goto _eofout; in vorbis_book_unpack()
531 long total2=(_ilog(quantvals-1)*s->dim+8)/8+(s->q_bits+7)/8; in vorbis_book_unpack()
541 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
549 (s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
551 (s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
563 if(s->q_bits<=8){ in vorbis_book_unpack()
567 ((unsigned char *)s->q_val)[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
572 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
594 if( (s->q_bits*s->dim+8)/8 <=4){ /* remember flag bit */ in vorbis_book_unpack()
598 s->dec_nodeb=_determine_node_bytes(s->used_entries,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
599 s->dec_leafw=_determine_leaf_words(s->dec_nodeb,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
611 s->q_pack=(s->q_bits+7)/8*s->dim; in vorbis_book_unpack()
614 if(s->q_bits<=8){ in vorbis_book_unpack()
616 ((unsigned char *)(s->q_val))[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
619 ((ogg_uint16_t *)(s->q_val))[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
776 int mask=(1<<s->q_bits)-1; in decode_map()
779 entry>>=s->q_bits; in decode_map()
787 if(s->q_bits<=8) in decode_map()
799 if(s->q_bits<=8){ in decode_map()