Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c845 const int16_t FrameSamples, /* samples per frame */ in WebRtcIsacfix_GetMinBytes() argument
869 inv_Q12 = 4096 / (BURST_LEN * FrameSamples); in WebRtcIsacfix_GetMinBytes()
874 inv_Q12 = 4096 / FrameSamples; in WebRtcIsacfix_GetMinBytes()
878 …((den = WEBRTC_SPL_MUL(SAMPLES_PER_MSEC, (State->StillBuffered - DelayBuildUp))) >= FrameSamples) { in WebRtcIsacfix_GetMinBytes()
901 MinBytes = MinRate * FrameSamples / FS8; in WebRtcIsacfix_GetMinBytes()
910 if ((StreamSize * (int32_t)FS8) / FrameSamples > (517 * BottleNeck) >> 9) { in WebRtcIsacfix_GetMinBytes()
918 State->ExceedAgo += FrameSamples / SAMPLES_PER_MSEC; /* ms */ in WebRtcIsacfix_GetMinBytes()
923 State->ExceedAgo += FrameSamples / SAMPLES_PER_MSEC; /* ms */ in WebRtcIsacfix_GetMinBytes()
939 State->StillBuffered -= FrameSamples / SAMPLES_PER_MSEC; /* ms */ in WebRtcIsacfix_GetMinBytes()
957 const int16_t FrameSamples, /* samples per frame */ in WebRtcIsacfix_UpdateRateModel() argument
[all …]
Dbandwidth_estimator.h121 const int16_t FrameSamples, /* samples per frame */
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c803 const int FrameSamples, /* samples per frame */ in WebRtcIsac_GetMinBytes() argument
843 (double)(BURST_LEN * FrameSamples)) * BottleNeck; in WebRtcIsac_GetMinBytes()
850 State->StillBuffered) / (double)FrameSamples) * BottleNeck; in WebRtcIsac_GetMinBytes()
862 MinBytes = (int) (MinRate * FrameSamples / (8.0 * FS)); in WebRtcIsac_GetMinBytes()
871 if (StreamSize * 8.0 * FS / FrameSamples > 1.01 * BottleNeck) { in WebRtcIsac_GetMinBytes()
880 State->ExceedAgo += (FrameSamples * 1000) / FS; /* ms */ in WebRtcIsac_GetMinBytes()
887 State->ExceedAgo += (FrameSamples * 1000) / FS; /* ms */ in WebRtcIsac_GetMinBytes()
908 State->StillBuffered -= (FrameSamples * 1000) / FS; /* ms */ in WebRtcIsac_GetMinBytes()
924 const int FrameSamples, /* samples per frame */ in WebRtcIsac_UpdateRateModel() argument
935 State->StillBuffered -= (FrameSamples * 1000) / FS; /* ms */ in WebRtcIsac_UpdateRateModel()
Dbandwidth_estimator.h157 const int FrameSamples, /* samples per frame */