Lines Matching refs:ener
277 spx_word32_t ener=0; in nb_encode() local
804 ener = SHL32(EXTEND32(compute_rms16(real_exc, st->subframeSize)),SIG_SHIFT); in nb_encode()
809 spx_word32_t f = PDIV32(ener,PSHR32(ol_gain,SIG_SHIFT)); in nb_encode()
816 fine_gain = PDIV32_16(ener,PSHR32(ol_gain,SIG_SHIFT)); in nb_encode()
826 ener=MULT16_32_Q14(exc_gain_quant_scal3[qe],ol_gain); in nb_encode()
830 ener=MULT16_32_Q14(exc_gain_quant_scal1[qe],ol_gain); in nb_encode()
833 ener=ol_gain; in nb_encode()
839 signal_div(target, target, ener, st->subframeSize); in nb_encode()
850 signal_mul(innov, innov, ener, st->subframeSize); in nb_encode()
866 … signal_mul(innov2, innov2, MULT16_32_Q15(QCONST16(0.454545f,15),ener), st->subframeSize); in nb_encode()
1380 spx_word32_t ener; in nb_decode() local
1388 ener = MULT16_32_Q14(exc_gain_quant_scal3[q_energy],ol_gain); in nb_decode()
1392 ener = MULT16_32_Q14(exc_gain_quant_scal1[q_energy],ol_gain); in nb_decode()
1394 ener = ol_gain; in nb_decode()
1403 signal_mul(innov, innov, ener, st->subframeSize); in nb_decode()
1413 … signal_mul(innov2, innov2, MULT16_32_Q15(QCONST16(0.454545f,15),ener), st->subframeSize); in nb_decode()