Home | History | Annotate | Download | only in celt

Lines Matching refs:cost0

554    int cost0;
644 cost0 = 0;
649 curr0 = IMIN(cost0, cost1 + lambda);
650 curr1 = IMIN(cost0 + lambda, cost1);
651 cost0 = curr0 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*sel+0]);
654 cost0 = IMIN(cost0, cost1);
655 selcost[sel]=cost0;
661 cost0 = 0;
669 from0 = cost0;
680 from0 = cost0 + lambda;
690 cost0 = curr0 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]);
693 tf_res[len-1] = cost0 < cost1 ? 0 : 1;