Home
last modified time | relevance | path

Searched refs:kNumSubframeSamples (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/vad/
Dvad_audio_proc.cc51 static_assert(kNumPastSignalSamples + kNumSubframeSamples == in VadAudioProc()
82 if (length != kNumSubframeSamples) { in ExtractFeatures()
89 if (high_pass_filter_->Filter(frame, kNumSubframeSamples, in ExtractFeatures()
94 num_buffer_samples_ += kNumSubframeSamples; in ExtractFeatures()
125 double windowed_audio[kNumSubframeSamples + kNumPastSignalSamples]; in SubframeCorrelation()
126 size_t buffer_index = subframe_index * kNumSubframeSamples; in SubframeCorrelation()
128 for (size_t n = 0; n < kNumSubframeSamples + kNumPastSignalSamples; n++) in SubframeCorrelation()
132 kNumSubframeSamples + kNumPastSignalSamples, kLpcOrder); in SubframeCorrelation()
269 for (size_t n = 0; n < kNumSubframeSamples; n++, offset++) in Rms()
271 rms[i] = sqrt(rms[i] / kNumSubframeSamples); in Rms()
Dvad_audio_proc.h60 static const size_t kNumSubframeSamples = variable
64 kNumSubframeSamples; // Samples in 30 ms @ given sampling rate.