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