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