Home
last modified time | relevance | path

Searched refs:GainController2 (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/modules/audio_processing/
Dgain_controller2.cc23 int GainController2::instance_count_ = 0;
25 GainController2::GainController2() in GainController2() function in webrtc::GainController2
36 GainController2::~GainController2() = default;
38 void GainController2::Initialize(int sample_rate_hz) { in Initialize()
48 void GainController2::Process(AudioBuffer* audio) { in Process()
59 void GainController2::NotifyAnalogLevel(int level) { in NotifyAnalogLevel()
66 void GainController2::ApplyConfig( in ApplyConfig()
67 const AudioProcessing::Config::GainController2& config) { in ApplyConfig()
85 bool GainController2::Validate( in Validate()
86 const AudioProcessing::Config::GainController2& config) { in Validate()
[all …]
Dgain_controller2_unittest.cc35 float RunAgc2WithConstantInput(GainController2* agc2, in RunAgc2WithConstantInput()
52 AudioProcessing::Config::GainController2 CreateAgc2FixedDigitalModeConfig( in CreateAgc2FixedDigitalModeConfig()
54 AudioProcessing::Config::GainController2 config; in CreateAgc2FixedDigitalModeConfig()
58 EXPECT_TRUE(GainController2::Validate(config)); in CreateAgc2FixedDigitalModeConfig()
62 std::unique_ptr<GainController2> CreateAgc2FixedDigitalMode( in CreateAgc2FixedDigitalMode()
65 auto agc2 = std::make_unique<GainController2>(); in CreateAgc2FixedDigitalMode()
71 float GainAfterProcessingFile(GainController2* gain_controller) { in GainAfterProcessingFile()
107 TEST(GainController2, CreateApplyConfig) { in TEST() argument
109 std::unique_ptr<GainController2> gain_controller2(new GainController2()); in TEST()
112 AudioProcessing::Config::GainController2 config; in TEST()
[all …]
Dgain_controller2.h30 class GainController2 {
32 GainController2();
33 ~GainController2();
39 void ApplyConfig(const AudioProcessing::Config::GainController2& config);
40 static bool Validate(const AudioProcessing::Config::GainController2& config);
42 const AudioProcessing::Config::GainController2& config);
47 AudioProcessing::Config::GainController2 config_;
53 RTC_DISALLOW_COPY_AND_ASSIGN(GainController2);
Daudio_processing_impl.cc609 const bool config_ok = GainController2::Validate(config_.gain_controller2); in ApplyConfig()
613 << GainController2::ToString(config_.gain_controller2) in ApplyConfig()
615 config_.gain_controller2 = AudioProcessing::Config::GainController2(); in ApplyConfig()
1820 submodules_.gain_controller2.reset(new GainController2()); in InitializeGainController2()
Daudio_processing_impl.h378 std::unique_ptr<GainController2> gain_controller2;
/external/webrtc/modules/audio_processing/agc2/
Dadaptive_mode_level_estimator.cc23 AudioProcessing::Config::GainController2::LevelEstimator::kRms), in AdaptiveModeLevelEstimator()
30 AudioProcessing::Config::GainController2::LevelEstimator level_estimator, in AdaptiveModeLevelEstimator()
62 AudioProcessing::Config::GainController2::LevelEstimator; in UpdateEstimation()
Dadaptive_mode_level_estimator.h29 AudioProcessing::Config::GainController2::LevelEstimator level_estimator,
42 const AudioProcessing::Config::GainController2::LevelEstimator
Dadaptive_agc.h28 const AudioProcessing::Config::GainController2& config);
Dadaptive_agc.cc29 const AudioProcessing::Config::GainController2& config) in AdaptiveAgc()
/external/webrtc/modules/audio_processing/include/
Daudio_processing.cc46 const AudioProcessing::Config::GainController2::LevelEstimator& level) { in GainController2LevelEstimatorToString()
48 case AudioProcessing::Config::GainController2::LevelEstimator::kRms: in GainController2LevelEstimatorToString()
50 case AudioProcessing::Config::GainController2::LevelEstimator::kPeak: in GainController2LevelEstimatorToString()
Daudio_processing.h339 struct GainController2 { struct
/external/webrtc/test/fuzzers/
Daudio_processing_configs_fuzzer.cc135 ? webrtc::AudioProcessing::Config::GainController2::LevelEstimator:: in CreateApm()
137 : webrtc::AudioProcessing::Config::GainController2::LevelEstimator:: in CreateApm()
/external/webrtc/modules/audio_processing/test/
Daudioproc_float_impl.cc313 AudioProcessing::Config::GainController2::LevelEstimator
316 return AudioProcessing::Config::GainController2::LevelEstimator::kRms; in MapAgc2AdaptiveLevelEstimator()
319 return AudioProcessing::Config::GainController2::LevelEstimator::kPeak; in MapAgc2AdaptiveLevelEstimator()
Daudio_processing_simulator.h118 AudioProcessing::Config::GainController2::LevelEstimator