Home
last modified time | relevance | path

Searched refs:tf_res (Results 1 – 4 of 4) sorted by relevance

/external/libopus/celt/
Dcelt_encoder.c549 int *tf_res, int lambda, celt_norm *X, int N0, int LM, in tf_analysis() argument
693 tf_res[len-1] = cost0 < cost1 ? 0 : 1; in tf_analysis()
697 if (tf_res[i+1] == 1) in tf_analysis()
698 tf_res[i] = path1[i+1]; in tf_analysis()
700 tf_res[i] = path0[i+1]; in tf_analysis()
706 tf_res[0] = rand()&0x1; in tf_analysis()
708 tf_res[i] = tf_res[i-1] ^ ((rand()&0xF) == 0); 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
732 ec_enc_bit_logp(enc, tf_res[i] ^ curr, logp); in tf_encode()
734 curr = tf_res[i]; in tf_encode()
[all …]
Dcelt_decoder.c286 static void tf_decode(int start, int end, int isTransient, int *tf_res, int LM, ec_dec *dec) in tf_decode() argument
309 tf_res[i] = curr; in tf_decode()
321 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; in tf_decode()
668 VARDECL(int, tf_res);
832 ALLOC(tf_res, nbEBands, int);
833 tf_decode(st->start, st->end, isTransient, tf_res, LM, dec);
899 NULL, pulses, shortBlocks, spread_decision, dual_stereo, intensity, tf_res,
Dbands.h103 int shortBlocks, int spread, int dual_stereo, int intensity, int *tf_res,
Dbands.c1357 int shortBlocks, int spread, int dual_stereo, int intensity, int *tf_res, in quant_all_bands() argument
1440 tf_change = tf_res[i]; in quant_all_bands()