Lines Matching refs:cost_stay_here
346 float cost_stay_here, cost_get_here;
355 cost_stay_here = path[swb][cb].cost + rd;
359 cost_stay_here += run_bits;
360 if (cost_get_here < cost_stay_here) {
366 path[swb+1][cb].cost = cost_stay_here;
436 float cost_stay_here = path[swb][0].cost;
440 cost_stay_here += run_bits;
441 if (cost_get_here < cost_stay_here) {
447 path[swb+1][0].cost = cost_stay_here;
469 float cost_stay_here, cost_get_here;
477 cost_stay_here = path[swb][cb].cost + rd;
481 cost_stay_here += run_bits;
482 if (cost_get_here < cost_stay_here) {
488 path[swb+1][cb].cost = cost_stay_here;