Home
last modified time | relevance | path

Searched refs:auto_corr (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dlp_residual.cc45 rtc::ArrayView<float, kNumLpcCoefficients> auto_corr) { in DenoiseAutoCorrelation() argument
47 auto_corr[0] *= 1.0001f; in DenoiseAutoCorrelation()
49 auto_corr[i] -= auto_corr[i] * (0.008f * i) * (0.008f * i); in DenoiseAutoCorrelation()
56 rtc::ArrayView<const float, kNumLpcCoefficients> auto_corr, in ComputeInitialInverseFilterCoefficients() argument
58 float error = auto_corr[0]; in ComputeInitialInverseFilterCoefficients()
62 reflection_coeff += lpc_coeffs[j] * auto_corr[i - j]; in ComputeInitialInverseFilterCoefficients()
64 reflection_coeff += auto_corr[i + 1]; in ComputeInitialInverseFilterCoefficients()
82 if (error < 0.001f * auto_corr[0]) { in ComputeInitialInverseFilterCoefficients()
93 std::array<float, kNumLpcCoefficients> auto_corr; in ComputeAndPostProcessLpcCoefficients() local
94 ComputeCrossCorrelation(x, x, {auto_corr.data(), auto_corr.size()}); in ComputeAndPostProcessLpcCoefficients()
[all …]
Dpitch_search_internal.cc94 rtc::ArrayView<const float> auto_corr) { in PitchPseudoInterpolationInvLagAutoCorr() argument
97 if (inv_lag > 0 && inv_lag < auto_corr.size() - 1) { in PitchPseudoInterpolationInvLagAutoCorr()
98 offset = GetPitchPseudoInterpolationOffset(inv_lag, auto_corr[inv_lag + 1], in PitchPseudoInterpolationInvLagAutoCorr()
99 auto_corr[inv_lag], in PitchPseudoInterpolationInvLagAutoCorr()
100 auto_corr[inv_lag - 1]); in PitchPseudoInterpolationInvLagAutoCorr()
217 rtc::ArrayView<const float> auto_corr, in FindBestPitchPeriods() argument
235 RTC_DCHECK_GT(max_pitch_period, auto_corr.size()); in FindBestPitchPeriods()
248 for (size_t inv_lag = 0; inv_lag < auto_corr.size(); ++inv_lag) { in FindBestPitchPeriods()
250 if (auto_corr[inv_lag] > 0) { in FindBestPitchPeriods()
252 candidate.strength_numerator = auto_corr[inv_lag] * auto_corr[inv_lag]; in FindBestPitchPeriods()
[all …]
Dauto_correlation.cc48 rtc::ArrayView<float, kNumInvertedLags12kHz> auto_corr) { in ComputeOnPitchBuffer() argument
49 RTC_DCHECK_LT(auto_corr.size(), kMaxPitch12kHz); in ComputeOnPitchBuffer()
88 auto_corr.begin()); in ComputeOnPitchBuffer()
Dspectral_features_internal.cc95 rtc::ArrayView<float, kOpusBands24kHz> auto_corr) const { in ComputeAutoCorrelation()
96 ComputeCrossCorrelation(x, x, auto_corr); in ComputeAutoCorrelation()
Dauto_correlation.h37 rtc::ArrayView<float, kNumInvertedLags12kHz> auto_corr);
Dpitch_search_internal.h56 rtc::ArrayView<const float> auto_corr,
Dspectral_features_internal.h59 rtc::ArrayView<float, kOpusBands24kHz> auto_corr) const;
/external/libopus/silk/fixed/
Dfind_pitch_lags_FIX.c50 opus_int32 auto_corr[ MAX_FIND_PITCH_LPC_ORDER + 1 ]; in silk_find_pitch_lags_FIX() local
88 …silk_autocorr( auto_corr, &scale, Wsig, psEnc->sCmn.pitch_LPC_win_length, psEnc->sCmn.pitchEstimat… in silk_find_pitch_lags_FIX()
91auto_corr[ 0 ] = silk_SMLAWB( auto_corr[ 0 ], auto_corr[ 0 ], SILK_FIX_CONST( FIND_PITCH_WHITE_NOI… in silk_find_pitch_lags_FIX()
94 res_nrg = silk_schur( rc_Q15, auto_corr, psEnc->sCmn.pitchEstimationLPCOrder ); in silk_find_pitch_lags_FIX()
97 psEncCtrl->predGain_Q16 = silk_DIV32_varQ( auto_corr[ 0 ], silk_max_int( res_nrg, 1 ), 16 ); in silk_find_pitch_lags_FIX()
Dnoise_shape_analysis_FIX.c153 opus_int32 auto_corr[ MAX_SHAPE_LPC_ORDER + 1 ]; in silk_noise_shape_analysis_FIX() local
265 …silk_warped_autocorrelation_FIX( auto_corr, &scale, x_windowed, warping_Q16, psEnc->sCmn.shapeWinL… in silk_noise_shape_analysis_FIX()
268 …silk_autocorr( auto_corr, &scale, x_windowed, psEnc->sCmn.shapeWinLength, psEnc->sCmn.shapingLPCOr… in silk_noise_shape_analysis_FIX()
272auto_corr[0] = silk_ADD32( auto_corr[0], silk_max_32( silk_SMULWB( silk_RSHIFT( auto_corr[ 0 ], 4 … in silk_noise_shape_analysis_FIX()
276 nrg = silk_schur64( refl_coef_Q16, auto_corr, psEnc->sCmn.shapingLPCOrder ); in silk_noise_shape_analysis_FIX()
/external/libopus/silk/float/
Dfind_pitch_lags_FLP.c47 silk_float auto_corr[ MAX_FIND_PITCH_LPC_ORDER + 1 ]; in silk_find_pitch_lags_FLP() local
85 …silk_autocorrelation_FLP( auto_corr, Wsig, psEnc->sCmn.pitch_LPC_win_length, psEnc->sCmn.pitchEsti… in silk_find_pitch_lags_FLP()
88 auto_corr[ 0 ] += auto_corr[ 0 ] * FIND_PITCH_WHITE_NOISE_FRACTION + 1; 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()
94 psEncCtrl->predGain = auto_corr[ 0 ] / silk_max_float( res_nrg, 1.0f ); in silk_find_pitch_lags_FLP()
Dnoise_shape_analysis_FLP.c160 silk_float auto_corr[ MAX_SHAPE_LPC_ORDER + 1 ]; in silk_noise_shape_analysis_FLP() local
254 silk_warped_autocorrelation_FLP( auto_corr, x_windowed, warping, in silk_noise_shape_analysis_FLP()
258 …silk_autocorrelation_FLP( auto_corr, x_windowed, psEnc->sCmn.shapeWinLength, psEnc->sCmn.shapingLP… in silk_noise_shape_analysis_FLP()
262 auto_corr[ 0 ] += auto_corr[ 0 ] * SHAPE_WHITE_NOISE_FRACTION + 1.0f; in silk_noise_shape_analysis_FLP()
265 nrg = silk_schur_FLP( rc, auto_corr, psEnc->sCmn.shapingLPCOrder ); in silk_noise_shape_analysis_FLP()
Dschur_FLP.c36 …const silk_float auto_corr[], /* I autocorrelation sequence (length order+1) … in silk_schur_FLP() argument
49 C[ k ][ 0 ] = C[ k ][ 1 ] = auto_corr[ k ]; in silk_schur_FLP()
DSigProc_FLP.h61 …const silk_float auto_corr[], /* I autocorrelation sequence (length order+1) …
/external/webrtc/modules/audio_coding/neteq/
Dtime_stretch.cc162 int32_t auto_corr[kCorrelationLen]; in AutoCorrelation() local
165 kCorrelationLen, kMaxLag - kMinLag, -1, auto_corr); in AutoCorrelation()
168 int32_t max_corr = WebRtcSpl_MaxAbsValueW32(auto_corr, kCorrelationLen); in AutoCorrelation()
171 auto_corr, scaling); in AutoCorrelation()
/external/libopus/silk/fixed/mips/
Dnoise_shape_analysis_FIX_mipsr1.h47 opus_int32 auto_corr[ MAX_SHAPE_LPC_ORDER + 1 ]; in silk_noise_shape_analysis_FIX() local
172 …silk_warped_autocorrelation_FIX( auto_corr, &scale, x_windowed, warping_Q16, psEnc->sCmn.shapeWinL… in silk_noise_shape_analysis_FIX()
175 …silk_autocorr( auto_corr, &scale, x_windowed, psEnc->sCmn.shapeWinLength, psEnc->sCmn.shapingLPCOr… in silk_noise_shape_analysis_FIX()
179auto_corr[0] = silk_ADD32( auto_corr[0], silk_max_32( silk_SMULWB( silk_RSHIFT( auto_corr[ 0 ], 4 … in silk_noise_shape_analysis_FIX()
183 nrg = silk_schur64( refl_coef_Q16, auto_corr, psEnc->sCmn.shapingLPCOrder ); in silk_noise_shape_analysis_FIX()
/external/webrtc/common_audio/signal_processing/include/
Dsignal_processing_library.h430 int16_t WebRtcSpl_LevinsonDurbin(const int32_t* auto_corr,
476 void WebRtcSpl_AutoCorrToReflCoef(const int32_t* auto_corr,