Searched refs:kFrameSize20ms24kHz (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/modules/audio_processing/agc2/rnn_vad/ |
D | spectral_features.cc | 49 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()
|
D | spectral_features.h | 43 rtc::ArrayView<const float, kFrameSize20ms24kHz> reference_frame, 44 rtc::ArrayView<const float, kFrameSize20ms24kHz> lagged_frame, 61 const std::array<float, kFrameSize20ms24kHz / 2> half_window_;
|
D | spectral_features_unittest.cc | 75 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()
|
D | features_extraction.h | 48 SequenceBuffer<float, kBufSize24kHz, kFrameSize10ms24kHz, kFrameSize20ms24kHz> 54 rtc::ArrayView<const float, kFrameSize20ms24kHz> reference_frame_view_;
|
D | spectral_features_internal.cc | 26 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()
|
D | common.h | 23 constexpr size_t kFrameSize20ms24kHz = kFrameSize10ms24kHz * 2; variable 28 constexpr size_t kBufSize24kHz = kMaxPitch24kHz + kFrameSize20ms24kHz;
|
D | features_extraction.cc | 76 kMaxPitch24kHz - pitch_info_48kHz_.period / 2, kFrameSize20ms24kHz); in CheckSilenceComputeFeatures() 80 reference_frame_view_, {lagged_frame.data(), kFrameSize20ms24kHz}, in CheckSilenceComputeFeatures()
|
D | spectral_features_internal_unittest.cc | 63 kBandFrequencyBoundariesHz[i] * kFrameSize20ms24kHz / kSampleRate24kHz; in TEST() 92 Pffft fft(kFrameSize20ms24kHz, Pffft::FftType::kReal); in TEST()
|
D | auto_correlation_unittest.cc | 57 constexpr size_t kFrameSize20ms12kHz = kFrameSize20ms24kHz / 2; in TEST()
|
D | pitch_search_internal.cc | 205 RTC_DCHECK_LE(i, kMaxPitch24kHz + kFrameSize20ms24kHz); in ComputeSlidingFrameSquareEnergies() 207 const float old_coeff = pitch_buf[kMaxPitch24kHz + kFrameSize20ms24kHz - i]; in ComputeSlidingFrameSquareEnergies()
|