Searched refs:gain_after (Results 1 – 3 of 3) sorted by relevance
578 int16_t ff_g729_adaptive_gain_control(int gain_before, int gain_after, int16_t *speech, in ff_g729_adaptive_gain_control() argument585 if(!gain_after && gain_before) in ff_g729_adaptive_gain_control()593 exp_after = 14 - av_log2(gain_after); in ff_g729_adaptive_gain_control()594 gain_after = bidir_sal(gain_after, exp_after); in ff_g729_adaptive_gain_control()596 if (gain_before < gain_after) { in ff_g729_adaptive_gain_control()597 gain = (gain_before << 15) / gain_after; in ff_g729_adaptive_gain_control()600 gain = ((gain_before - gain_after) << 14) / gain_after + 0x4000; in ff_g729_adaptive_gain_control()
113 int16_t ff_g729_adaptive_gain_control(int gain_before, int gain_after, int16_t *speech,
426 int gain_before, gain_after; in decode_frame() local706 gain_after = 0; in decode_frame()708 gain_after += FFABS(synth[j+10]); in decode_frame()712 gain_after, in decode_frame()