Home
last modified time | relevance | path

Searched refs:rms_error (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_processing/agc/
Dagc_manager_direct.cc316 int rms_error = 0; in UpdateGain() local
317 if (!agc_->GetRmsErrorDb(&rms_error)) { in UpdateGain()
324 rms_error += kMinCompressionGain; in UpdateGain()
328 rtc::SafeClamp(rms_error, kMinCompressionGain, max_compression_gain_); in UpdateGain()
349 rtc::SafeClamp(rms_error - raw_compression, -kMaxResidualGainChange, in UpdateGain()
351 RTC_DLOG(LS_INFO) << "[agc] rms_error=" << rms_error in UpdateGain()
/external/webrtc/common_audio/resampler/
Dpush_sinc_resampler_unittest.cc228 double rms_error = sqrt(sum_of_squares / output_samples); in ResampleTest() local
230 rms_error = DBFS(rms_error); in ResampleTest()
241 EXPECT_LE(rms_error, rms_error_); in ResampleTest()
Dsinc_resampler_unittest.cc324 double rms_error = sqrt(sum_of_squares / output_samples); in TEST_P() local
328 rms_error = DBFS(rms_error); in TEST_P()
332 EXPECT_LE(rms_error, rms_error_); in TEST_P()