Home
last modified time | relevance | path

Searched refs:past_gain_pitch (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dg729dec.c134 int16_t past_gain_pitch[6]; member
308 …ic int16_t g729d_voice_decision(int onset, int prev_voice_decision, const int16_t* past_gain_pitch) in g729d_voice_decision() argument
312 if (past_gain_pitch[0] >= 14745) { // 0.9 in g729d_voice_decision()
314 } else if (past_gain_pitch[0] <= 9830) { // 0.6 in g729d_voice_decision()
321 if (past_gain_pitch[i] < 9830) in g729d_voice_decision()
570 av_clip(ctx->past_gain_pitch[0], SHARP_MIN, SHARP_MAX), in decode_frame()
574 memmove(ctx->past_gain_pitch+1, ctx->past_gain_pitch, 5 * sizeof(int16_t)); in decode_frame()
578 ctx->past_gain_pitch[0] = (29491 * ctx->past_gain_pitch[0]) >> 15; // 0.90 (0.15) in decode_frame()
584 ctx->past_gain_pitch[0] = cb_gain_1st_6k4[gc_1st_index][0] + in decode_frame()
597 ctx->past_gain_pitch[0] = cb_gain_1st_8k[gc_1st_index][0] + in decode_frame()
[all …]