Lines Matching refs:pitch_gain
124 float pitch_gain[5]; ///< quantified pitch gains for the current and previous four subframes
127 float beta; ///< previous pitch_gain, bounded by [0.0,SHARP_MAX]
569 p->beta = FFMIN(p->pitch_gain[4], 1.0);
578 p->beta = av_clipf(p->pitch_gain[4], 0.0, SHARP_MAX);
645 p->pitch_gain[4] = qua_gain_pit [amr_subframe->p_gain ]
661 p->pitch_gain[4] = gains[0] * (1.0 / 16384.0);
735 if (p->pitch_gain[4] < 0.6) {
737 } else if (p->pitch_gain[4] < 0.9) {
752 if (p->pitch_gain[i] < 0.6)
814 p->pitch_gain[4], fixed_gain, AMR_SUBFRAME_SIZE);
817 if (p->pitch_gain[4] > 0.5 && !overflow) {
821 p->pitch_gain[4] *
823 0.25 * FFMIN(p->pitch_gain[4], 1.0) :
824 0.5 * FFMIN(p->pitch_gain[4], SHARP_MAX));
864 memmove(&p->pitch_gain[0], &p->pitch_gain[1], 4 * sizeof(float));
1039 p->excitation[i] *= p->pitch_gain[4];