Lines Matching defs:fixed_gain
125 float fixed_gain[5]; ///< quantified fixed gains for the current and previous four subframes
622 const float fixed_gain_mean = (p->fixed_gain[0] + p->fixed_gain[1] +
623 p->fixed_gain[2] + p->fixed_gain[3] +
624 p->fixed_gain[4]) * 0.2;
625 return smoothing_factor * p->fixed_gain[4] +
628 return p->fixed_gain[4];
647 *fixed_gain_factor = qua_gain_code[amr_subframe->fixed_gain]
726 * @param fixed_gain smoothed gain
731 float fixed_gain, float *out)
743 if (fixed_gain > 2.0 * p->prev_sparse_fixed_gain) {
762 // Disable filtering for very low level of fixed_gain.
765 if (fixed_gain < 5.0)
779 p->prev_sparse_fixed_gain = fixed_gain;
795 * @param fixed_gain fixed codebook gain for synthesis
801 float fixed_gain, const float *fixed_vector,
814 p->pitch_gain[4], fixed_gain, AMR_SUBFRAME_SIZE);
865 memmove(&p->fixed_gain[0], &p->fixed_gain[1], 4 * sizeof(float));
1027 p->fixed_gain[4] =
1040 ff_set_fixed_vector(p->excitation, &fixed_sparse, p->fixed_gain[4],