Lines Matching refs:cost1
555 int cost1;
645 cost1 = isTransient ? 0 : lambda;
649 curr0 = IMIN(cost0, cost1 + lambda);
650 curr1 = IMIN(cost0 + lambda, cost1);
652 cost1 = curr1 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*sel+1]);
654 cost0 = IMIN(cost0, cost1);
662 cost1 = isTransient ? 0 : lambda;
670 from1 = cost1 + lambda;
681 from1 = cost1;
691 cost1 = curr1 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+1]);
693 tf_res[len-1] = cost0 < cost1 ? 0 : 1;