Searched refs:kMaxNumFrames (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/modules/audio_processing/vad/ |
D | common.h | 18 static const size_t kMaxNumFrames = 4; variable 21 double log_pitch_gain[kMaxNumFrames]; 22 double pitch_lag_hz[kMaxNumFrames]; 23 double spectral_peak[kMaxNumFrames]; 24 double rms[kMaxNumFrames];
|
D | standalone_vad_unittest.cc | 29 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()
|
D | vad_audio_proc_unittest.cc | 45 double sp[kMaxNumFrames]; in TEST() 49 ASSERT_LT(features.num_frames, kMaxNumFrames); in TEST()
|
D | vad_audio_proc.cc | 102 Rms(features->rms, kMaxNumFrames); in ExtractFeatures() 114 kMaxNumFrames); in ExtractFeatures() 115 FindFirstSpectralPeaks(features->spectral_peak, kMaxNumFrames); in ExtractFeatures()
|
/external/webrtc/modules/audio_processing/agc2/ |
D | down_sampler.cc | 78 const size_t kMaxNumFrames = kSampleRate48kHz * kChunkSizeMs / 1000; in DownSample() local 79 float x[kMaxNumFrames]; in DownSample() 88 RTC_DCHECK_GT(kMaxNumFrames, k); in DownSample()
|