Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c276 int32_t res, in_sqrt, newRes; in CalcRootInvArSpec() local
331 in_sqrt = summQ16[0] + (diffQ16[0] << shftVal); in CalcRootInvArSpec()
334 res = 1 << (WebRtcSpl_GetSizeInBits(in_sqrt) >> 1); in CalcRootInvArSpec()
338 in_sqrt = summQ16[k] + (diffQ16[k] << shftVal); in CalcRootInvArSpec()
342 if(in_sqrt<0) in CalcRootInvArSpec()
343 in_sqrt=-in_sqrt; in CalcRootInvArSpec()
345 newRes = (in_sqrt / res + res) >> 1; in CalcRootInvArSpec()
349 newRes = (in_sqrt / res + res) >> 1; in CalcRootInvArSpec()
356 in_sqrt = summQ16[FRAMESAMPLES / 4 - 1 - k] - in CalcRootInvArSpec()
361 if(in_sqrt<0) in CalcRootInvArSpec()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c278 int32_t in_sqrt; in WebRtcIsac_DecodeSpec() local
311 in_sqrt = invARSpec2_Q16[k]; in WebRtcIsac_DecodeSpec()
315 if (in_sqrt < 0) in WebRtcIsac_DecodeSpec()
316 in_sqrt = -in_sqrt; in WebRtcIsac_DecodeSpec()
318 newRes = (in_sqrt / res + res) >> 1; in WebRtcIsac_DecodeSpec()
321 newRes = (in_sqrt / res + res) >> 1; in WebRtcIsac_DecodeSpec()
405 int32_t in_sqrt; in WebRtcIsac_EncodeSpec() local
565 in_sqrt = invARSpec2_Q16[k]; in WebRtcIsac_EncodeSpec()
568 if (in_sqrt < 0) { in WebRtcIsac_EncodeSpec()
569 in_sqrt = -in_sqrt; in WebRtcIsac_EncodeSpec()
[all …]