Searched refs:channel_ix (Results 1 – 5 of 5) sorted by relevance
/aosp_15_r20/external/webrtc/modules/audio_coding/neteq/ |
H A D | normal.cc | 73 for (size_t channel_ix = 0; channel_ix < output->Channels(); ++channel_ix) { in Process() local 75 int16_t mute_factor = expand_->MuteFactor(channel_ix); in Process() 77 (*output)[channel_ix].CopyTo(length_per_channel, 0, signal.get()); in Process() 98 if ((energy != 0) && (energy > background_noise_.Energy(channel_ix))) { in Process() 103 background_noise_.Energy(channel_ix), scaling + 14); in Process() 122 RTC_DCHECK_LT(channel_ix, output->Channels()); in Process() 124 int32_t scaled_signal = (*output)[channel_ix][i] * mute_factor; in Process() 126 (*output)[channel_ix][i] = in Process() 137 RTC_DCHECK_LT(channel_ix, output->Channels()); in Process() 145 (*output)[channel_ix][i] = in Process() [all …]
|
H A D | expand.cc | 109 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 …]
|
H A D | background_noise.cc | 61 for (size_t channel_ix = 0; channel_ix < num_channels_; ++channel_ix) { in Update() local 62 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Update() 66 input[channel_ix].CopyTo(kVecLen, input.Size() - kVecLen, temp_signal); in Update() 114 SaveParameters(channel_ix, lpc_coefficients, in Update() 123 IncrementEnergyThreshold(channel_ix, sample_energy); in Update()
|
/aosp_15_r20/external/executorch/kernels/quantized/cpu/ |
H A D | op_dequantize.cpp | 175 float get_scale(const Tensor& scale, size_t channel_ix) { in get_scale() argument 182 return static_cast<float>(scale.const_data_ptr<double>()[channel_ix]); in get_scale() 184 return scale.const_data_ptr<float>()[channel_ix]; in get_scale() 287 for (size_t channel_ix = 0; channel_ix < input.size(axis); ++channel_ix) { \ in dequantize_per_channel_out() 288 float _scale = get_scale(scale, channel_ix); \ in dequantize_per_channel_out() 291 _zero_point = zero_point_data[channel_ix]; \ in dequantize_per_channel_out() 302 channel_ix); \ in dequantize_per_channel_out()
|
H A D | op_quantize.cpp | 309 for (size_t channel_ix = 0; channel_ix < input.size(axis); ++channel_ix) { \ in quantize_per_channel_out() 310 double _scale = scale_data[channel_ix]; \ in quantize_per_channel_out() 311 int64_t _zero_point = zero_point_data[channel_ix]; \ in quantize_per_channel_out() 330 channel_ix); \ in quantize_per_channel_out()
|