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

/frameworks/av/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.cpp155 int64_t nowUs = 0; local
158 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
159 nowUs += segmentDurationUs;
165 *timeUs = nowUs;
H A DAwesomePlayer.cpp1730 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1732 int64_t latenessUs = nowUs - timeUs;
1744 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1746 int64_t latenessUs = nowUs - timeUs;
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp199 int64_t nowUs = GetNowUs(); local
201 if (whenUs > nowUs) {
202 int64_t delayUs = whenUs - nowUs;
/frameworks/av/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/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp605 int64_t nowUs = ALooper::GetNowUs(); local
608 && nowUs < mLastPositionUpdateUs + kMinPositionUpdateDelayUs) {
611 mLastPositionUpdateUs = nowUs;
613 int64_t positionUs = (nowUs - mAnchorTimeRealUs) + mAnchorTimeMediaUs;
/frameworks/av/media/libstagefright/include/
H A DLiveSession.h135 bool timeToRefreshPlaylist(int64_t nowUs) const;
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp446 bool LiveSession::timeToRefreshPlaylist(int64_t nowUs) const {
500 return mLastPlaylistFetchTimeUs + minPlaylistAgeUs <= nowUs;
507 int64_t nowUs = ALooper::GetNowUs(); local
511 || (!mPlaylist->isComplete() && timeToRefreshPlaylist(nowUs))) {
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp508 int64_t nowUs = ALooper::GetNowUs(); local
511 mStartTimeRealUs = nowUs + 1000000ll;
521 int64_t lateByUs = nowUs - whenRealUs;
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp945 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
947 int64_t latenessUs = nowUs - timeUs;

Completed in 188 milliseconds