Lines Matching refs:parameters

109     ChannelParameters& parameters = channel_parameters_[channel_ix];  in Process()  local
113 parameters.expand_vector0.Size()); in Process()
115 &parameters.expand_vector0[expansion_vector_position], in Process()
120 &parameters.expand_vector0[expansion_vector_position], 3, in Process()
121 &parameters.expand_vector1[expansion_vector_position], 1, 2, in Process()
126 parameters.expand_vector0.Size()); in Process()
128 parameters.expand_vector1.Size()); in Process()
130 &parameters.expand_vector0[expansion_vector_position], 1, in Process()
131 &parameters.expand_vector1[expansion_vector_position], 1, 1, in Process()
162 if ((parameters.mute_factor > 819) && in Process()
163 (parameters.current_voice_mix_factor > 8192)) { in Process()
169 (((parameters.mute_factor * voiced_vector_storage[i]) >> 14) * in Process()
174 } else if (parameters.mute_factor == 0) { in Process()
190 memcpy(unvoiced_vector - kUnvoicedLpcOrder, parameters.ar_filter_state, in Process()
193 if (parameters.ar_gain_scale > 0) { in Process()
194 add_constant = 1 << (parameters.ar_gain_scale - 1); in Process()
197 parameters.ar_gain, add_constant, in Process()
198 parameters.ar_gain_scale, in Process()
201 parameters.ar_filter, kUnvoicedLpcOrder + 1, in Process()
203 memcpy(parameters.ar_filter_state, in Process()
224 size_t temp_length = (parameters.current_voice_mix_factor - in Process()
225 parameters.voice_mix_factor) >> temp_shift; in Process()
228 &parameters.current_voice_mix_factor, in Process()
235 parameters.current_voice_mix_factor = parameters.voice_mix_factor; in Process()
237 int16_t temp_scale = 16384 - parameters.current_voice_mix_factor; in Process()
239 voiced_vector + temp_length, parameters.current_voice_mix_factor, in Process()
249 parameters.mute_slope = std::max(parameters.mute_slope, 1049 / fs_mult); in Process()
254 parameters.mute_slope = std::max(parameters.mute_slope, 2097 / fs_mult); in Process()
258 if ((consecutive_expands_ != 0) || !parameters.onset) { in Process()
261 parameters.mute_factor, 8192, in Process()
265 DspHelper::MuteSignal(temp_data, parameters.mute_slope, current_lag); in Process()
271 (((current_lag * parameters.mute_slope) + 8192) >> 6)); in Process()
272 gain = ((gain * parameters.mute_factor) + 8192) >> 14; in Process()
276 if ((consecutive_expands_ > 3) && (gain >= parameters.mute_factor)) { in Process()
277 parameters.mute_factor = 0; in Process()
279 parameters.mute_factor = gain; in Process()
452 ChannelParameters& parameters = channel_parameters_[channel_ix]; in AnalyzeSignal() local
537 parameters.expand_vector0.Clear(); in AnalyzeSignal()
538 parameters.expand_vector0.PushBack(vector1, expansion_length); in AnalyzeSignal()
539 parameters.expand_vector1.Clear(); in AnalyzeSignal()
540 if (parameters.expand_vector1.Size() < expansion_length) { in AnalyzeSignal()
541 parameters.expand_vector1.Extend( in AnalyzeSignal()
542 expansion_length - parameters.expand_vector1.Size()); in AnalyzeSignal()
544 WebRtcSpl_AffineTransformVector(&parameters.expand_vector1[0], in AnalyzeSignal()
552 parameters.expand_vector0.Clear(); in AnalyzeSignal()
553 parameters.expand_vector0.PushBack(vector1, expansion_length); in AnalyzeSignal()
555 parameters.expand_vector0.CopyTo(&parameters.expand_vector1); in AnalyzeSignal()
616 parameters.ar_filter, in AnalyzeSignal()
623 parameters.ar_filter[0] = 4096; in AnalyzeSignal()
625 WebRtcSpl_MemSetW16(parameters.ar_filter + 1, 0, kUnvoicedLpcOrder); in AnalyzeSignal()
654 memcpy(parameters.ar_filter_state, in AnalyzeSignal()
662 parameters.ar_filter, in AnalyzeSignal()
685 parameters.ar_gain_scale = 13 in AnalyzeSignal()
687 parameters.ar_gain = unvoiced_gain; in AnalyzeSignal()
706 parameters.voice_mix_factor = in AnalyzeSignal()
708 parameters.voice_mix_factor = std::max(parameters.voice_mix_factor, in AnalyzeSignal()
711 parameters.voice_mix_factor = 0; in AnalyzeSignal()
731 parameters.mute_slope = (temp_ratio + 1) / 2; in AnalyzeSignal()
734 parameters.mute_slope = (temp_ratio + 4) / 8; in AnalyzeSignal()
736 parameters.onset = true; in AnalyzeSignal()
740 parameters.mute_slope = WebRtcSpl_DivW32W16( in AnalyzeSignal()
742 if (parameters.voice_mix_factor <= 13107) { in AnalyzeSignal()
746 parameters.mute_slope = std::max(5243 / fs_mult, parameters.mute_slope); in AnalyzeSignal()
748 parameters.mute_slope = 0; in AnalyzeSignal()
750 parameters.onset = false; in AnalyzeSignal()