• Home
  • Raw
  • Download

Lines Matching refs:isTransient

584 static int tf_analysis(const CELTMode *m, int len, int isTransient,  in tf_analysis()  argument
625 L1 = l1_metric(tmp, N, isTransient ? LM : 0, bias); in tf_analysis()
628 if (isTransient && !narrow) in tf_analysis()
640 for (k=0;k<LM+!(isTransient||narrow);k++) in tf_analysis()
644 if (isTransient) in tf_analysis()
661 if (isTransient) in tf_analysis()
676 cost0 = importance[0]*abs(metric[0]-2*tf_select_table[LM][4*isTransient+2*sel+0]); in tf_analysis()
677 …st1 = importance[0]*abs(metric[0]-2*tf_select_table[LM][4*isTransient+2*sel+1]) + (isTransient ? 0… in tf_analysis()
683 cost0 = curr0 + importance[i]*abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*sel+0]); in tf_analysis()
684 cost1 = curr1 + importance[i]*abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*sel+1]); in tf_analysis()
691 if (selcost[1]<selcost[0] && isTransient) 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 … = importance[0]*abs(metric[0]-2*tf_select_table[LM][4*isTransient+2*tf_select+1]) + (isTransient 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()
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
755 logp = isTransient ? 2 : 4; in tf_encode()
771 logp = isTransient ? 4 : 5; in tf_encode()
775 tf_select_table[LM][4*isTransient+0+tf_changed]!= in tf_encode()
776 tf_select_table[LM][4*isTransient+2+tf_changed]) in tf_encode()
781 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; in tf_encode()
972 int isTransient, int vbr, int constrained_vbr, const opus_int16 *eBands, int LM, in dynalloc_analysis() argument
1101 if ((!vbr || constrained_vbr)&&!isTransient) in dynalloc_analysis()
1143 if ((!vbr || (constrained_vbr&&!isTransient)) in dynalloc_analysis()
1432 int isTransient=0; in celt_encode_with_ec() local
1691 isTransient = 0; in celt_encode_with_ec()
1699 isTransient = transient_analysis(in, N+overlap, CC, in celt_encode_with_ec()
1704 if (isTransient) in celt_encode_with_ec()
1707 isTransient = 0; in celt_encode_with_ec()
1849 …if (LM>0 && ec_tell(enc)+3<=total_bits && !isTransient && st->complexity>=5 && !st->lfe && !hybrid) in celt_encode_with_ec()
1853 isTransient = 1; in celt_encode_with_ec()
1866 ec_enc_bit_logp(enc, isTransient, 3); in celt_encode_with_ec()
1880 st->lsb_depth, mode->logN, isTransient, st->vbr, st->constrained_vbr, in celt_encode_with_ec()
1889 …tf_select = tf_analysis(mode, effEnd, isTransient, tf_res, lambda, X, N, LM, tf_estimate, tf_chan,… in celt_encode_with_ec()
1905 tf_select=isTransient; in celt_encode_with_ec()
1908 tf_res[i] = isTransient; in celt_encode_with_ec()
1931 tf_encode(start, end, isTransient, tf_res, LM, tf_select, enc); in celt_encode_with_ec()
1943 else if (isTransient) in celt_encode_with_ec()
2172 anti_collapse_rsv = isTransient&&LM>=2&&bits>=((LM+2)<<BITRES) ? (1<<BITRES) : 0; in celt_encode_with_ec()
2255 C, CC, isTransient, LM, st->upsample, silence, st->arch); in celt_encode_with_ec()
2293 if (!isTransient) in celt_encode_with_ec()
2316 if (isTransient || transient_got_disabled) in celt_encode_with_ec()