Home
last modified time | relevance | path

Searched refs:gainQ10 (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c169 const WebRtc_Word32 gainQ10, in CalcInvArSpec() argument
183 CorrQ11[0] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, gainQ10) + 256, 9); in CalcInvArSpec()
186 if(gainQ10>400000){ in CalcInvArSpec()
187 tmpGain = WEBRTC_SPL_RSHIFT_W32(gainQ10, 3); in CalcInvArSpec()
191 tmpGain = gainQ10; in CalcInvArSpec()
239 const WebRtc_Word32 gainQ10, in CalcRootInvArSpec() argument
256 CorrQ11[0] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, gainQ10) + 256, 9); in CalcRootInvArSpec()
259 if(gainQ10>400000){ in CalcRootInvArSpec()
260 tmpGain = WEBRTC_SPL_RSHIFT_W32(gainQ10, 3); in CalcRootInvArSpec()
264 tmpGain = gainQ10; in CalcRootInvArSpec()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c96 const WebRtc_Word32 gainQ10, in FindInvArSpec() argument
111 CorrQ11[0] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, gainQ10) + 256, 9); in FindInvArSpec()
115 if (gainQ10 > 400000) { in FindInvArSpec()
116 tmpGain = WEBRTC_SPL_RSHIFT_W32(gainQ10, 3); in FindInvArSpec()
120 tmpGain = gainQ10; in FindInvArSpec()
281 WebRtc_Word16 gainQ10; in WebRtcIsac_DecodeSpec() local
352 gainQ10 = WebRtcSpl_DivW32W16ResW16(p1, (WebRtc_Word16)( in WebRtcIsac_DecodeSpec()
354 *fr++ = (double)((data[ k ] * gainQ10 + 512) >> 10) / 128.0; in WebRtcIsac_DecodeSpec()
355 *fi++ = (double)((data[k + 1] * gainQ10 + 512) >> 10) / 128.0; in WebRtcIsac_DecodeSpec()
356 *fr++ = (double)((data[k + 2] * gainQ10 + 512) >> 10) / 128.0; in WebRtcIsac_DecodeSpec()
[all …]