Lines Matching refs:qn
244 int qn, qb;
253 qn = (qb < (1 << 3 >> 1)) ? 1 : ((ff_celt_qn_exp2[qb & 0x7] >> (14 - (qb >> 3))) + 1) >> 1 << 1;
254 return qn;
585 int qn;
598 qn = (stereo && band >= f->intensity_stereo) ? 1 :
601 if (qn != 1) {
603 itheta = (itheta*qn + 8192) >> 14;
608 ff_opus_rc_enc_uint_step(rc, itheta, qn / 2);
610 ff_opus_rc_enc_uint(rc, itheta, qn + 1);
612 ff_opus_rc_enc_uint_tri(rc, itheta, qn);
613 itheta = itheta * 16384 / qn;
623 itheta = ff_opus_rc_dec_uint_step(rc, qn / 2);
625 itheta = ff_opus_rc_dec_uint(rc, qn+1);
627 itheta = ff_opus_rc_dec_uint_tri(rc, qn);
628 itheta = itheta * 16384 / qn;