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()
497 s->q_bits=oggpack_read(opb,4)+1; in vorbis_book_unpack()
500 s->q_del>>=s->q_bits; in vorbis_book_unpack()
501 s->q_delp+=s->q_bits; in vorbis_book_unpack()
527 long total1=(s->q_bits*s->dim+8)/8; /* remember flag bit */ in vorbis_book_unpack()
528 if (s->dim > (INT_MAX-8)/s->q_bits) goto _eofout; in vorbis_book_unpack()
530 long total2=(_ilog(quantvals-1)*s->dim+8)/8+(s->q_bits+7)/8; in vorbis_book_unpack()
540 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
548 (s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
550 (s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
562 if(s->q_bits<=8){ in vorbis_book_unpack()
566 ((unsigned char *)s->q_val)[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
571 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
593 if( (s->q_bits*s->dim+8)/8 <=4){ /* remember flag bit */ in vorbis_book_unpack()
597 s->dec_nodeb=_determine_node_bytes(s->used_entries,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
598 s->dec_leafw=_determine_leaf_words(s->dec_nodeb,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
610 s->q_pack=(s->q_bits+7)/8*s->dim; in vorbis_book_unpack()
613 if(s->q_bits<=8){ in vorbis_book_unpack()
615 ((unsigned char *)(s->q_val))[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
618 ((ogg_uint16_t *)(s->q_val))[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
775 int mask=(1<<s->q_bits)-1; in decode_map()
778 entry>>=s->q_bits; in decode_map()
786 if(s->q_bits<=8) in decode_map()
798 if(s->q_bits<=8){ in decode_map()