Lines Matching refs:scaling
83 int scaling = 31 - WebRtcSpl_NormW32(max_input_value_ * max_input_value_) - in Process() local
85 scaling = std::max(0, scaling); in Process()
94 WebRtcSpl_DotProductWithScale(vec1, vec1, peak_index, scaling); in Process()
96 WebRtcSpl_DotProductWithScale(vec2, vec2, peak_index, scaling); in Process()
100 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling); in Process()
104 SpeechDetection(vec1_energy, vec2_energy, peak_index, scaling); in Process()
170 int scaling = std::max(0, 17 - WebRtcSpl_NormW32(max_corr)); in AutoCorrelation() local
172 auto_corr, scaling); in AutoCorrelation()
178 int scaling) const { in SpeechDetection()
205 if (WebRtcSpl_NormW32(left_side) < 2 * scaling) { in SpeechDetection()
209 right_side = right_side >> (2 * scaling - temp_scale); in SpeechDetection()
211 left_side = left_side << 2 * scaling; in SpeechDetection()