Home
last modified time | relevance | path

Searched refs:kFrameSize20ms24kHz (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dspectral_features.cc49 std::array<float, kFrameSize20ms24kHz / 2> ComputeScaledHalfVorbisWindow( in ComputeScaledHalfVorbisWindow()
51 constexpr size_t kHalfSize = kFrameSize20ms24kHz / 2; in ComputeScaledHalfVorbisWindow()
66 rtc::ArrayView<const float, kFrameSize20ms24kHz> frame, in ComputeWindowedForwardFft()
67 const std::array<float, kFrameSize20ms24kHz / 2>& half_window, in ComputeWindowedForwardFft()
74 for (size_t i = 0, j = kFrameSize20ms24kHz - 1; i < half_window.size(); in ComputeWindowedForwardFft()
89 1.f / static_cast<float>(kFrameSize20ms24kHz))), in SpectralFeaturesExtractor()
90 fft_(kFrameSize20ms24kHz, Pffft::FftType::kReal), in SpectralFeaturesExtractor()
104 rtc::ArrayView<const float, kFrameSize20ms24kHz> reference_frame, in CheckSilenceComputeFeatures()
105 rtc::ArrayView<const float, kFrameSize20ms24kHz> lagged_frame, in CheckSilenceComputeFeatures()
Dspectral_features.h43 rtc::ArrayView<const float, kFrameSize20ms24kHz> reference_frame,
44 rtc::ArrayView<const float, kFrameSize20ms24kHz> lagged_frame,
61 const std::array<float, kFrameSize20ms24kHz / 2> half_window_;
Dspectral_features_unittest.cc75 std::array<float, kFrameSize20ms24kHz> samples; in TEST()
76 rtc::ArrayView<float, kFrameSize20ms24kHz> samples_view(samples); in TEST()
120 std::array<float, kFrameSize20ms24kHz> samples; in TEST()
121 rtc::ArrayView<float, kFrameSize20ms24kHz> samples_view(samples); in TEST()
Dfeatures_extraction.h48 SequenceBuffer<float, kBufSize24kHz, kFrameSize10ms24kHz, kFrameSize20ms24kHz>
54 rtc::ArrayView<const float, kFrameSize20ms24kHz> reference_frame_view_;
Dspectral_features_internal.cc26 constexpr std::array<float, kFrameSize20ms24kHz / 2> kOpusBandWeights24kHz20ms =
103 RTC_DCHECK_EQ(x.size(), kFrameSize20ms24kHz); in ComputeCrossCorrelation()
121 RTC_DCHECK_EQ(k, kFrameSize20ms24kHz / 2); // Nyquist coefficient never used. in ComputeCrossCorrelation()
Dcommon.h23 constexpr size_t kFrameSize20ms24kHz = kFrameSize10ms24kHz * 2; variable
28 constexpr size_t kBufSize24kHz = kMaxPitch24kHz + kFrameSize20ms24kHz;
Dfeatures_extraction.cc76 kMaxPitch24kHz - pitch_info_48kHz_.period / 2, kFrameSize20ms24kHz); in CheckSilenceComputeFeatures()
80 reference_frame_view_, {lagged_frame.data(), kFrameSize20ms24kHz}, in CheckSilenceComputeFeatures()
Dspectral_features_internal_unittest.cc63 kBandFrequencyBoundariesHz[i] * kFrameSize20ms24kHz / kSampleRate24kHz; in TEST()
92 Pffft fft(kFrameSize20ms24kHz, Pffft::FftType::kReal); in TEST()
Dauto_correlation_unittest.cc57 constexpr size_t kFrameSize20ms12kHz = kFrameSize20ms24kHz / 2; in TEST()
Dpitch_search_internal.cc205 RTC_DCHECK_LE(i, kMaxPitch24kHz + kFrameSize20ms24kHz); in ComputeSlidingFrameSquareEnergies()
207 const float old_coeff = pitch_buf[kMaxPitch24kHz + kFrameSize20ms24kHz - i]; in ComputeSlidingFrameSquareEnergies()