Home
last modified time | relevance | path

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

/external/libopus/celt/
Dcelt_encoder.c598 int tf_select=0; in tf_analysis() local
673 tf_select = 0; in tf_analysis()
692 tf_select=1; in tf_analysis()
693 cost0 = importance[0]*abs(metric[0]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]); in tf_analysis()
694 …cost1 = importance[0]*abs(metric[0]-2*tf_select_table[LM][4*isTransient+2*tf_select+1]) + (isTrans… in tf_analysis()
722 … cost0 = curr0 + importance[i]*abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]); in tf_analysis()
723 … cost1 = curr1 + importance[i]*abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+1]); in tf_analysis()
737 tf_select = rand()&0x1; in tf_analysis()
742 return tf_select; in tf_analysis()
745 static void tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_e… in tf_encode() argument
[all …]
Dcelt_decoder.c443 int i, curr, tf_select; in tf_decode() local
467 tf_select = 0; in tf_decode()
472 tf_select = ec_dec_bit_logp(dec, 1); in tf_decode()
476 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; in tf_decode()