Searched refs:tf_select (Results 1 - 2 of 2) sorted by relevance

/external/libopus/celt/
H A Dcelt_encoder.c592 int tf_select=0; local
666 /* Search for the optimal tf resolution, including tf_select */
667 tf_select = 0;
683 /* For now, we're conservative and only allow tf_select=1 for transients.
686 tf_select=1;
716 cost0 = curr0 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]);
717 cost1 = curr1 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+1]);
731 tf_select = rand()&0x1;
736 return tf_select;
739 static void tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_en argument
1375 int tf_select; local
[all...]
H A Dcelt_decoder.c403 int i, curr, tf_select; local
427 tf_select = 0;
432 tf_select = ec_dec_bit_logp(dec, 1);
436 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]];

Completed in 409 milliseconds