Home
last modified time | relevance | path

Searched refs:gain32 (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_filter_mips.c26 int32_t w1, w2, w3, w4, w5, gain32, sign32; in WebRtcIsacfix_PitchFilterCore() local
53 [coef4] "=&r" (coef4), [coef5] "=&r" (coef5), [gain32] "=&r" (gain32), in WebRtcIsacfix_PitchFilterCore()
125 [gain32] "r" (gain32), [sign32] "r" (sign32), [kDampF0] "r" (kDampF0), in WebRtcIsacfix_PitchFilterCore()
Dlattice.c107 int32_t gain32, fQtmp; in WebRtcIsacfix_NormLatticeFilterMa() local
132 gain32 = gain_lo_hiQ17[temp3]; in WebRtcIsacfix_NormLatticeFilterMa()
133 gain_sh = WebRtcSpl_NormW32(gain32); in WebRtcIsacfix_NormLatticeFilterMa()
134 gain32 <<= gain_sh; // Q(17+gain_sh) in WebRtcIsacfix_NormLatticeFilterMa()
138gain32 = WEBRTC_SPL_MUL_16_32_RSFT15(cthQ15[k], gain32); //Q15*Q(17+gain_sh)>>15 = Q(17+gain_sh) in WebRtcIsacfix_NormLatticeFilterMa()
141 gain16 = (int16_t)(gain32 >> 16); // Q(1+gain_sh). in WebRtcIsacfix_NormLatticeFilterMa()
/external/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.cc289 int32_t gain32; in WebRtcAgc_ComputeDigitalGains() local
458 gain32 = (gains[k + 1] >> zeros) + 1; in WebRtcAgc_ComputeDigitalGains()
459 gain32 *= gain32; in WebRtcAgc_ComputeDigitalGains()
461 while (AGC_MUL32((env[k] >> 12) + 1, gain32) > in WebRtcAgc_ComputeDigitalGains()
470 gain32 = (gains[k + 1] >> zeros) + 1; in WebRtcAgc_ComputeDigitalGains()
471 gain32 *= gain32; in WebRtcAgc_ComputeDigitalGains()
516 int32_t gain32 = gains[0] * (1 << 4); in WebRtcAgc_ApplyDigitalGains() local
519 int32_t out_tmp = (int64_t)out[i][n] * ((gain32 + 127) >> 7) >> 16; in WebRtcAgc_ApplyDigitalGains()
525 int32_t tmp32 = ((int64_t)out[i][n] * (gain32 >> 4)) >> 16; in WebRtcAgc_ApplyDigitalGains()
530 gain32 += delta; in WebRtcAgc_ApplyDigitalGains()
[all …]