Lines Matching defs:ppt
124 static float _heuristic(codebook *b,float *ppt,int secondbest){
126 int best=bestm(b,ppt);
330 float *ppt=pointlist+i*dim;
331 int firstentry=closest(b,ppt,-1);
332 int secondentry=closest(b,ppt,firstentry);
333 float firstmetric=_dist(dim,b->valuelist+dim*firstentry,ppt);
334 float secondmetric=_dist(dim,b->valuelist+dim*secondentry,ppt);
346 _heuristic(b,ppt,secondentry));
413 float *ppt=pointlist+head*dim;
414 int firstentry=closest(b,ppt,-1);
415 int secondentry=closest(b,ppt,firstentry);
416 float firstmetric=_dist(dim,b->valuelist+dim*firstentry,ppt);
417 float secondmetric=_dist(dim,b->valuelist+dim*secondentry,ppt);
425 _heuristic(b,ppt,secondentry));
441 float *ppt=pointlist+head*dim;
443 int firstentry=closest(b,ppt,-1);
445 int secondentry=closest(b,ppt,firstentry);
447 float oldsecondmetric=_dist(dim,b->valuelist+dim*bestcell,ppt);
449 float secondmetric=_dist(dim,b->valuelist+dim*secondentry,ppt);
457 _heuristic(b,ppt,secondentry));