Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp795 int64_t bufferedDurationUs = 0ll; in onMonitorQueue() local
801 bufferedDurationUs = in onMonitorQueue()
808 bufferedDurationUs = -1ll; in onMonitorQueue()
820 if (bufferedDurationUs == -1ll in onMonitorQueue()
821 || bufferedStreamDurationUs < bufferedDurationUs) { in onMonitorQueue()
822 bufferedDurationUs = bufferedStreamDurationUs; in onMonitorQueue()
825 if (bufferedDurationUs == -1ll) { in onMonitorQueue()
826 bufferedDurationUs = 0ll; in onMonitorQueue()
830 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
832 (long long)bufferedDurationUs, (long long)kMinBufferedDurationUs); in onMonitorQueue()
[all …]
DLiveSession.cpp2169 int64_t bufferedDurationUs = in checkBuffering() local
2173 (long long)bufferedDurationUs); in checkBuffering()
2180 (mLastDequeuedTimeUs + bufferedDurationUs) / durationUs); in checkBuffering()
2189 if (bufferedDurationUs > readyMark in checkBuffering()
2194 if (bufferedDurationUs < kUnderflowMarkUs) { in checkBuffering()
2197 if (bufferedDurationUs > mUpSwitchMark) { in checkBuffering()
2200 if (bufferedDurationUs < mDownSwitchMark) { in checkBuffering()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp325 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering() local
328 if (bufferedDurationUs > kPrepareMarkUs || src->isFinished(/* duration */ 0)) { in checkBuffering()
335 if (bufferedDurationUs < kUnderflowMarkUs) { in checkBuffering()
338 if (bufferedDurationUs > kOverflowMarkUs) { in checkBuffering()
341 if (bufferedDurationUs < kStartServerMarkUs) { in checkBuffering()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp238 int64_t bufferedDurationUs; in init() local
239 bufferedDurationUs = impl->getBufferedDurationUs(&err); in init()
241 durationUs = bufferedDurationUs; in init()