Searched refs:norm_shift (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dbackground_noise.cc243 int norm_shift = WebRtcSpl_NormW32(residual_energy) - 1;
244 if (norm_shift & 0x1) {
245 norm_shift -= 1; // Even number of shifts required.
247 assert(norm_shift >= 0); // Should always be positive.
248 residual_energy = residual_energy << norm_shift;
255 parameters.scale_shift = 13 + ((kLogResidualLength + norm_shift) / 2);
H A Dmerge.cc318 int16_t norm_shift = std::max(0, 17 - WebRtcSpl_NormW32(max_correlation)); local
320 correlation, norm_shift);
H A Dexpand.cc756 int16_t norm_shift = 16 - WebRtcSpl_NormW32(max_value); local
758 downsampled_input, norm_shift);
776 *output_scale = 2 * norm_shift + kCorrelationShift + norm_shift2;
/external/openssl/crypto/bn/
H A Dbn_div.c184 int norm_shift,i,loop; local
237 norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2);
238 if (!(BN_lshift(sdiv,divisor,norm_shift))) goto err;
240 norm_shift+=BN_BITS2;
241 if (!(BN_lshift(snum,num,norm_shift))) goto err;
435 BN_rshift(rm,snum,norm_shift);
/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Ddiv.c117 int norm_shift, i, loop; local
168 norm_shift = BN_BITS2 - ((BN_num_bits(divisor)) % BN_BITS2);
169 if (!(BN_lshift(sdiv, divisor, norm_shift))) {
173 norm_shift += BN_BITS2;
174 if (!(BN_lshift(snum, num, norm_shift))) {
360 BN_rshift(rm, snum, norm_shift);

Completed in 1723 milliseconds