Home
last modified time | relevance | path

Searched refs:signal_with_levels (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/
Dadaptive_agc.cc45 auto signal_with_levels = SignalWithLevels(float_frame); in Process() local
46 signal_with_levels.vad_result = vad_.AnalyzeFrame(float_frame); in Process()
48 signal_with_levels.vad_result.speech_probability); in Process()
50 signal_with_levels.vad_result.speech_rms_dbfs); in Process()
52 signal_with_levels.vad_result.speech_peak_dbfs); in Process()
54 speech_level_estimator_.UpdateEstimation(signal_with_levels.vad_result); in Process()
56 signal_with_levels.input_level_dbfs = in Process()
59 signal_with_levels.input_noise_level_dbfs = in Process()
63 signal_with_levels.input_noise_level_dbfs); in Process()
65 signal_with_levels.limiter_audio_level_dbfs = in Process()
[all …]
Dadaptive_digital_gain_applier.cc97 void AdaptiveDigitalGainApplier::Process(SignalWithLevels signal_with_levels) { in Process() argument
104 -signal_with_levels.input_noise_level_dbfs, 0, in Process()
108 signal_with_levels.input_level_dbfs = in Process()
109 std::min(signal_with_levels.input_level_dbfs, 0.f); in Process()
111 RTC_DCHECK_GE(signal_with_levels.input_level_dbfs, -150.f); in Process()
112 RTC_DCHECK_GE(signal_with_levels.float_frame.num_channels(), 1); in Process()
113 RTC_DCHECK_GE(signal_with_levels.float_frame.samples_per_channel(), 1); in Process()
116 LimitGainByNoise(ComputeGainDb(signal_with_levels.input_level_dbfs), in Process()
117 signal_with_levels.input_noise_level_dbfs, in Process()
119 last_gain_db_, signal_with_levels.limiter_audio_level_dbfs, in Process()
[all …]
Dadaptive_digital_gain_applier_unittest.cc37 SignalWithLevels signal_with_levels(fake_audio.float_frame_view()); in RunOnConstantLevel() local
38 signal_with_levels.input_level_dbfs = input_level_dbfs; in RunOnConstantLevel()
39 signal_with_levels.input_noise_level_dbfs = kNoNoiseDbfs; in RunOnConstantLevel()
40 signal_with_levels.vad_result = vad_data; in RunOnConstantLevel()
41 signal_with_levels.limiter_audio_level_dbfs = -2.f; in RunOnConstantLevel()
42 signal_with_levels.estimate_is_confident = true; in RunOnConstantLevel()
43 gain_applier->Process(signal_with_levels); in RunOnConstantLevel()
Dadaptive_digital_gain_applier.h39 void Process(SignalWithLevels signal_with_levels);