Lines Matching refs:cost_stay_here
347 float cost_stay_here, cost_get_here;
356 cost_stay_here = path[swb][cb].cost + rd;
360 cost_stay_here += run_bits;
361 if (cost_get_here < cost_stay_here) {
367 path[swb+1][cb].cost = cost_stay_here;
437 float cost_stay_here = path[swb][0].cost;
441 cost_stay_here += run_bits;
442 if (cost_get_here < cost_stay_here) {
448 path[swb+1][0].cost = cost_stay_here;
470 float cost_stay_here, cost_get_here;
478 cost_stay_here = path[swb][cb].cost + bits;
482 cost_stay_here += run_bits;
483 if (cost_get_here < cost_stay_here) {
489 path[swb+1][cb].cost = cost_stay_here;