Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c730 int32_t jitter_sign; /* Q8 */ in WebRtcIsacfix_GetDownlinkBandwidth() local
742 jitter_sign = (bweStr->recJitterShortTerm >> 4) * in WebRtcIsacfix_GetDownlinkBandwidth()
745 if (jitter_sign < 0) { in WebRtcIsacfix_GetDownlinkBandwidth()
746 temp = -jitter_sign; in WebRtcIsacfix_GetDownlinkBandwidth()
748 jitter_sign = -temp; in WebRtcIsacfix_GetDownlinkBandwidth()
750 jitter_sign >>= 19; in WebRtcIsacfix_GetDownlinkBandwidth()
757 temp = 9830 + ((38 * jitter_sign * jitter_sign) >> 8); in WebRtcIsacfix_GetDownlinkBandwidth()
759 if (jitter_sign < 0) { in WebRtcIsacfix_GetDownlinkBandwidth()
760 temp = WEBRTC_SPL_MUL(jitter_sign, temp); in WebRtcIsacfix_GetDownlinkBandwidth()
766 bw_adjust = 65536 - ((jitter_sign * temp) >> 8); in WebRtcIsacfix_GetDownlinkBandwidth()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c711 float jitter_sign; in WebRtcIsac_GetDownlinkBandwidth() local
717 jitter_sign = bwest_str->rec_jitter_short_term / in WebRtcIsac_GetDownlinkBandwidth()
721 bw_adjust = 1.0f - jitter_sign * (0.15f + 0.15f * jitter_sign * jitter_sign); in WebRtcIsac_GetDownlinkBandwidth()