Lines Matching refs:q_bits

75 	ret|=((ogg_uint16_t *)(b->q_val))[off]<<(b->q_bits*j);  in decpack()
79 ret|=oggpack_read(opb,b->q_bits)<<(b->q_bits*j); in decpack()
484 s->q_bits=oggpack_read(opb,4)+1; in vorbis_book_unpack()
487 s->q_del>>=s->q_bits; in vorbis_book_unpack()
488 s->q_delp+=s->q_bits; in vorbis_book_unpack()
514 long total1=(s->q_bits*s->dim+8)/8; /* remember flag bit */ in vorbis_book_unpack()
515 if (s->dim > (INT_MAX-8)/s->q_bits) goto _eofout; in vorbis_book_unpack()
517 long total2=(_ilog(quantvals-1)*s->dim+8)/8+(s->q_bits+7)/8; in vorbis_book_unpack()
527 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
535 (s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
537 (s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
549 if(s->q_bits<=8){ in vorbis_book_unpack()
553 ((unsigned char *)s->q_val)[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
558 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
580 if( (s->q_bits*s->dim+8)/8 <=4){ /* remember flag bit */ in vorbis_book_unpack()
584 s->dec_nodeb=_determine_node_bytes(s->used_entries,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
585 s->dec_leafw=_determine_leaf_words(s->dec_nodeb,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
597 s->q_pack=(s->q_bits+7)/8*s->dim; in vorbis_book_unpack()
600 if(s->q_bits<=8){ in vorbis_book_unpack()
602 ((unsigned char *)(s->q_val))[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
605 ((ogg_uint16_t *)(s->q_val))[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
762 int mask=(1<<s->q_bits)-1; in decode_map()
765 entry>>=s->q_bits; in decode_map()
773 if(s->q_bits<=8) in decode_map()
785 if(s->q_bits<=8){ in decode_map()