Home
last modified time | relevance | path

Searched refs:bufferedDurationUs (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp859 int64_t bufferedDurationUs = 0ll; in onMonitorQueue() local
865 bufferedDurationUs = in onMonitorQueue()
872 bufferedDurationUs = -1ll; in onMonitorQueue()
884 if (bufferedDurationUs == -1ll in onMonitorQueue()
885 || bufferedStreamDurationUs < bufferedDurationUs) { in onMonitorQueue()
886 bufferedDurationUs = bufferedStreamDurationUs; in onMonitorQueue()
889 if (bufferedDurationUs == -1ll) { in onMonitorQueue()
890 bufferedDurationUs = 0ll; in onMonitorQueue()
894 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
896 (long long)bufferedDurationUs, (long long)kMinBufferedDurationUs); in onMonitorQueue()
[all …]
DLiveSession.cpp2189 int64_t bufferedDurationUs = in checkBuffering() local
2193 (long long)bufferedDurationUs); in checkBuffering()
2200 (mLastDequeuedTimeUs + bufferedDurationUs) / durationUs); in checkBuffering()
2212 if (bufferedDurationUs > readyMarkUs in checkBuffering()
2217 if (bufferedDurationUs < kUnderflowMarkMs * 1000ll) { in checkBuffering()
2220 if (bufferedDurationUs > mUpSwitchMark) { in checkBuffering()
2223 if (bufferedDurationUs < mDownSwitchMark) { in checkBuffering()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DRTSPSource2.cpp341 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering() local
353 if (bufferedDurationUs > initialMarkUs in checkBuffering()
363 if (bufferedDurationUs < kUnderflowMarkMs * 1000) { in checkBuffering()
366 if (bufferedDurationUs > maxRebufferingMarkUs) { in checkBuffering()
371 if (bufferedDurationUs < startServerMarkUs) { in checkBuffering()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp343 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering() local
355 if (bufferedDurationUs > initialMarkUs in checkBuffering()
365 if (bufferedDurationUs < kUnderflowMarkMs * 1000) { in checkBuffering()
368 if (bufferedDurationUs > maxRebufferingMarkUs) { in checkBuffering()
373 if (bufferedDurationUs < startServerMarkUs) { in checkBuffering()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp307 int64_t bufferedDurationUs; in init() local
308 bufferedDurationUs = impl->getBufferedDurationUs(&err); in init()
310 durationUs = bufferedDurationUs; in init()