Searched refs:past_gain_code (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | g729dec.c | 137 int16_t past_gain_code[2]; member 292 static int g729d_onset_decision(int past_onset, const int16_t* past_gain_code) in g729d_onset_decision() argument 294 if ((past_gain_code[0] >> 1) > past_gain_code[1]) in g729d_onset_decision() 575 ctx->past_gain_code[1] = ctx->past_gain_code[0]; in decode_frame() 579 ctx->past_gain_code[0] = ( 2007 * ctx->past_gain_code[0] ) >> 11; // 0.98 (0.11) in decode_frame() 604 ctx->past_gain_code[0] = ff_acelp_decode_gain_code(&s->adsp, gain_corr_factor, in decode_frame() 621 ctx->past_gain_code[0] >>= 1; in decode_frame() 637 … ( ctx->was_periodic && frame_erasure) ? 0 : ctx->past_gain_code[0], in decode_frame() 659 ctx->onset = g729d_onset_decision(ctx->onset, ctx->past_gain_code); in decode_frame() 662 …xc_new, ctx->exc + i * SUBFRAME_SIZE, fc, ctx->voice_decision, ctx->past_gain_code[0], SUBFRAME_S… in decode_frame()
|