Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/vad/
Dcommon.h16 static const size_t kMaxNumFrames = 4; variable
19 double log_pitch_gain[kMaxNumFrames];
20 double pitch_lag_hz[kMaxNumFrames];
21 double spectral_peak[kMaxNumFrames];
22 double rms[kMaxNumFrames];
Dstandalone_vad_unittest.cc29 const size_t kMaxNumFrames = 3; in TEST() local
30 double p[kMaxNumFrames]; in TEST()
31 for (size_t n = 0; n < kMaxNumFrames; n++) in TEST()
35 EXPECT_EQ(-1, vad->GetActivity(p, kMaxNumFrames - 1)); in TEST()
37 EXPECT_EQ(0, vad->GetActivity(p, kMaxNumFrames)); in TEST()
40 EXPECT_EQ(-1, vad->GetActivity(p, kMaxNumFrames)); in TEST()
43 for (size_t n = 0; n < kMaxNumFrames + 1; n++) in TEST()
Dvad_audio_proc_unittest.cc46 double sp[kMaxNumFrames]; in TEST()
50 ASSERT_LT(features.num_frames, kMaxNumFrames); in TEST()
Dvad_audio_proc.cc102 Rms(features->rms, kMaxNumFrames); in ExtractFeatures()
114 kMaxNumFrames); in ExtractFeatures()
115 FindFirstSpectralPeaks(features->spectral_peak, kMaxNumFrames); in ExtractFeatures()
/external/webrtc/webrtc/tools/agc/
Dactivity_metric.cc82 for (size_t n = 0; n < kMaxNumFrames; n++) in AgcStat()
112 double p[kMaxNumFrames] = {0.5, 0.5, 0.5, 0.5}; in AddAudio()
114 standalone_vad_->GetActivity(p, kMaxNumFrames); in AddAudio()
156 double video_vad_[kMaxNumFrames];
237 int agc_vad[kMaxNumFrames]; in void_main()
238 uint8_t true_vad[kMaxNumFrames]; in void_main()
255 assert(true_vad_index < kMaxNumFrames); in void_main()