Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Dwebrtc_cng.c419 int32_t targetEnergy; in WebRtcCng_UpdateSid() local
435 targetEnergy = WebRtcCng_kDbov[SID[0]]; in WebRtcCng_UpdateSid()
437 targetEnergy = targetEnergy >> 1; in WebRtcCng_UpdateSid()
438 targetEnergy += targetEnergy >> 2; in WebRtcCng_UpdateSid()
440 inst->dec_target_energy = targetEnergy; in WebRtcCng_UpdateSid()
489 int32_t targetEnergy; in WebRtcCng_Generate() local
529 targetEnergy = inst->dec_used_energy; in WebRtcCng_Generate()
552 targetEnergy = WebRtcSpl_Sqrt(inst->dec_used_energy); in WebRtcCng_Generate()
556 inst->dec_used_scale_factor = (int16_t)((En * targetEnergy) >> 12); in WebRtcCng_Generate()