Home
last modified time | relevance | path

Searched refs:vad_data (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/
Dadaptive_mode_level_estimator.cc39 const VadWithLevel::LevelAndProbability& vad_data) { in UpdateEstimation() argument
40 RTC_DCHECK_GT(vad_data.speech_rms_dbfs, -150.f); in UpdateEstimation()
41 RTC_DCHECK_LT(vad_data.speech_rms_dbfs, 50.f); in UpdateEstimation()
42 RTC_DCHECK_GT(vad_data.speech_peak_dbfs, -150.f); in UpdateEstimation()
43 RTC_DCHECK_LT(vad_data.speech_peak_dbfs, 50.f); in UpdateEstimation()
44 RTC_DCHECK_GE(vad_data.speech_probability, 0.f); in UpdateEstimation()
45 RTC_DCHECK_LE(vad_data.speech_probability, 1.f); in UpdateEstimation()
47 if (vad_data.speech_probability < kVadConfidenceThreshold) { in UpdateEstimation()
65 speech_level_dbfs = vad_data.speech_rms_dbfs; in UpdateEstimation()
68 speech_level_dbfs = vad_data.speech_peak_dbfs; in UpdateEstimation()
[all …]
Dadaptive_mode_level_estimator_unittest.cc20 VadWithLevel::LevelAndProbability vad_data, in RunOnConstantLevel() argument
23 level_estimator->UpdateEstimation(vad_data); // By copy in RunOnConstantLevel()
33 VadWithLevel::LevelAndProbability vad_data(1.f, -20.f, -10.f); in TEST() local
34 level_estimator.UpdateEstimation(vad_data); in TEST()
Dsaturation_protector_unittest.cc22 VadWithLevel::LevelAndProbability vad_data, in RunOnConstantLevel() argument
28 saturation_protector->UpdateMargin(vad_data, estimated_level_dbfs); in RunOnConstantLevel()
42 VadWithLevel::LevelAndProbability vad_data(1.f, -20.f, -10.f); in TEST() local
44 saturation_protector.UpdateMargin(vad_data, -20.f); in TEST()
Dsaturation_protector.cc70 const VadWithLevel::LevelAndProbability& vad_data, in UpdateMargin() argument
72 peak_enveloper_.Process(vad_data.speech_peak_dbfs); in UpdateMargin()
Dsaturation_protector.h34 void UpdateMargin(const VadWithLevel::LevelAndProbability& vad_data,
Dadaptive_mode_level_estimator.h32 void UpdateEstimation(const VadWithLevel::LevelAndProbability& vad_data);
Dadaptive_digital_gain_applier_unittest.cc30 VadWithLevel::LevelAndProbability vad_data, in RunOnConstantLevel() argument
40 signal_with_levels.vad_result = vad_data; in RunOnConstantLevel()