Searched refs:in_sqrt (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | entropy_coding.c | 250 WebRtc_Word32 res, in_sqrt, newRes; in CalcRootInvArSpec() local 305 in_sqrt = summQ16[0] + WEBRTC_SPL_LSHIFT_W32(diffQ16[0], shftVal); in CalcRootInvArSpec() 308 res = WEBRTC_SPL_LSHIFT_W32(1, WEBRTC_SPL_RSHIFT_W16(WebRtcSpl_GetSizeInBits(in_sqrt), 1)); in CalcRootInvArSpec() 312 in_sqrt = summQ16[k] + WEBRTC_SPL_LSHIFT_W32(diffQ16[k], shftVal); in CalcRootInvArSpec() 316 if(in_sqrt<0) in CalcRootInvArSpec() 317 in_sqrt=-in_sqrt; in CalcRootInvArSpec() 319 newRes = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_DIV(in_sqrt, res) + res, 1); in CalcRootInvArSpec() 323 newRes = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_DIV(in_sqrt, res) + res, 1); in CalcRootInvArSpec() 330 …in_sqrt = summQ16[FRAMESAMPLES/4-1 - k] - WEBRTC_SPL_LSHIFT_W32(diffQ16[FRAMESAMPLES/4-1 - k], shf… in CalcRootInvArSpec() 334 if(in_sqrt<0) in CalcRootInvArSpec() [all …]
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | entropy_coding.c | 283 WebRtc_Word32 in_sqrt; in WebRtcIsac_DecodeSpec() local 316 in_sqrt = invARSpec2_Q16[k]; in WebRtcIsac_DecodeSpec() 320 if (in_sqrt < 0) in WebRtcIsac_DecodeSpec() 321 in_sqrt = -in_sqrt; in WebRtcIsac_DecodeSpec() 323 newRes = (in_sqrt / res + res) >> 1; in WebRtcIsac_DecodeSpec() 326 newRes = (in_sqrt / res + res) >> 1; in WebRtcIsac_DecodeSpec() 410 WebRtc_Word32 in_sqrt; in WebRtcIsac_EncodeSpec() local 570 in_sqrt = invARSpec2_Q16[k]; in WebRtcIsac_EncodeSpec() 573 if (in_sqrt < 0) { in WebRtcIsac_EncodeSpec() 574 in_sqrt = -in_sqrt; in WebRtcIsac_EncodeSpec() [all …]
|