Lines Matching refs:partword
425 long **partword=_vorbis_block_alloc(vb,ch*sizeof(*partword)); in _01class() local
433 partword[i]=_vorbis_block_alloc(vb,n/samples_per_partition*sizeof(*partword[i])); in _01class()
434 memset(partword[i],0,n/samples_per_partition*sizeof(*partword[i])); in _01class()
453 partword[j][i]=k; in _01class()
466 fprintf(of,"%ld, ",partword[i][j]); in _01class()
474 return(partword); in _01class()
492 long **partword=_vorbis_block_alloc(vb,sizeof(*partword)); in _2class() local
499 partword[0]=_vorbis_block_alloc(vb,partvals*sizeof(*partword[0])); in _2class()
500 memset(partword[0],0,partvals*sizeof(*partword[0])); in _2class()
517 partword[0][i]=j; in _2class()
525 fprintf(of,"%ld, ",partword[0][i]); in _2class()
532 return(partword); in _2class()
538 long **partword, in _01forward() argument
583 long val=partword[j][i]; in _01forward()
587 val+=partword[j][i+k]; in _01forward()
606 if(s==0)resvals[partword[j][i]]+=samples_per_partition; in _01forward()
607 if(info->secondstages[partword[j][i]]&(1<<s)){ in _01forward()
608 codebook *statebook=look->partbooks[partword[j][i]][s]; in _01forward()
614 accumulator=look->training_data[s][partword[j][i]]; in _01forward()
619 if(samples[l]<look->training_min[s][partword[j][i]]) in _01forward()
620 look->training_min[s][partword[j][i]]=samples[l]; in _01forward()
621 if(samples[l]>look->training_max[s][partword[j][i]]) in _01forward()
622 look->training_max[s][partword[j][i]]=samples[l]; in _01forward()
631 resbits[partword[j][i]]+=ret; in _01forward()
675 int ***partword=alloca(ch*sizeof(*partword)); in _01inverse() local
678 partword[j]=_vorbis_block_alloc(vb,partwords*sizeof(*partword[j])); in _01inverse()
691 partword[j][l]=look->decodemap[temp]; in _01inverse()
692 if(partword[j][l]==NULL)goto errout; in _01inverse()
700 if(info->secondstages[partword[j][l][k]]&(1<<s)){ in _01inverse()
701 codebook *stagebook=look->partbooks[partword[j][l][k]][s]; in _01inverse()
729 int **in,int *nonzero,int ch, long **partword, int submap){ in res1_forward() argument
736 return _01forward(opb,vb,vl,in,used,partword,_encodepart,submap); in res1_forward()
782 int **in,int *nonzero,int ch, long **partword,int submap){ in res2_forward() argument
797 return _01forward(opb,vb,vl,&work,1,partword,_encodepart,submap); in res2_forward()
820 int **partword=_vorbis_block_alloc(vb,partwords*sizeof(*partword)); in res2_inverse() local
832 partword[l]=look->decodemap[temp]; in res2_inverse()
833 if(partword[l]==NULL)goto errout; in res2_inverse()
838 if(info->secondstages[partword[l][k]]&(1<<s)){ in res2_inverse()
839 codebook *stagebook=look->partbooks[partword[l][k]][s]; in res2_inverse()