Home
last modified time | relevance | path

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

/external/webrtc/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.c106 int32_t gain32, fQtmp; in WebRtcIsacfix_NormLatticeFilterMa() local
131 gain32 = gain_lo_hiQ17[temp3]; in WebRtcIsacfix_NormLatticeFilterMa()
132 gain_sh = WebRtcSpl_NormW32(gain32); in WebRtcIsacfix_NormLatticeFilterMa()
133 gain32 <<= gain_sh; // Q(17+gain_sh) in WebRtcIsacfix_NormLatticeFilterMa()
137gain32 = WEBRTC_SPL_MUL_16_32_RSFT15(cthQ15[k], gain32); //Q15*Q(17+gain_sh)>>15 = Q(17+gain_sh) in WebRtcIsacfix_NormLatticeFilterMa()
140 gain16 = (int16_t)(gain32 >> 16); // Q(1+gain_sh). in WebRtcIsacfix_NormLatticeFilterMa()
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c307 int32_t gain32, delta; in WebRtcAgc_ProcessDigital() local
530 gain32 = (gains[k + 1] >> zeros) + 1; in WebRtcAgc_ProcessDigital()
531 gain32 *= gain32; in WebRtcAgc_ProcessDigital()
533 while (AGC_MUL32((env[k] >> 12) + 1, gain32) in WebRtcAgc_ProcessDigital()
545 gain32 = (gains[k + 1] >> zeros) + 1; in WebRtcAgc_ProcessDigital()
546 gain32 *= gain32; in WebRtcAgc_ProcessDigital()
563 gain32 = gains[0] << 4; in WebRtcAgc_ProcessDigital()
569 tmp32 = out[i][n] * ((gain32 + 127) >> 7); in WebRtcAgc_ProcessDigital()
579 tmp32 = out[i][n] * (gain32 >> 4); in WebRtcAgc_ProcessDigital()
585 gain32 += delta; in WebRtcAgc_ProcessDigital()
[all …]
/external/speex/libspeex/
Dnb_celp.c1480 spx_word32_t gain32; in nb_decode() local
1483 gain32 = PDIV32(ol_gain, ADD16(exc_ener,1)); in nb_decode()
1485 if (gain32 > 32767) in nb_decode()
1486 gain32 = 32767; in nb_decode()
1487 gain = EXTRACT16(gain32); in nb_decode()
1489 if (gain32 > 2) in nb_decode()
1490 gain32=2; in nb_decode()
1491 gain = gain32; in nb_decode()