Home
last modified time | relevance | path

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

/external/chromium_org/third_party/opus/src/celt/
Dcelt_encoder.c538 int *tf_res, int lambda, celt_norm *X, int N0, int LM, in tf_analysis() argument
682 tf_res[len-1] = cost0 < cost1 ? 0 : 1; in tf_analysis()
686 if (tf_res[i+1] == 1) in tf_analysis()
687 tf_res[i] = path1[i+1]; in tf_analysis()
689 tf_res[i] = path0[i+1]; in tf_analysis()
695 tf_res[0] = rand()&0x1; in tf_analysis()
697 tf_res[i] = tf_res[i-1] ^ ((rand()&0xF) == 0); in tf_analysis()
702 static void tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_e… in tf_encode() argument
721 ec_enc_bit_logp(enc, tf_res[i] ^ curr, logp); in tf_encode()
723 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()
666 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.c1345 int shortBlocks, int spread, int dual_stereo, int intensity, int *tf_res, in quant_all_bands() argument
1428 tf_change = tf_res[i]; in quant_all_bands()