Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c792 const int FrameSamples, /* samples per frame */ in WebRtcIsac_GetMinBytes() argument
832 (double)(BURST_LEN * FrameSamples)) * BottleNeck; in WebRtcIsac_GetMinBytes()
839 State->StillBuffered) / (double)FrameSamples) * BottleNeck; in WebRtcIsac_GetMinBytes()
851 MinBytes = (int) (MinRate * FrameSamples / (8.0 * FS)); in WebRtcIsac_GetMinBytes()
860 if (StreamSize * 8.0 * FS / FrameSamples > 1.01 * BottleNeck) { in WebRtcIsac_GetMinBytes()
869 State->ExceedAgo += (FrameSamples * 1000) / FS; /* ms */ in WebRtcIsac_GetMinBytes()
876 State->ExceedAgo += (FrameSamples * 1000) / FS; /* ms */ in WebRtcIsac_GetMinBytes()
897 State->StillBuffered -= (FrameSamples * 1000) / FS; /* ms */ in WebRtcIsac_GetMinBytes()
913 const int FrameSamples, /* samples per frame */ in WebRtcIsac_UpdateRateModel() argument
924 State->StillBuffered -= (FrameSamples * 1000) / FS; /* ms */ in WebRtcIsac_UpdateRateModel()
Dbandwidth_estimator.h150 const int FrameSamples, /* samples per frame */
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c835 … const WebRtc_Word16 FrameSamples, /* samples per frame */ in WebRtcIsacfix_GetMinBytes() argument
858 inv_Q12 = WEBRTC_SPL_DIV(4096, WEBRTC_SPL_MUL(BURST_LEN, FrameSamples)); in WebRtcIsacfix_GetMinBytes()
862 inv_Q12 = WEBRTC_SPL_DIV(4096, FrameSamples); in WebRtcIsacfix_GetMinBytes()
865 …((den = WEBRTC_SPL_MUL(SAMPLES_PER_MSEC, (State->StillBuffered - DelayBuildUp))) >= FrameSamples) { in WebRtcIsacfix_GetMinBytes()
888 MinBytes = (WebRtc_UWord16)WEBRTC_SPL_UDIV(WEBRTC_SPL_MUL(MinRate, FrameSamples), FS8); in WebRtcIsacfix_GetMinBytes()
897 …if (WEBRTC_SPL_DIV(WEBRTC_SPL_MUL(StreamSize, FS8), FrameSamples) > (WEBRTC_SPL_MUL(517, BottleNec… in WebRtcIsacfix_GetMinBytes()
905 State->ExceedAgo += (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W16(FrameSamples, 4); /* ms */ in WebRtcIsacfix_GetMinBytes()
910 State->ExceedAgo += (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W16(FrameSamples, 4); /* ms */ in WebRtcIsacfix_GetMinBytes()
926 …State->StillBuffered -= (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W16(FrameSamples, 4); //>>4 = SAMPLES_P… in WebRtcIsacfix_GetMinBytes()
944 … const WebRtc_Word16 FrameSamples, /* samples per frame */ in WebRtcIsacfix_UpdateRateModel() argument
[all …]
Dbandwidth_estimator.h113 const WebRtc_Word16 FrameSamples, /* samples per frame */