Lines Matching refs:q_val
77 ret|=((ogg_uint16_t *)(b->q_val))[off]<<(b->q_bits*j); in decpack()
405 if(b->q_val)_ogg_free(b->q_val); in vorbis_book_clear()
537 s->q_val=calloc(sizeof(ogg_uint16_t), quantvals); in vorbis_book_unpack()
538 if (!s->q_val) goto _eofout; 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()
555 free(s->q_val); in vorbis_book_unpack()
556 s->q_val=0; in vorbis_book_unpack()
563 s->q_val=_ogg_malloc(quantvals); in vorbis_book_unpack()
564 if (!s->q_val) goto _eofout; in vorbis_book_unpack()
566 ((unsigned char *)s->q_val)[i]=(unsigned char)oggpack_read(opb,s->q_bits); in vorbis_book_unpack()
568 s->q_val=_ogg_malloc(quantvals*2); in vorbis_book_unpack()
569 if (!s->q_val) goto _eofout; 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()
611 s->q_val=_ogg_malloc(s->q_pack*s->used_entries); 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()
647 free(s->q_val); in vorbis_book_unpack()
787 v[i]=((unsigned char *)(s->q_val))[entry&mask]; in decode_map()
789 v[i]=((ogg_uint16_t *)(s->q_val))[entry&mask]; in decode_map()
796 void *ptr=((char *)s->q_val)+entry*s->q_pack; in decode_map()