Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dencode.c58 WebRtc_Word16 MinBytes; in WebRtcIsacfix_EncodeImpl() local
424 MinBytes = WebRtcIsacfix_GetMinBytes(&ISACenc_obj->rate_data_obj, (WebRtc_Word16) stream_length, in WebRtcIsacfix_EncodeImpl()
433 if ((ISACenc_obj->frame_nb == 0) && (MinBytes > ISACenc_obj->payloadLimitBytes30)) { in WebRtcIsacfix_EncodeImpl()
434 MinBytes = ISACenc_obj->payloadLimitBytes30; in WebRtcIsacfix_EncodeImpl()
435 } else if ((ISACenc_obj->frame_nb == 1) && (MinBytes > ISACenc_obj->payloadLimitBytes60)) { in WebRtcIsacfix_EncodeImpl()
436 MinBytes = ISACenc_obj->payloadLimitBytes60; in WebRtcIsacfix_EncodeImpl()
442 if( MinBytes > usefulstr_len + 255 ) { in WebRtcIsacfix_EncodeImpl()
443 MinBytes = usefulstr_len + 255; in WebRtcIsacfix_EncodeImpl()
448 (ISACenc_obj->SaveEnc_ptr)->minBytes = MinBytes; in WebRtcIsacfix_EncodeImpl()
451 while (stream_length < MinBytes) in WebRtcIsacfix_EncodeImpl()
[all …]
Dbandwidth_estimator.c840 WebRtc_UWord16 MinBytes; in WebRtcIsacfix_GetMinBytes() local
888 MinBytes = (WebRtc_UWord16)WEBRTC_SPL_UDIV(WEBRTC_SPL_MUL(MinRate, FrameSamples), FS8); in WebRtcIsacfix_GetMinBytes()
891 if (StreamSize < MinBytes) { in WebRtcIsacfix_GetMinBytes()
892 StreamSize = MinBytes; in WebRtcIsacfix_GetMinBytes()
935 return MinBytes; in WebRtcIsacfix_GetMinBytes()
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c799 int MinBytes; in WebRtcIsac_GetMinBytes() local
851 MinBytes = (int) (MinRate * FrameSamples / (8.0 * FS)); in WebRtcIsac_GetMinBytes()
854 if (StreamSize < MinBytes) in WebRtcIsac_GetMinBytes()
856 StreamSize = MinBytes; in WebRtcIsac_GetMinBytes()
903 return MinBytes; in WebRtcIsac_GetMinBytes()