Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/neteq/
Dnormal.cc67 for (size_t channel_ix = 0; channel_ix < output->Channels(); ++channel_ix) { in Process() local
69 int16_t mute_factor = expand_->MuteFactor(channel_ix); in Process()
71 (*output)[channel_ix].CopyTo(length_per_channel, 0, signal.get()); in Process()
92 if ((energy != 0) && (energy > background_noise_.Energy(channel_ix))) { in Process()
97 background_noise_.Energy(channel_ix), scaling + 14); in Process()
116 RTC_DCHECK_LT(channel_ix, output->Channels()); in Process()
118 int32_t scaled_signal = (*output)[channel_ix][i] * mute_factor; in Process()
120 (*output)[channel_ix][i] = in Process()
131 RTC_DCHECK_LT(channel_ix, output->Channels()); in Process()
139 (*output)[channel_ix][i] = in Process()
[all …]
Dexpand.cc109 for (size_t channel_ix = 0; channel_ix < num_channels_; ++channel_ix) { in Process() local
110 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Process()
176 (*sync_buffer_)[channel_ix][start_ix + i] = in Process()
177 (((*sync_buffer_)[channel_ix][start_ix + i] * muting_window) + in Process()
296 random_vector, channel_ix, channel_parameters_[channel_ix].mute_slope, in Process()
303 if (channel_ix == 0) { in Process()
308 (*output)[channel_ix].OverwriteAt(temp_data, current_lag, 0); in Process()
470 for (size_t channel_ix = 0; channel_ix < num_channels_; ++channel_ix) { in AnalyzeSignal() local
471 ChannelParameters& parameters = channel_parameters_[channel_ix]; in AnalyzeSignal()
472 if (channel_ix > 0) { in AnalyzeSignal()
[all …]
Dbackground_noise.cc62 for (size_t channel_ix = 0; channel_ix < num_channels_; ++channel_ix) { in Update() local
63 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Update()
67 input[channel_ix].CopyTo(kVecLen, input.Size() - kVecLen, temp_signal); in Update()
115 SaveParameters(channel_ix, lpc_coefficients, in Update()
124 IncrementEnergyThreshold(channel_ix, sample_energy); in Update()