Home | History | Annotate | Download | only in Tremolo

Lines Matching refs:q_val

75 	ret|=((ogg_uint16_t *)(b->q_val))[off]<<(b->q_bits*j);
373 if(b->q_val)_ogg_free(b->q_val);
505 s->q_val=alloca(sizeof(ogg_uint16_t)*quantvals);
506 if (!s->q_val) goto _eofout;
508 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits);
511 s->q_val=0; /* cleanup must not free alloca memory */
521 s->q_val=0; /* cleanup must not free alloca memory */
525 s->q_val=0; /* about to go out of scope; _make_decode_table
533 s->q_val=_ogg_malloc(quantvals);
534 if (!s->q_val) goto _eofout;
536 ((unsigned char *)s->q_val)[i]=(unsigned char)oggpack_read(opb,s->q_bits);
538 s->q_val=_ogg_malloc(quantvals*2);
539 if (!s->q_val) goto _eofout;
541 ((ogg_uint16_t *)s->q_val)[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits);
581 s->q_val=_ogg_malloc(s->q_pack*s->used_entries);
585 ((unsigned char *)(s->q_val))[i]=(unsigned char)oggpack_read(opb,s->q_bits);
588 ((ogg_uint16_t *)(s->q_val))[i]=(ogg_uint16_t)oggpack_read(opb,s->q_bits);
755 v[i]=((unsigned char *)(s->q_val))[entry&mask];
757 v[i]=((ogg_uint16_t *)(s->q_val))[entry&mask];
764 void *ptr=s->q_val+entry*s->q_pack;