Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp872 int64_t bufferedDurationUs = 0LL; in onMonitorQueue() local
878 bufferedDurationUs = in onMonitorQueue()
885 bufferedDurationUs = -1LL; in onMonitorQueue()
897 if (bufferedDurationUs == -1LL in onMonitorQueue()
898 || bufferedStreamDurationUs < bufferedDurationUs) { in onMonitorQueue()
899 bufferedDurationUs = bufferedStreamDurationUs; in onMonitorQueue()
902 if (bufferedDurationUs == -1LL) { in onMonitorQueue()
903 bufferedDurationUs = 0LL; in onMonitorQueue()
907 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
909 (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.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.cpp442 int64_t bufferedDurationUs = impl->getBufferedDurationUs(&err); in init() local
444 trackDurationUs = bufferedDurationUs; in init()