Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c58 static void FindCorrelation(WebRtc_Word32* PSpecQ12, WebRtc_Word32* CorrQ7) { in FindCorrelation() argument
74 CorrQ7[0] = sum; in FindCorrelation()
81 CorrQ7[k + 1] = sum; in FindCorrelation()
89 CorrQ7[k + 1] = sum; in FindCorrelation()
402 WebRtc_Word32 CorrQ7[AR_ORDER + 1]; in WebRtcIsac_EncodeSpec() local
506 FindCorrelation(PSpec, CorrQ7); in WebRtcIsac_EncodeSpec()
511 shift_var = WebRtcSpl_NormW32(CorrQ7[0]) - 18; in WebRtcIsac_EncodeSpec()
515 CorrQ7_norm[k] = CorrQ7[k] << shift_var; in WebRtcIsac_EncodeSpec()
519 CorrQ7_norm[k] = CorrQ7[k] >> (-shift_var); in WebRtcIsac_EncodeSpec()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c134 static void CalcCorrelation(WebRtc_Word32 *PSpecQ12, WebRtc_Word32 *CorrQ7) in CalcCorrelation() argument
149 CorrQ7[0] = sum; in CalcCorrelation()
155 CorrQ7[k+1] = sum; in CalcCorrelation()
162 CorrQ7[k+1] = sum; in CalcCorrelation()
501 WebRtc_Word32 CorrQ7[AR_ORDER+1]; in WebRtcIsacfix_EncodeSpec() local
541 CalcCorrelation(PSpec, CorrQ7); in WebRtcIsacfix_EncodeSpec()
546 lft_shft = WebRtcSpl_NormW32(CorrQ7[0]) - 18; in WebRtcIsacfix_EncodeSpec()
550 CorrQ7_norm[k] = WEBRTC_SPL_LSHIFT_W32(CorrQ7[k], lft_shft); in WebRtcIsacfix_EncodeSpec()
553 CorrQ7_norm[k] = WEBRTC_SPL_RSHIFT_W32(CorrQ7[k], -lft_shft); in WebRtcIsacfix_EncodeSpec()