Lines Matching refs:book
126 int i,k,book; in process_postprocess() local
148 for(book=0;book<books;book++){ in process_postprocess()
150 codebook *b=bs[book]; in process_postprocess()
154 fprintf(stderr,"Book %d statistics:------------------\n",book); in process_postprocess()
158 sprintf(buffer,"%s-%d-mse.m",basename,book); in process_postprocess()
169 sqrt((histogram_errorsq[book]+i*dim)[k]/histogram[book][i])); in process_postprocess()
174 sprintf(buffer,"%s-%d-me.m",basename,book); in process_postprocess()
185 (histogram_error[book]+i*dim)[k]/histogram[book][i]); in process_postprocess()
190 sprintf(buffer,"%s-%d-worst.m",basename,book); in process_postprocess()
201 (b->valuelist+i*dim)[k]+(histogram_lo[book]+i*dim)[k], in process_postprocess()
202 (b->valuelist+i*dim)[k]+(histogram_hi[book]+i*dim)[k]); in process_postprocess()
209 float process_one(codebook *b,int book,float *a,int dim,int step,int addmul, in process_one() argument
214 if(book==0){ in process_one()
241 histogram[book][entry]++; in process_one()
247 if(book==books-1){ in process_one()
251 histogram_errorsq[book][entry*dim+j]+=error*error; in process_one()
252 histogram_error[book][entry*dim+j]+=fabs(error); in process_one()
253 if(histogram[book][entry]==0 || histogram_hi[book][entry*dim+j]<error) in process_one()
254 histogram_hi[book][entry*dim+j]=error; in process_one()
255 if(histogram[book][entry]==0 || histogram_lo[book][entry*dim+j]>error) in process_one()
256 histogram_lo[book][entry*dim+j]=error; in process_one()