Lines Matching refs:psEncCtrl
38 …silk_encoder_control_FLP *psEncCtrl, /* I/O Encoder control FLP … in silk_process_gains_FLP() argument
49 s = 1.0f - 0.5f * silk_sigmoid( 0.25f * ( psEncCtrl->LTPredCodGain - 12.0f ) ); in silk_process_gains_FLP()
51 psEncCtrl->Gains[ k ] *= s; in silk_process_gains_FLP()
60 gain = psEncCtrl->Gains[ k ]; in silk_process_gains_FLP()
61 gain = ( silk_float )sqrt( gain * gain + psEncCtrl->ResNrg[ k ] * InvMaxSqrVal ); in silk_process_gains_FLP()
62 psEncCtrl->Gains[ k ] = silk_min_float( gain, 32767.0f ); in silk_process_gains_FLP()
67 pGains_Q16[ k ] = (opus_int32)( psEncCtrl->Gains[ k ] * 65536.0f ); in silk_process_gains_FLP()
71 silk_memcpy( psEncCtrl->GainsUnq_Q16, pGains_Q16, psEnc->sCmn.nb_subfr * sizeof( opus_int32 ) ); in silk_process_gains_FLP()
72 psEncCtrl->lastGainIndexPrev = psShapeSt->LastGainIndex; in silk_process_gains_FLP()
80 psEncCtrl->Gains[ k ] = pGains_Q16[ k ] / 65536.0f; in silk_process_gains_FLP()
85 if( psEncCtrl->LTPredCodGain + psEnc->sCmn.input_tilt_Q15 * ( 1.0f / 32768.0f ) > 1.0f ) { in silk_process_gains_FLP()
94 psEncCtrl->Lambda = LAMBDA_OFFSET in silk_process_gains_FLP()
97 + LAMBDA_INPUT_QUALITY * psEncCtrl->input_quality in silk_process_gains_FLP()
98 + LAMBDA_CODING_QUALITY * psEncCtrl->coding_quality in silk_process_gains_FLP()
101 silk_assert( psEncCtrl->Lambda > 0.0f ); in silk_process_gains_FLP()
102 silk_assert( psEncCtrl->Lambda < 2.0f ); in silk_process_gains_FLP()