Searched refs:gain2_Q10 (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | entropy_coding.c | 463 int32_t gain2_Q10; in WebRtcIsacfix_DecodeSpec() local 477 if (WebRtcIsacfix_DecodeGain2(streamdata, &gain2_Q10) < 0) in WebRtcIsacfix_DecodeSpec() 481 CalcInvArSpec(ARCoefQ12, gain2_Q10, invARSpec2_Q16); in WebRtcIsacfix_DecodeSpec() 532 int32_t gain2_Q10; in WebRtcIsacfix_EncodeSpec() local 612 …gain2_Q10 = WebRtcSpl_DivResultInQ31(FRAMESAMPLES >> 2, nrg); /* also shifts 31 bits to the left!… in WebRtcIsacfix_EncodeSpec() 614 gain2_Q10 = FRAMESAMPLES >> 2; in WebRtcIsacfix_EncodeSpec() 617 if (WebRtcIsacfix_EncodeGain2(&gain2_Q10, streamdata)) in WebRtcIsacfix_EncodeSpec() 621 CalcRootInvArSpec(ARCoefQ12, gain2_Q10, invARSpecQ8); in WebRtcIsacfix_EncodeSpec()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | entropy_coding.c | 277 int32_t gain2_Q10, res; in WebRtcIsac_DecodeSpec() local 301 if (WebRtcIsac_DecodeGain2(streamdata, &gain2_Q10) < 0) in WebRtcIsac_DecodeSpec() 305 FindInvArSpec(ARCoefQ12, gain2_Q10, invARSpec2_Q16); in WebRtcIsac_DecodeSpec() 401 int32_t gain2_Q10; in WebRtcIsac_EncodeSpec() local 552 gain2_Q10 = WebRtcSpl_DivResultInQ31(FRAMESAMPLES_QUARTER, nrg); in WebRtcIsac_EncodeSpec() 555 if (WebRtcIsac_EncodeGain2(&gain2_Q10, streamdata)) { in WebRtcIsac_EncodeSpec() 560 FindInvArSpec(ARCoefQ12, gain2_Q10, invARSpec2_Q16); in WebRtcIsac_EncodeSpec()
|