Searched refs:tf_select (Results 1 – 2 of 2) sorted by relevance
/external/libopus/celt/ |
D | celt_encoder.c | 592 int tf_select=0; in tf_analysis() local 667 tf_select = 0; in tf_analysis() 686 tf_select=1; in tf_analysis() 716 cost0 = curr0 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]); in tf_analysis() 717 cost1 = curr1 + abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+1]); in tf_analysis() 731 tf_select = rand()&0x1; in tf_analysis() 736 return tf_select; in tf_analysis() 739 static void tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_e… in tf_encode() argument 771 ec_enc_bit_logp(enc, tf_select, 1); in tf_encode() 773 tf_select = 0; in tf_encode() [all …]
|
D | celt_decoder.c | 403 int i, curr, tf_select; in tf_decode() local 427 tf_select = 0; in tf_decode() 432 tf_select = ec_dec_bit_logp(dec, 1); in tf_decode() 436 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; in tf_decode()
|