Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c197 int32_t CorrQ11[AR_ORDER+1]; in CalcInvArSpec() local
208 CorrQ11[0] = (sum * gainQ10 + 256) >> 9; in CalcInvArSpec()
226 CorrQ11[k] = (sum * tmpGain + round) >> shftVal; in CalcInvArSpec()
228 sum = CorrQ11[0] << 7; in CalcInvArSpec()
234 CurveQ16[n] += (WebRtcIsacfix_kCos[k][n] * CorrQ11[k + 1] + 2) >> 2; in CalcInvArSpec()
240 sh=WebRtcSpl_NormW32(CorrQ11[1]); in CalcInvArSpec()
241 if (CorrQ11[1]==0) /* Use next correlation */ in CalcInvArSpec()
242 sh=WebRtcSpl_NormW32(CorrQ11[2]); in CalcInvArSpec()
250 diffQ16[n] = (CS_ptrQ9[n] * (CorrQ11[1] >> shftVal) + 2) >> 2; in CalcInvArSpec()
254 diffQ16[n] += (CS_ptrQ9[n] * (CorrQ11[k + 1] >> shftVal) + 2) >> 2; in CalcInvArSpec()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c98 int32_t CorrQ11[AR_ORDER + 1]; in FindInvArSpec() local
110 CorrQ11[0] = (sum * gainQ10 + 256) >> 9; in FindInvArSpec()
129 CorrQ11[k] = (sum * tmpGain + round) >> shftVal; in FindInvArSpec()
131 sum = CorrQ11[0] << 7; in FindInvArSpec()
137 CurveQ16[n] += (WebRtcIsac_kCos[k][n] * CorrQ11[k + 1] + 2) >> 2; in FindInvArSpec()
145 sh = WebRtcSpl_NormW32(CorrQ11[1]); in FindInvArSpec()
146 if (CorrQ11[1] == 0) { /* Use next correlation */ in FindInvArSpec()
147 sh = WebRtcSpl_NormW32(CorrQ11[2]); in FindInvArSpec()
155 diffQ16[n] = (CS_ptrQ9[n] * (CorrQ11[1] >> shftVal) + 2) >> 2; in FindInvArSpec()
160 diffQ16[n] += (CS_ptrQ9[n] * (CorrQ11[k + 1] >> shftVal) + 2) >> 2; in FindInvArSpec()