Home | History | Annotate | Download | only in libspeex

Lines Matching refs:qe

611       int qe = scal_quant32(ol_gain, ol_gain_table, 32);
612 /*ol_gain = exp(qe/3.5)*SIG_SCALING;*/
613 ol_gain = MULT16_32_Q15(28406,ol_gain_table[qe]);
614 speex_bits_pack(bits, qe, 5);
618 int qe = (int)(floor(.5+3.5*log(ol_gain*1.0/SIG_SCALING)));
619 if (qe<0)
620 qe=0;
621 if (qe>31)
622 qe=31;
623 ol_gain = exp(qe/3.5)*SIG_SCALING;
624 speex_bits_pack(bits, qe, 5);
821 int qe;
824 qe = scal_quant(fine_gain, exc_gain_quant_scal3_bound, 8);
825 speex_bits_pack(bits, qe, 3);
826 ener=MULT16_32_Q14(exc_gain_quant_scal3[qe],ol_gain);
828 qe = scal_quant(fine_gain, exc_gain_quant_scal1_bound, 2);
829 speex_bits_pack(bits, qe, 1);
830 ener=MULT16_32_Q14(exc_gain_quant_scal1[qe],ol_gain);
1271 int qe;
1272 qe = speex_bits_unpack_unsigned(bits, 5);
1275 ol_gain = MULT16_32_Q15(28406,ol_gain_table[qe]);
1277 ol_gain = SIG_SCALING*exp(qe/3.5);