Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dencode.c61 int16_t MinBytes; in WebRtcIsacfix_EncodeImpl() local
429 MinBytes = WebRtcIsacfix_GetMinBytes(&ISACenc_obj->rate_data_obj, (int16_t) stream_length, in WebRtcIsacfix_EncodeImpl()
438 if ((ISACenc_obj->frame_nb == 0) && (MinBytes > ISACenc_obj->payloadLimitBytes30)) { in WebRtcIsacfix_EncodeImpl()
439 MinBytes = ISACenc_obj->payloadLimitBytes30; in WebRtcIsacfix_EncodeImpl()
440 } else if ((ISACenc_obj->frame_nb == 1) && (MinBytes > ISACenc_obj->payloadLimitBytes60)) { in WebRtcIsacfix_EncodeImpl()
441 MinBytes = ISACenc_obj->payloadLimitBytes60; in WebRtcIsacfix_EncodeImpl()
447 if( MinBytes > usefulstr_len + 255 ) { in WebRtcIsacfix_EncodeImpl()
448 MinBytes = usefulstr_len + 255; in WebRtcIsacfix_EncodeImpl()
453 (ISACenc_obj->SaveEnc_ptr)->minBytes = MinBytes; in WebRtcIsacfix_EncodeImpl()
456 while (stream_length < MinBytes) in WebRtcIsacfix_EncodeImpl()
[all …]
Dbandwidth_estimator.c833 uint16_t MinBytes; in WebRtcIsacfix_GetMinBytes() local
884 MinBytes = MinRate * FrameSamples / FS8; in WebRtcIsacfix_GetMinBytes()
887 if (StreamSize < MinBytes) { in WebRtcIsacfix_GetMinBytes()
888 StreamSize = MinBytes; in WebRtcIsacfix_GetMinBytes()
931 return MinBytes; in WebRtcIsacfix_GetMinBytes()
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c792 int MinBytes; in WebRtcIsac_GetMinBytes() local
844 MinBytes = (int) (MinRate * FrameSamples / (8.0 * FS)); in WebRtcIsac_GetMinBytes()
847 if (StreamSize < MinBytes) in WebRtcIsac_GetMinBytes()
849 StreamSize = MinBytes; in WebRtcIsac_GetMinBytes()
896 return MinBytes; in WebRtcIsac_GetMinBytes()