Lines Matching refs:book
292 /* static book is not cleared; we're likely called on the lookup and
458 int _best(codebook *book, float *a, int step){
459 encode_aux_threshmatch *tt=book->c->thresh_tree;
462 encode_aux_nearestmatch *nt=book->c->nearest_tree;
463 encode_aux_pigeonhole *pt=book->c->pigeon_tree;
465 int dim=book->dim;
493 if(book->c->lengthlist[index]>0) /* is this unused? If so, we'll
502 const static_codebook *c=book->c;
533 float this=_dist(dim,book->valuelist+list[i]*dim,a,step);
548 float *p=book->valuelist+nt->p[ptr];
549 float *q=book->valuelist+nt->q[ptr];
566 const static_codebook *c=book->c;
569 float *e=book->valuelist;
570 for(i=0;i<book->entries;i++){
588 (book->valuelist+savebest*dim)[i]);
592 (book->valuelist+besti*dim)[i]);
599 long vorbis_book_codeword(codebook *book,int entry){
600 if(book->c) /* only use with encode; decode optimizations are
602 return book->codelist[entry];
606 long vorbis_book_codelen(codebook *book,int entry){
607 if(book->c) /* only use with encode; decode optimizations are
609 return book->c->lengthlist[entry];