Lines Matching defs:gains
124 float pitch_gain[5]; ///< quantified pitch gains for the current and previous four subframes
125 float fixed_gain[5]; ///< quantified fixed gains for the current and previous four subframes
566 // modes the pitch and codebook gains are jointly quantized (sec 5.8.2)
576 // the fact that the gains for two subframes are jointly quantized.
650 const uint16_t *gains;
653 gains = gains_high[amr_subframe->p_gain];
655 gains = gains_low [amr_subframe->p_gain];
658 gains = gains_MODE_4k75[(p->frame.subframe[subframe & 2].p_gain << 1) + (subframe & 1)];
661 p->pitch_gain[4] = gains[0] * (1.0 / 16384.0);
662 *fixed_gain_factor = gains[1] * (1.0 / 4096.0);