Lines Matching refs:q_val
77 ret|=((ogg_uint16_t *)(b->q_val))[off]<<(b->q_bits*j);
398 if(b->q_val)_ogg_free(b->q_val);
530 s->q_val=calloc(sizeof(ogg_uint16_t), quantvals);
531 if (!s->q_val) goto _eofout;
533 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits);
548 free(s->q_val);
549 s->q_val=0;
556 s->q_val=_ogg_malloc(quantvals);
557 if (!s->q_val) goto _eofout;
559 ((unsigned char *)s->q_val)[i]=(unsigned char)oggpack_read(opb,s->q_bits);
561 s->q_val=_ogg_malloc(quantvals*2);
562 if (!s->q_val) goto _eofout;
564 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits);
604 s->q_val=_ogg_malloc(s->q_pack*s->used_entries);
608 ((unsigned char *)(s->q_val))[i]=(unsigned char)oggpack_read(opb,s->q_bits);
611 ((ogg_uint16_t *)(s->q_val))[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits);
640 free(s->q_val);
780 v[i]=((unsigned char *)(s->q_val))[entry&mask];
782 v[i]=((ogg_uint16_t *)(s->q_val))[entry&mask];
789 void *ptr=((char *)s->q_val)+entry*s->q_pack;