Lines Matching refs:sCmn
56 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FLP()
59 celt_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); in silk_find_pitch_lags_FLP()
61 x_buf = x - psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FLP()
70 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; in silk_find_pitch_lags_FLP()
72 silk_apply_sine_window_FLP( Wsig_ptr, x_buf_ptr, 1, psEnc->sCmn.la_pitch ); in silk_find_pitch_lags_FLP()
75 Wsig_ptr += psEnc->sCmn.la_pitch; in silk_find_pitch_lags_FLP()
76 x_buf_ptr += psEnc->sCmn.la_pitch; in silk_find_pitch_lags_FLP()
77 …silk_memcpy( Wsig_ptr, x_buf_ptr, ( psEnc->sCmn.pitch_LPC_win_length - ( psEnc->sCmn.la_pitch << 1… in silk_find_pitch_lags_FLP()
80 Wsig_ptr += psEnc->sCmn.pitch_LPC_win_length - ( psEnc->sCmn.la_pitch << 1 ); in silk_find_pitch_lags_FLP()
81 x_buf_ptr += psEnc->sCmn.pitch_LPC_win_length - ( psEnc->sCmn.la_pitch << 1 ); in silk_find_pitch_lags_FLP()
82 silk_apply_sine_window_FLP( Wsig_ptr, x_buf_ptr, 2, psEnc->sCmn.la_pitch ); in silk_find_pitch_lags_FLP()
85 …silk_autocorrelation_FLP( auto_corr, Wsig, psEnc->sCmn.pitch_LPC_win_length, psEnc->sCmn.pitchEsti… in silk_find_pitch_lags_FLP()
91 res_nrg = silk_schur_FLP( refl_coef, auto_corr, psEnc->sCmn.pitchEstimationLPCOrder ); in silk_find_pitch_lags_FLP()
97 silk_k2a_FLP( A, refl_coef, psEnc->sCmn.pitchEstimationLPCOrder ); in silk_find_pitch_lags_FLP()
100 silk_bwexpander_FLP( A, psEnc->sCmn.pitchEstimationLPCOrder, FIND_PITCH_BANDWIDTH_EXPANSION ); in silk_find_pitch_lags_FLP()
105 silk_LPC_analysis_filter_FLP( res, A, x_buf, buf_len, psEnc->sCmn.pitchEstimationLPCOrder ); in silk_find_pitch_lags_FLP()
107 …if( psEnc->sCmn.indices.signalType != TYPE_NO_VOICE_ACTIVITY && psEnc->sCmn.first_frame_after_rese… in silk_find_pitch_lags_FLP()
110 thrhld -= 0.004f * psEnc->sCmn.pitchEstimationLPCOrder; in silk_find_pitch_lags_FLP()
111 thrhld -= 0.1f * psEnc->sCmn.speech_activity_Q8 * ( 1.0f / 256.0f ); in silk_find_pitch_lags_FLP()
112 thrhld -= 0.15f * (psEnc->sCmn.prevSignalType >> 1); in silk_find_pitch_lags_FLP()
113 thrhld -= 0.1f * psEnc->sCmn.input_tilt_Q15 * ( 1.0f / 32768.0f ); in silk_find_pitch_lags_FLP()
118 if( silk_pitch_analysis_core_FLP( res, psEncCtrl->pitchL, &psEnc->sCmn.indices.lagIndex, in silk_find_pitch_lags_FLP()
119 …&psEnc->sCmn.indices.contourIndex, &psEnc->LTPCorr, psEnc->sCmn.prevLag, psEnc->sCmn.pitchEstimati… in silk_find_pitch_lags_FLP()
120 …thrhld, psEnc->sCmn.fs_kHz, psEnc->sCmn.pitchEstimationComplexity, psEnc->sCmn.nb_subfr, arch ) ==… in silk_find_pitch_lags_FLP()
122 psEnc->sCmn.indices.signalType = TYPE_VOICED; in silk_find_pitch_lags_FLP()
124 psEnc->sCmn.indices.signalType = TYPE_UNVOICED; in silk_find_pitch_lags_FLP()
128 psEnc->sCmn.indices.lagIndex = 0; in silk_find_pitch_lags_FLP()
129 psEnc->sCmn.indices.contourIndex = 0; in silk_find_pitch_lags_FLP()