Home
last modified time | relevance | path

Searched refs:kMaxPitch24kHz (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dpitch_search_internal.cc29 RTC_DCHECK_LE(lag, kMaxPitch24kHz); in GetInvertedLag()
30 return kMaxPitch24kHz - lag; in GetInvertedLag()
76 if (lag > 0 && lag < kMaxPitch24kHz) { in PitchPseudoInterpolationLagPitchBuf()
80 kMaxPitch24kHz), in PitchPseudoInterpolationLagPitchBuf()
82 kMaxPitch24kHz), in PitchPseudoInterpolationLagPitchBuf()
84 kMaxPitch24kHz)); in PitchPseudoInterpolationLagPitchBuf()
200 rtc::ArrayView<float, kMaxPitch24kHz + 1> yy_values) { in ComputeSlidingFrameSquareEnergies()
202 ComputeAutoCorrelationCoeff(pitch_buf, kMaxPitch24kHz, kMaxPitch24kHz); in ComputeSlidingFrameSquareEnergies()
205 RTC_DCHECK_LE(i, kMaxPitch24kHz + kFrameSize20ms24kHz); in ComputeSlidingFrameSquareEnergies()
206 RTC_DCHECK_LE(i, kMaxPitch24kHz); in ComputeSlidingFrameSquareEnergies()
[all …]
Dcommon.h27 constexpr size_t kMaxPitch24kHz = kSampleRate24kHz / 62.5; // 0.016 s. variable
28 constexpr size_t kBufSize24kHz = kMaxPitch24kHz + kFrameSize20ms24kHz;
37 static_assert(kInitialMinPitch24kHz < kMaxPitch24kHz, "");
38 static_assert(kMaxPitch24kHz > kInitialMinPitch24kHz, "");
39 constexpr size_t kNumInvertedLags24kHz = kMaxPitch24kHz - kInitialMinPitch24kHz;
47 constexpr size_t kMaxPitch12kHz = kMaxPitch24kHz / 2;
55 constexpr size_t kMaxPitch48kHz = kMaxPitch24kHz * 2;
Dfeatures_extraction.cc74 RTC_DCHECK_LE(pitch_info_48kHz_.period / 2, kMaxPitch24kHz); in CheckSilenceComputeFeatures()
76 kMaxPitch24kHz - pitch_info_48kHz_.period / 2, kFrameSize20ms24kHz); in CheckSilenceComputeFeatures()
Dpitch_search_internal.h50 rtc::ArrayView<float, kMaxPitch24kHz + 1> yy_values);
Dfeatures_extraction_unittest.cc41 pitch_period <= kMaxPitch24kHz; in PitchIsValid()