Lines Matching defs:gain
150 int forced_pitch_gain; /**< Use the same (forced) pitch gain for all
153 gain */
173 float folding_gain; /**< Folding gain */
189 float last_ol_gain; /**< Open-loop gain for previous frame */
194 float last_pitch_gain; /**< Pitch gain of last correctly decoded frame */
234 float smooth_left; /**< Smoothed left channel gain */
235 float smooth_right; /**< Smoothed right channel gain */
360 float gain[3];
369 gain[0] = 0.015625f * gain_cdbk[gain_index * 4] + .5f;
370 gain[1] = 0.015625f * gain_cdbk[gain_index * 4 + 1] + .5f;
371 gain[2] = 0.015625f * gain_cdbk[gain_index * 4 + 2] + .5f;
378 gain_sum = gain_3tap_to_1tap(gain);
383 gain[i] *= fact;
388 gain_val[0] = gain[0];
389 gain_val[1] = gain[1];
390 gain_val[2] = gain[2];
400 exc_out[j] += gain[2 - i] * exc[j - pp];
405 exc_out[j] += gain[2 - i] * exc[j - pp - pitch];
980 /* Get global excitation gain */
1047 /* Decode sub-frame gain correction */
1117 float exc_ener, gain;
1121 gain = fminf(ol_gain / (exc_ener + 1.f), 2.f);
1123 st->exc[i] *= gain;