webrtc/modules/audio_processing/agc
Alex Loiko 2ffafa8244 Allow AGC2 level estimation in AgcManagerDirect.
This CL does the following:

1. Adds a new AdaptiveModeLevelEstimatorAgc implementation of the Agc
  interface. The new implementation differs from webrtc::Agc by
   1. using the AGC2 speech level estimator in
      GetRmsErrorDb. webrtc::Agc implements its own with help of
      webrtc::LoudnessHistogram.
   2. Doesn't forget its past at every GetRmsErrorDb call.
2. Makes AgcManagerDirect use AdaptiveModeLevelEstimatorAgc instead of
   webrtc::Agc if the use_agc2_level_estimation flag is set.

Bug: webrtc:7494
Change-Id: I8df3f52e322d433eb5ce5297f4236af2f1877b04
Reviewed-on: https://webrtc-review.googlesource.com/86603
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23875}
2018-07-06 14:18:18 +00:00
..
legacy Fix fuzzer-found overflow in AGC1 2018-07-03 09:56:34 +00:00
agc.cc Remove dependencies on modules:module_api from AudioProcessing. 2018-04-12 22:05:27 +00:00
agc.h Streamline error handling and logging in the audio processing module 2018-02-15 15:06:26 +00:00
agc_manager_direct.cc Allow AGC2 level estimation in AgcManagerDirect. 2018-07-06 14:18:18 +00:00
agc_manager_direct.h Allow AGC2 level estimation in AgcManagerDirect. 2018-07-06 14:18:18 +00:00
agc_manager_direct_unittest.cc Streamline error handling and logging in the audio processing module 2018-02-15 15:06:26 +00:00
BUILD.gn Allow AGC2 level estimation in AgcManagerDirect. 2018-07-06 14:18:18 +00:00
gain_map_internal.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
loudness_histogram.cc Remove dependencies on modules:module_api from AudioProcessing. 2018-04-12 22:05:27 +00:00
loudness_histogram.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
loudness_histogram_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mock_agc.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
utility.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
utility.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00