Home
last modified time | relevance | path

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

/external/webrtc/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.c850 uint16_t MinBytes; in WebRtcIsacfix_GetMinBytes() local
901 MinBytes = MinRate * FrameSamples / FS8; in WebRtcIsacfix_GetMinBytes()
904 if (StreamSize < MinBytes) { in WebRtcIsacfix_GetMinBytes()
905 StreamSize = MinBytes; in WebRtcIsacfix_GetMinBytes()
948 return MinBytes; in WebRtcIsacfix_GetMinBytes()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c810 int MinBytes; in WebRtcIsac_GetMinBytes() local
862 MinBytes = (int) (MinRate * FrameSamples / (8.0 * FS)); in WebRtcIsac_GetMinBytes()
865 if (StreamSize < MinBytes) in WebRtcIsac_GetMinBytes()
867 StreamSize = MinBytes; in WebRtcIsac_GetMinBytes()
914 return MinBytes; in WebRtcIsac_GetMinBytes()