Lines Matching refs:vb
238 static int mapping0_forward(vorbis_block *vb){ in mapping0_forward() argument
239 vorbis_dsp_state *vd=vb->vd; in mapping0_forward()
242 private_state *b=vb->vd->backend_state; in mapping0_forward()
243 vorbis_block_internal *vbi=(vorbis_block_internal *)vb->internal; in mapping0_forward()
244 int n=vb->pcmend; in mapping0_forward()
248 float **gmdct = _vorbis_block_alloc(vb,vi->channels*sizeof(*gmdct)); in mapping0_forward()
249 int **iwork = _vorbis_block_alloc(vb,vi->channels*sizeof(*iwork)); in mapping0_forward()
250 int ***floor_posts = _vorbis_block_alloc(vb,vi->channels*sizeof(*floor_posts)); in mapping0_forward()
256 int modenumber=vb->W; in mapping0_forward()
258 vorbis_look_psy *psy_look=b->psy+blocktype+(vb->W?2:0); in mapping0_forward()
260 vb->mode=modenumber; in mapping0_forward()
266 float *pcm =vb->pcm[i]; in mapping0_forward()
269 iwork[i]=_vorbis_block_alloc(vb,n/2*sizeof(**iwork)); in mapping0_forward()
270 gmdct[i]=_vorbis_block_alloc(vb,n/2*sizeof(**gmdct)); in mapping0_forward()
299 _vorbis_apply_window(pcm,b->window,ci->blocksizes,vb->lW,vb->W,vb->nW); in mapping0_forward()
314 mdct_forward(b->transform[vb->W][0],pcm,gmdct[i]); in mapping0_forward()
317 drft_forward(&b->fft_look[vb->W],pcm); in mapping0_forward()
371 float *noise = _vorbis_block_alloc(vb,n/2*sizeof(*noise)); in mapping0_forward()
372 float *tone = _vorbis_block_alloc(vb,n/2*sizeof(*tone)); in mapping0_forward()
382 float *logfft =vb->pcm[i]; in mapping0_forward()
387 vb->mode=modenumber; in mapping0_forward()
389 floor_posts[i]=_vorbis_block_alloc(vb,PACKETBLOBS*sizeof(**floor_posts)); in mapping0_forward()
509 floor1_fit(vb,b->flr[info->floorsubmap[submap]], in mapping0_forward()
515 if(vorbis_bitrate_managed(vb) && floor_posts[i][PACKETBLOBS/2]){ in mapping0_forward()
538 floor1_fit(vb,b->flr[info->floorsubmap[submap]], in mapping0_forward()
563 floor1_fit(vb,b->flr[info->floorsubmap[submap]], in mapping0_forward()
571 floor1_interpolate_fit(vb,b->flr[info->floorsubmap[submap]], in mapping0_forward()
577 floor1_interpolate_fit(vb,b->flr[info->floorsubmap[submap]], in mapping0_forward()
604 for(k=(vorbis_bitrate_managed(vb)?0:PACKETBLOBS/2); in mapping0_forward()
605 k<=(vorbis_bitrate_managed(vb)?PACKETBLOBS-1:PACKETBLOBS/2); in mapping0_forward()
615 if(vb->W){ in mapping0_forward()
616 oggpack_write(opb,vb->lW,1); in mapping0_forward()
617 oggpack_write(opb,vb->nW,1); in mapping0_forward()
625 nonzero[i]=floor1_encode(opb,vb,b->flr[info->floorsubmap[submap]], in mapping0_forward()
653 ci->psy_g_param.sliding_lowpass[vb->W][k], in mapping0_forward()
682 class(vb,b->residue[resnum],couple_bundle,zerobundle,ch_in_bundle); in mapping0_forward()
690 forward(opb,vb,b->residue[resnum], in mapping0_forward()
701 total+=ci->blocksizes[vb->W]/4+ci->blocksizes[vb->nW]/4; in mapping0_forward()
706 static int mapping0_inverse(vorbis_block *vb,vorbis_info_mapping *l){ in mapping0_inverse() argument
707 vorbis_dsp_state *vd=vb->vd; in mapping0_inverse()
714 long n=vb->pcmend=ci->blocksizes[vb->W]; in mapping0_inverse()
726 inverse1(vb,b->flr[info->floorsubmap[submap]]); in mapping0_inverse()
731 memset(vb->pcm[i],0,sizeof(*vb->pcm[i])*n/2); in mapping0_inverse()
752 pcmbundle[ch_in_bundle++]=vb->pcm[j]; in mapping0_inverse()
757 inverse(vb,b->residue[info->residuesubmap[i]], in mapping0_inverse()
763 float *pcmM=vb->pcm[info->coupling_mag[i]]; in mapping0_inverse()
764 float *pcmA=vb->pcm[info->coupling_ang[i]]; in mapping0_inverse()
791 float *pcm=vb->pcm[i]; in mapping0_inverse()
794 inverse2(vb,b->flr[info->floorsubmap[submap]], in mapping0_inverse()
801 float *pcm=vb->pcm[i]; in mapping0_inverse()
802 mdct_backward(b->transform[vb->W][0],pcm,pcm); in mapping0_inverse()