Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp871 int64_t bufferedDurationUs = 0LL; in onMonitorQueue() local
877 bufferedDurationUs = in onMonitorQueue()
884 bufferedDurationUs = -1LL; in onMonitorQueue()
896 if (bufferedDurationUs == -1LL in onMonitorQueue()
897 || bufferedStreamDurationUs < bufferedDurationUs) { in onMonitorQueue()
898 bufferedDurationUs = bufferedStreamDurationUs; in onMonitorQueue()
901 if (bufferedDurationUs == -1LL) { in onMonitorQueue()
902 bufferedDurationUs = 0LL; in onMonitorQueue()
906 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
908 (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.cpp342 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering() local
354 if (bufferedDurationUs > initialMarkUs in checkBuffering()
364 if (bufferedDurationUs < kUnderflowMarkMs * 1000) { in checkBuffering()
367 if (bufferedDurationUs > maxRebufferingMarkUs) { in checkBuffering()
372 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.cpp443 int64_t bufferedDurationUs = impl->getBufferedDurationUs(&err); in init() local
445 trackDurationUs = bufferedDurationUs; in init()