/external/webrtc/modules/audio_processing/agc2/rnn_vad/ |
D | lp_residual.cc | 45 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 …]
|
D | pitch_search_internal.cc | 94 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 …]
|
D | auto_correlation.cc | 48 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()
|
D | spectral_features_internal.cc | 95 rtc::ArrayView<float, kOpusBands24kHz> auto_corr) const { in ComputeAutoCorrelation() 96 ComputeCrossCorrelation(x, x, auto_corr); in ComputeAutoCorrelation()
|
D | auto_correlation.h | 37 rtc::ArrayView<float, kNumInvertedLags12kHz> auto_corr);
|
D | pitch_search_internal.h | 56 rtc::ArrayView<const float> auto_corr,
|
D | spectral_features_internal.h | 59 rtc::ArrayView<float, kOpusBands24kHz> auto_corr) const;
|
/external/libopus/silk/fixed/ |
D | find_pitch_lags_FIX.c | 50 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() 91 …auto_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()
|
D | noise_shape_analysis_FIX.c | 153 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() 272 …auto_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/ |
D | find_pitch_lags_FLP.c | 47 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()
|
D | noise_shape_analysis_FLP.c | 160 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()
|
D | schur_FLP.c | 36 …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()
|
D | SigProc_FLP.h | 61 …const silk_float auto_corr[], /* I autocorrelation sequence (length order+1) …
|
/external/webrtc/modules/audio_coding/neteq/ |
D | time_stretch.cc | 162 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/ |
D | noise_shape_analysis_FIX_mipsr1.h | 47 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() 179 …auto_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/ |
D | signal_processing_library.h | 430 int16_t WebRtcSpl_LevinsonDurbin(const int32_t* auto_corr, 476 void WebRtcSpl_AutoCorrToReflCoef(const int32_t* auto_corr,
|