Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dbackground_noise.cc245 int16_t norm_shift = WebRtcSpl_NormW32(residual_energy) - 1; in SaveParameters() local
246 if (norm_shift & 0x1) { in SaveParameters()
247 norm_shift -= 1; // Even number of shifts required. in SaveParameters()
249 residual_energy = WEBRTC_SPL_SHIFT_W32(residual_energy, norm_shift); in SaveParameters()
257 static_cast<int16_t>(13 + ((kLogResidualLength + norm_shift) / 2)); in SaveParameters()
Dmerge.cc336 int norm_shift = std::max(0, 17 - WebRtcSpl_NormW32(max_correlation)); in CorrelateAndPeakSearch() local
338 correlation, norm_shift); in CorrelateAndPeakSearch()
Dexpand.cc812 int16_t norm_shift = 16 - WebRtcSpl_NormW32(max_value); in Correlation() local
814 downsampled_input, norm_shift); in Correlation()
833 *output_scale = 2 * norm_shift + kCorrelationShift + norm_shift2; in Correlation()
/external/boringssl/src/crypto/bn/
Ddiv.c117 int norm_shift, i, loop; in BN_div() local
168 norm_shift = BN_BITS2 - ((BN_num_bits(divisor)) % BN_BITS2); in BN_div()
169 if (!(BN_lshift(sdiv, divisor, norm_shift))) { in BN_div()
173 norm_shift += BN_BITS2; in BN_div()
174 if (!(BN_lshift(snum, num, norm_shift))) { in BN_div()
365 if (!BN_rshift(rm, snum, norm_shift)) { in BN_div()