Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c849 int32_t MinRate = 0; in WebRtcIsacfix_GetMinBytes() local
859 MinRate = INIT_RATE; in WebRtcIsacfix_GetMinBytes()
861 MinRate = 0; in WebRtcIsacfix_GetMinBytes()
870 MinRate = (512 + SAMPLES_PER_MSEC * ((DelayBuildUp * inv_Q12) >> 3)) * in WebRtcIsacfix_GetMinBytes()
876 MinRate = (512 + SAMPLES_PER_MSEC * (((DelayBuildUp - in WebRtcIsacfix_GetMinBytes()
880 MinRate = 0; in WebRtcIsacfix_GetMinBytes()
882 MinRate = (512 - ((den * inv_Q12) >> 3)) * BottleNeck; in WebRtcIsacfix_GetMinBytes()
887 if (MinRate < WEBRTC_SPL_MUL(532, BottleNeck)) { in WebRtcIsacfix_GetMinBytes()
888 MinRate += WEBRTC_SPL_MUL(22, BottleNeck); in WebRtcIsacfix_GetMinBytes()
899 MinRate += 256; in WebRtcIsacfix_GetMinBytes()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c809 double MinRate = 0.0; in WebRtcIsac_GetMinBytes() local
822 MinRate = INIT_RATE_WB; in WebRtcIsac_GetMinBytes()
826 MinRate = INIT_RATE_SWB; in WebRtcIsac_GetMinBytes()
831 MinRate = 0; in WebRtcIsac_GetMinBytes()
842 MinRate = (1.0 + (FS/1000) * DelayBuildUp / in WebRtcIsac_GetMinBytes()
849 MinRate = (1.0 + (FS/1000) * (DelayBuildUp - in WebRtcIsac_GetMinBytes()
851 if (MinRate < 1.04 * BottleNeck) in WebRtcIsac_GetMinBytes()
853 MinRate = 1.04 * BottleNeck; in WebRtcIsac_GetMinBytes()
862 MinBytes = (int) (MinRate * FrameSamples / (8.0 * FS)); in WebRtcIsac_GetMinBytes()