Home
last modified time | relevance | path

Searched refs:targetDurationUs (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp253 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in delayUsToRefreshPlaylist() local
277 minPlaylistAgeUs = targetDurationUs / 2; in delayUsToRefreshPlaylist()
283 minPlaylistAgeUs = (targetDurationUs * 3) / 2; in delayUsToRefreshPlaylist()
289 minPlaylistAgeUs = targetDurationUs * 3; in delayUsToRefreshPlaylist()
866 int64_t targetDurationUs = kMinBufferedDurationUs; in onMonitorQueue() local
868 targetDurationUs = mPlaylist->getTargetDuration(); in onMonitorQueue()
921 if (delayUs > targetDurationUs / 2) { in onMonitorQueue()
922 delayUs = targetDurationUs / 2; in onMonitorQueue()
1021 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in shouldPauseDownload() local
1022 int64_t thresholdUs = thresholdRatio * targetDurationUs; in shouldPauseDownload()
[all …]
DLiveSession.cpp733 int64_t targetDurationUs; in onMessageReceived() local
734 CHECK(msg->findInt64("targetDurationUs", &targetDurationUs)); in onMessageReceived()
735 mUpSwitchMark = min(kUpSwitchMarkUs, targetDurationUs * 7 / 4); in onMessageReceived()
736 mDownSwitchMark = min(kDownSwitchMarkUs, targetDurationUs * 9 / 4); in onMessageReceived()
737 mUpSwitchMargin = min(kUpSwitchMarginUs, targetDurationUs); in onMessageReceived()