Searched refs:gain2_Q10 (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | entropy_coding.c | 436 WebRtc_Word32 gain2_Q10; in WebRtcIsacfix_DecodeSpec() local 450 if (WebRtcIsacfix_DecodeGain2(streamdata, &gain2_Q10) < 0) in WebRtcIsacfix_DecodeSpec() 454 CalcInvArSpec(ARCoefQ12, gain2_Q10, invARSpec2_Q16); in WebRtcIsacfix_DecodeSpec() 505 WebRtc_Word32 gain2_Q10; in WebRtcIsacfix_EncodeSpec() local 583 …gain2_Q10 = WebRtcSpl_DivResultInQ31(FRAMESAMPLES >> 2, nrg); /* also shifts 31 bits to the left!… in WebRtcIsacfix_EncodeSpec() 585 gain2_Q10 = WEBRTC_SPL_RSHIFT_W32(FRAMESAMPLES, 2); in WebRtcIsacfix_EncodeSpec() 588 if (WebRtcIsacfix_EncodeGain2(&gain2_Q10, streamdata)) in WebRtcIsacfix_EncodeSpec() 592 CalcRootInvArSpec(ARCoefQ12, gain2_Q10, invARSpecQ8); in WebRtcIsacfix_EncodeSpec()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | entropy_coding.c | 282 WebRtc_Word32 gain2_Q10, res; in WebRtcIsac_DecodeSpec() local 306 if (WebRtcIsac_DecodeGain2(streamdata, &gain2_Q10) < 0) in WebRtcIsac_DecodeSpec() 310 FindInvArSpec(ARCoefQ12, gain2_Q10, invARSpec2_Q16); in WebRtcIsac_DecodeSpec() 406 WebRtc_Word32 gain2_Q10; in WebRtcIsac_EncodeSpec() local 557 gain2_Q10 = WebRtcSpl_DivResultInQ31(FRAMESAMPLES_QUARTER, nrg); in WebRtcIsac_EncodeSpec() 560 if (WebRtcIsac_EncodeGain2(&gain2_Q10, streamdata)) { in WebRtcIsac_EncodeSpec() 565 FindInvArSpec(ARCoefQ12, gain2_Q10, invARSpec2_Q16); in WebRtcIsac_EncodeSpec()
|