Home
last modified time | relevance | path

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

/external/libopus/celt/
Dcelt_encoder.c562 int tf_select=0; in tf_analysis() local
641 tf_select = 0; in tf_analysis()
660 tf_select=1; in tf_analysis()
690 cost0 = curr0 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]); in tf_analysis()
691 cost1 = curr1 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+1]); in tf_analysis()
705 tf_select = rand()&0x1; in tf_analysis()
710 return tf_select; in tf_analysis()
713 static void tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_e… in tf_encode() argument
745 ec_enc_bit_logp(enc, tf_select, 1); in tf_encode()
747 tf_select = 0; in tf_encode()
[all …]
Dcelt_decoder.c288 int i, curr, tf_select; in tf_decode() local
312 tf_select = 0; in tf_decode()
317 tf_select = ec_dec_bit_logp(dec, 1); in tf_decode()
321 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; in tf_decode()