Home
last modified time | relevance | path

Searched refs:input_level (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/
Dinterpolated_gain_curve.cc122 void InterpolatedGainCurve::UpdateStats(float input_level) const { in UpdateStats()
127 if (input_level < approximation_params_x_[0]) { in UpdateStats()
130 } else if (input_level < in UpdateStats()
134 } else if (input_level < kMaxInputLevelLinear) { in UpdateStats()
159 float InterpolatedGainCurve::LookUpGainToApply(float input_level) const { in LookUpGainToApply()
160 UpdateStats(input_level); in LookUpGainToApply()
162 if (input_level <= approximation_params_x_[0]) { in LookUpGainToApply()
167 if (input_level >= kMaxInputLevelLinear) { in LookUpGainToApply()
171 return 32768.f / input_level; in LookUpGainToApply()
179 approximation_params_x_.end(), input_level); in LookUpGainToApply()
[all …]
Dlimiter_unittest.cc35 const float input_level = in TEST() local
45 input_level); in TEST()
50 input_level); in TEST()
Dinterpolated_gain_curve.h73 float LookUpGainToApply(float input_level) const;
97 void UpdateStats(float input_level) const;
Dfixed_digital_level_estimator_unittest.cc63 const float input_level = DbfsToFloatS16(input_level_db); in TimeMsToDecreaseLevel() local
67 num_channels, rtc::CheckedDivExact(sample_rate_hz, 100), input_level); in TimeMsToDecreaseLevel()
/external/webrtc/modules/audio_processing/
Dgain_controller2_unittest.cc36 float input_level, in RunAgc2WithConstantInput() argument
44 SetAudioBufferSamples(input_level, &ab); in RunAgc2WithConstantInput()
Daudio_processing_performance_unittest.cc191 float input_level, in TimedThreadApiProcessor() argument
202 input_level_(input_level), in TimedThreadApiProcessor()