Searched refs:nowUs (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/media/libstagefright/
H A DThrottledSource.cpp55 int64_t nowUs = getNowUs(); local
58 mStartTimeUs = nowUs;
68 if (whenUs > nowUs) {
69 usleep(whenUs - nowUs);
H A DVBRISeeker.cpp149 int64_t nowUs = 0; local
152 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
153 nowUs += segmentDurationUs;
159 *timeUs = nowUs;
H A DAwesomePlayer.cpp1713 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1715 int64_t latenessUs = nowUs - timeUs;
1725 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1727 int64_t latenessUs = nowUs - timeUs;
/frameworks/base/media/libstagefright/foundation/
H A DALooper.cpp199 int64_t nowUs = GetNowUs(); local
201 if (whenUs > nowUs) {
202 int64_t delayUs = whenUs - nowUs;
/frameworks/base/media/libstagefright/rtsp/
H A DUDPPusher.cpp105 int64_t nowUs = ALooper::GetNowUs(); local
106 (new AMessage(kWhatPush, id()))->post(whenUs - nowUs);
H A DARTPSource.cpp168 int64_t nowUs = ALooper::GetNowUs(); local
169 if (mLastFIRRequestUs >= 0 && mLastFIRRequestUs + 5000000ll > nowUs) {
174 mLastFIRRequestUs = nowUs;
H A DARTPConnection.cpp306 int64_t nowUs = ALooper::GetNowUs(); local
308 || mLastReceiverReportTimeUs + 5000000ll <= nowUs) {
359 mLastReceiverReportTimeUs = nowUs;
H A DARTPWriter.cpp419 uint64_t nowUs = ALooper::GetNowUs(); local
421 nowUs += ((70ll * 365 + 17) * 24) * 60 * 60 * 1000000ll;
423 uint64_t hi = nowUs / 1000000ll;
424 uint64_t lo = ((1ll << 32) * (nowUs % 1000000ll)) / 1000000ll;
H A DMyTransmitter.h141 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec; local
143 nowUs += ((70ll * 365 + 17) * 24) * 60 * 60 * 1000000ll;
145 uint64_t hi = nowUs / 1000000ll;
146 uint64_t lo = ((1ll << 32) * (nowUs % 1000000ll)) / 1000000ll;
/frameworks/base/media/libstagefright/include/
H A DLiveSession.h132 bool timeToRefreshPlaylist(int64_t nowUs) const;
/frameworks/base/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp601 int64_t nowUs = ALooper::GetNowUs(); local
604 && nowUs < mLastPositionUpdateUs + kMinPositionUpdateDelayUs) {
607 mLastPositionUpdateUs = nowUs;
609 int64_t positionUs = (nowUs - mAnchorTimeRealUs) + mAnchorTimeMediaUs;
/frameworks/base/media/libstagefright/httplive/
H A DLiveSession.cpp422 bool LiveSession::timeToRefreshPlaylist(int64_t nowUs) const {
476 return mLastPlaylistFetchTimeUs + minPlaylistAgeUs <= nowUs;
483 int64_t nowUs = ALooper::GetNowUs(); local
487 || (!mPlaylist->isComplete() && timeToRefreshPlaylist(nowUs))) {
/frameworks/media/libvideoeditor/lvpp/
H A DPreviewPlayerBase.cpp1459 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1461 int64_t latenessUs = nowUs - timeUs;
1471 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1473 int64_t latenessUs = nowUs - timeUs;
H A DPreviewPlayer.cpp954 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
956 int64_t latenessUs = nowUs - timeUs;

Completed in 168 milliseconds