Lines Matching refs:psEncCtrl
130 …silk_encoder_control_FLP *psEncCtrl, /* I/O Encoder control FLP … in silk_noise_shape_analysis_FLP() argument
153 …psEncCtrl->input_quality = 0.5f * ( psEnc->sCmn.input_quality_bands_Q15[ 0 ] + psEnc->sCmn.input_q… in silk_noise_shape_analysis_FLP()
156 psEncCtrl->coding_quality = silk_sigmoid( 0.25f * ( SNR_adj_dB - 20.0f ) ); in silk_noise_shape_analysis_FLP()
161 …SNR_adj_dB -= BG_SNR_DECR_dB * psEncCtrl->coding_quality * ( 0.5f + 0.5f * psEncCtrl->input_qualit… in silk_noise_shape_analysis_FLP()
169 …+= ( -0.4f * psEnc->sCmn.SNR_dB_Q7 * ( 1 / 128.0f ) + 6.0f ) * ( 1.0f - psEncCtrl->input_quality ); in silk_noise_shape_analysis_FLP()
179 psEncCtrl->sparseness = 0.0f; in silk_noise_shape_analysis_FLP()
195 psEncCtrl->sparseness = silk_sigmoid( 0.4f * ( energy_variation - 5.0f ) ); in silk_noise_shape_analysis_FLP()
198 if( psEncCtrl->sparseness > SPARSENESS_THRESHOLD_QNT_OFFSET ) { in silk_noise_shape_analysis_FLP()
205 SNR_adj_dB += SPARSE_SNR_INCR_dB * ( psEncCtrl->sparseness - 0.5f ); in silk_noise_shape_analysis_FLP()
212 …strength = FIND_PITCH_WHITE_NOISE_FRACTION * psEncCtrl->predGain; /* between 0.0 and 1.0… in silk_noise_shape_analysis_FLP()
214 delta = LOW_RATE_BANDWIDTH_EXPANSION_DELTA * ( 1.0f - 0.75f * psEncCtrl->coding_quality ); in silk_noise_shape_analysis_FLP()
222 … warping = (silk_float)psEnc->sCmn.warping_Q16 / 65536.0f + 0.01f * psEncCtrl->coding_quality; in silk_noise_shape_analysis_FLP()
258 …nrg = silk_levinsondurbin_FLP( &psEncCtrl->AR2[ k * MAX_SHAPE_LPC_ORDER ], auto_corr, psEnc->sCmn.… in silk_noise_shape_analysis_FLP()
259 psEncCtrl->Gains[ k ] = ( silk_float )sqrt( nrg ); in silk_noise_shape_analysis_FLP()
263 …psEncCtrl->Gains[ k ] *= warped_gain( &psEncCtrl->AR2[ k * MAX_SHAPE_LPC_ORDER ], warping, psEnc->… in silk_noise_shape_analysis_FLP()
267 …silk_bwexpander_FLP( &psEncCtrl->AR2[ k * MAX_SHAPE_LPC_ORDER ], psEnc->sCmn.shapingLPCOrder, BWEx… in silk_noise_shape_analysis_FLP()
271 &psEncCtrl->AR1[ k * MAX_SHAPE_LPC_ORDER ], in silk_noise_shape_analysis_FLP()
272 &psEncCtrl->AR2[ k * MAX_SHAPE_LPC_ORDER ], in silk_noise_shape_analysis_FLP()
276 …silk_bwexpander_FLP( &psEncCtrl->AR1[ k * MAX_SHAPE_LPC_ORDER ], psEnc->sCmn.shapingLPCOrder, BWEx… in silk_noise_shape_analysis_FLP()
279 …pre_nrg = silk_LPC_inverse_pred_gain_FLP( &psEncCtrl->AR2[ k * MAX_SHAPE_LPC_ORDER ], psEnc->sCmn.… in silk_noise_shape_analysis_FLP()
280 …nrg = silk_LPC_inverse_pred_gain_FLP( &psEncCtrl->AR1[ k * MAX_SHAPE_LPC_ORDER ], psEnc->sCmn.… in silk_noise_shape_analysis_FLP()
281 psEncCtrl->GainsPre[ k ] = 1.0f - 0.7f * ( 1.0f - pre_nrg / nrg ); in silk_noise_shape_analysis_FLP()
284 …warped_true2monic_coefs( &psEncCtrl->AR2[ k * MAX_SHAPE_LPC_ORDER ], &psEncCtrl->AR1[ k * MAX_SHAP… in silk_noise_shape_analysis_FLP()
295 psEncCtrl->Gains[ k ] *= gain_mult; in silk_noise_shape_analysis_FLP()
296 psEncCtrl->Gains[ k ] += gain_add; in silk_noise_shape_analysis_FLP()
299 gain_mult = 1.0f + INPUT_TILT + psEncCtrl->coding_quality * HIGH_RATE_INPUT_TILT; in silk_noise_shape_analysis_FLP()
301 psEncCtrl->GainsPre[ k ] *= gain_mult; in silk_noise_shape_analysis_FLP()
314 b = 0.2f / psEnc->sCmn.fs_kHz + 3.0f / psEncCtrl->pitchL[ k ]; in silk_noise_shape_analysis_FLP()
315 psEncCtrl->LF_MA_shp[ k ] = -1.0f + b; in silk_noise_shape_analysis_FLP()
316 psEncCtrl->LF_AR_shp[ k ] = 1.0f - b - b * strength; in silk_noise_shape_analysis_FLP()
322 psEncCtrl->LF_MA_shp[ 0 ] = -1.0f + b; in silk_noise_shape_analysis_FLP()
323 psEncCtrl->LF_AR_shp[ 0 ] = 1.0f - b - b * strength * 0.6f; in silk_noise_shape_analysis_FLP()
325 psEncCtrl->LF_MA_shp[ k ] = psEncCtrl->LF_MA_shp[ 0 ]; in silk_noise_shape_analysis_FLP()
326 psEncCtrl->LF_AR_shp[ k ] = psEncCtrl->LF_AR_shp[ 0 ]; in silk_noise_shape_analysis_FLP()
335 HarmBoost = LOW_RATE_HARMONIC_BOOST * ( 1.0f - psEncCtrl->coding_quality ) * psEnc->LTPCorr; in silk_noise_shape_analysis_FLP()
338 HarmBoost += LOW_INPUT_QUALITY_HARMONIC_BOOST * ( 1.0f - psEncCtrl->input_quality ); in silk_noise_shape_analysis_FLP()
346 ( 1.0f - ( 1.0f - psEncCtrl->coding_quality ) * psEncCtrl->input_quality ); in silk_noise_shape_analysis_FLP()
359 psEncCtrl->HarmBoost[ k ] = psShapeSt->HarmBoost_smth; in silk_noise_shape_analysis_FLP()
361 psEncCtrl->HarmShapeGain[ k ] = psShapeSt->HarmShapeGain_smth; in silk_noise_shape_analysis_FLP()
363 psEncCtrl->Tilt[ k ] = psShapeSt->Tilt_smth; in silk_noise_shape_analysis_FLP()