Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp873 int64_t bufferedDurationUs = 0LL; in onMonitorQueue() local
879 bufferedDurationUs = in onMonitorQueue()
886 bufferedDurationUs = -1LL; in onMonitorQueue()
898 if (bufferedDurationUs == -1LL in onMonitorQueue()
899 || bufferedStreamDurationUs < bufferedDurationUs) { in onMonitorQueue()
900 bufferedDurationUs = bufferedStreamDurationUs; in onMonitorQueue()
903 if (bufferedDurationUs == -1LL) { in onMonitorQueue()
904 bufferedDurationUs = 0LL; in onMonitorQueue()
908 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
910 (long long)bufferedDurationUs, (long long)kMinBufferedDurationUs); in onMonitorQueue()
[all …]
DLiveSession.cpp2190 int64_t bufferedDurationUs = in checkBuffering() local
2194 (long long)bufferedDurationUs); in checkBuffering()
2201 (mLastDequeuedTimeUs + bufferedDurationUs) / durationUs); in checkBuffering()
2213 if (bufferedDurationUs > readyMarkUs in checkBuffering()
2218 if (bufferedDurationUs < kUnderflowMarkMs * 1000LL) { in checkBuffering()
2221 if (bufferedDurationUs > mUpSwitchMark) { in checkBuffering()
2224 if (bufferedDurationUs < mDownSwitchMark) { in checkBuffering()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp351 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering() local
363 if (bufferedDurationUs > initialMarkUs in checkBuffering()
373 if (bufferedDurationUs < kUnderflowMarkMs * 1000) { in checkBuffering()
376 if (bufferedDurationUs > maxRebufferingMarkUs) { in checkBuffering()
381 if (bufferedDurationUs < startServerMarkUs) { in checkBuffering()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp445 int64_t bufferedDurationUs = impl->getBufferedDurationUs(&err); in init() local
447 trackDurationUs = bufferedDurationUs; in init()