Lines Matching refs:vb

26 int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){  in vorbis_synthesis()  argument
27 vorbis_dsp_state *vd= vb ? vb->vd : 0; in vorbis_synthesis()
31 oggpack_buffer *opb=vb ? &vb->opb : 0; in vorbis_synthesis()
39 _vorbis_block_ripcord(vb); in vorbis_synthesis()
54 vb->mode=mode; in vorbis_synthesis()
59 vb->W=ci->mode_param[mode]->blockflag; in vorbis_synthesis()
60 if(vb->W){ in vorbis_synthesis()
64 vb->lW=oggpack_read(opb,1); in vorbis_synthesis()
65 vb->nW=oggpack_read(opb,1); in vorbis_synthesis()
66 if(vb->nW==-1){ in vorbis_synthesis()
70 vb->lW=0; in vorbis_synthesis()
71 vb->nW=0; in vorbis_synthesis()
75 vb->granulepos=op->granulepos; in vorbis_synthesis()
76 vb->sequence=op->packetno; in vorbis_synthesis()
77 vb->eofflag=op->e_o_s; in vorbis_synthesis()
80 vb->pcmend=ci->blocksizes[vb->W]; in vorbis_synthesis()
81 vb->pcm=_vorbis_block_alloc(vb,sizeof(*vb->pcm)*vi->channels); in vorbis_synthesis()
83 vb->pcm[i]=_vorbis_block_alloc(vb,vb->pcmend*sizeof(*vb->pcm[i])); in vorbis_synthesis()
88 return(_mapping_P[type]->inverse(vb,ci->map_param[ci->mode_param[mode]-> in vorbis_synthesis()
94 int vorbis_synthesis_trackonly(vorbis_block *vb,ogg_packet *op){ in vorbis_synthesis_trackonly() argument
95 vorbis_dsp_state *vd=vb->vd; in vorbis_synthesis_trackonly()
99 oggpack_buffer *opb=&vb->opb; in vorbis_synthesis_trackonly()
103 _vorbis_block_ripcord(vb); in vorbis_synthesis_trackonly()
116 vb->mode=mode; in vorbis_synthesis_trackonly()
117 vb->W=ci->mode_param[mode]->blockflag; in vorbis_synthesis_trackonly()
118 if(vb->W){ in vorbis_synthesis_trackonly()
119 vb->lW=oggpack_read(opb,1); in vorbis_synthesis_trackonly()
120 vb->nW=oggpack_read(opb,1); in vorbis_synthesis_trackonly()
121 if(vb->nW==-1) return(OV_EBADPACKET); in vorbis_synthesis_trackonly()
123 vb->lW=0; in vorbis_synthesis_trackonly()
124 vb->nW=0; in vorbis_synthesis_trackonly()
128 vb->granulepos=op->granulepos; in vorbis_synthesis_trackonly()
129 vb->sequence=op->packetno; in vorbis_synthesis_trackonly()
130 vb->eofflag=op->e_o_s; in vorbis_synthesis_trackonly()
133 vb->pcmend=0; in vorbis_synthesis_trackonly()
134 vb->pcm=NULL; in vorbis_synthesis_trackonly()