Searched refs:gain_before (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()588 if (gain_before) { in ff_g729_adaptive_gain_control()590 exp_before = 14 - av_log2(gain_before); in ff_g729_adaptive_gain_control()591 gain_before = bidir_sal(gain_before, exp_before); 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() local688 gain_before = 0; in decode_frame()690 gain_before += FFABS(synth[j+10]); in decode_frame()711 gain_before, in decode_frame()