Lines Matching refs:pcm_current

267   v->pcm_current=v->centerW;  in _vds_shared_init()
401 if(v->pcm_current+vals>=v->pcm_storage){ in vorbis_analysis_buffer()
402 v->pcm_storage=v->pcm_current+vals*2; in vorbis_analysis_buffer()
410 v->pcmret[i]=v->pcm[i]+v->pcm_current; in vorbis_analysis_buffer()
419 float *work=alloca(v->pcm_current*sizeof(*work)); in _preextrapolate_helper()
423 if(v->pcm_current-v->centerW>order*2){ /* safety */ in _preextrapolate_helper()
426 for(j=0;j<v->pcm_current;j++) in _preextrapolate_helper()
427 work[j]=v->pcm[i][v->pcm_current-j-1]; in _preextrapolate_helper()
430 vorbis_lpc_from_data(work,lpc,v->pcm_current-v->centerW,order); in _preextrapolate_helper()
435 _analysis_output("predataL",0,work,v->pcm_current-v->centerW,0,0,0); in _preextrapolate_helper()
437 _analysis_output("predataR",0,work,v->pcm_current-v->centerW,0,0,0); in _preextrapolate_helper()
439 _analysis_output("predata",0,work,v->pcm_current-v->centerW,0,0,0); in _preextrapolate_helper()
444 vorbis_lpc_predict(lpc,work+v->pcm_current-v->centerW-order, in _preextrapolate_helper()
446 work+v->pcm_current-v->centerW, in _preextrapolate_helper()
449 for(j=0;j<v->pcm_current;j++) in _preextrapolate_helper()
450 v->pcm[i][v->pcm_current-j-1]=work[j]; in _preextrapolate_helper()
479 v->eofflag=v->pcm_current; in vorbis_analysis_wrote()
480 v->pcm_current+=ci->blocksizes[1]*3; in vorbis_analysis_wrote()
494 v->pcm[i]+v->eofflag,v->pcm_current-v->eofflag); in vorbis_analysis_wrote()
500 (v->pcm_current-v->eofflag)*sizeof(*v->pcm[i])); in vorbis_analysis_wrote()
506 if(v->pcm_current+vals>v->pcm_storage) in vorbis_analysis_wrote()
509 v->pcm_current+=vals; in vorbis_analysis_wrote()
514 if(!v->preextrapolate && v->pcm_current-v->centerW>ci->blocksizes[1]) in vorbis_analysis_wrote()
567 if(v->pcm_current<blockbound)return(0); /* not enough data yet; in vorbis_analysis_blockout()
654 v->pcm_current-=movementW; in vorbis_analysis_blockout()
658 v->pcm_current*sizeof(*v->pcm[i])); in vorbis_analysis_blockout()
696 v->pcm_current=v->centerW>>hs; in vorbis_synthesis_restart()
728 if(v->pcm_current>v->pcm_returned && v->pcm_returned!=-1)return(OV_EINVAL); in vorbis_synthesis_blockin()
826 v->pcm_current=thisCenter; in vorbis_synthesis_blockin()
829 v->pcm_current=prevCenter+ in vorbis_synthesis_blockin()
869 v->pcm_current-=(b->sample_count-v->granulepos)>>hs; in vorbis_synthesis_blockin()
873 if(v->pcm_returned>v->pcm_current) in vorbis_synthesis_blockin()
874 v->pcm_returned=v->pcm_current; in vorbis_synthesis_blockin()
890 v->pcm_current-=extra>>hs; in vorbis_synthesis_blockin()
910 if(v->pcm_returned>-1 && v->pcm_returned<v->pcm_current){ in vorbis_synthesis_pcmout()
917 return(v->pcm_current-v->pcm_returned); in vorbis_synthesis_pcmout()
923 if(n && v->pcm_returned+n>v->pcm_current)return(OV_EINVAL); in vorbis_synthesis_read()
967 v->pcm_current-=n1; in vorbis_synthesis_lapout()
982 v->pcm_current+=(n1-n0)/2; in vorbis_synthesis_lapout()
993 v->pcm_current+=n1-n0; in vorbis_synthesis_lapout()