Home | History | Annotate | Download | only in celt

Lines Matching refs:tf_select

564    int tf_select=0;
640 /* Search for the optimal tf resolution, including tf_select */
641 tf_select = 0;
657 /* For now, we're conservative and only allow tf_select=1 for transients.
660 tf_select=1;
690 cost0 = curr0 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]);
691 cost1 = curr1 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+1]);
705 tf_select = rand()&0x1;
710 return tf_select;
713 static void tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_enc *enc)
724 /* Reserve space to code the tf_select decision. */
741 /* Only code tf_select if it would actually make a difference. */
745 ec_enc_bit_logp(enc, tf_select, 1);
747 tf_select = 0;
749 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]];
1340 int tf_select;
1777 tf_select = tf_analysis(mode, effEnd, isTransient, tf_res, lambda, X, N, LM, &tf_sum, tf_estimate, tf_chan);
1784 tf_select=0;
1793 tf_encode(start, end, isTransient, tf_res, LM, tf_select, enc);