Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/agc2/
Dgain_applier.cc39 AudioFrameView<float> float_frame) { in ApplyGainWithRamping() argument
48 for (int k = 0; k < float_frame.num_channels(); ++k) { in ApplyGainWithRamping()
49 rtc::ArrayView<float> channel_view = float_frame.channel(k); in ApplyGainWithRamping()
61 for (int i = 0; i < float_frame.samples_per_channel(); ++i) { in ApplyGainWithRamping()
62 for (int ch = 0; ch < float_frame.num_channels(); ++ch) { in ApplyGainWithRamping()
63 float_frame.channel(ch)[i] *= gain; in ApplyGainWithRamping()
Dfixed_digital_level_estimator.cc55 const AudioFrameView<const float>& float_frame) { in ComputeLevel() argument
56 RTC_DCHECK_GT(float_frame.num_channels(), 0); in ComputeLevel()
57 RTC_DCHECK_EQ(float_frame.samples_per_channel(), samples_in_frame_); in ComputeLevel()
61 for (int channel_idx = 0; channel_idx < float_frame.num_channels(); in ComputeLevel()
63 const auto channel = float_frame.channel(channel_idx); in ComputeLevel()
98 const auto channel = float_frame.channel(0); in ComputeLevel()
Dfixed_digital_level_estimator.h45 const AudioFrameView<const float>& float_frame);
/external/webrtc/modules/audio_processing/
Dgain_controller2.cc164 AudioFrameView<float> float_frame(audio->channels(), audio->num_channels(), in Process() local
167 speech_probability = vad_->Analyze(float_frame); in Process()
193 float_frame, speech_probability.value(), limiter_.LastAudioLevel()); in Process()
196 fixed_gain_applier_.ApplyGain(float_frame); in Process()
198 limiter_.Process(float_frame); in Process()