Searched defs:nowUs (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/media/libstagefright/
H A DThrottledSource.cpp49 int64_t nowUs = ALooper::GetNowUs(); local
52 mStartTimeUs = nowUs;
62 if (whenUs > nowUs) {
63 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.cpp1733 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1735 int64_t latenessUs = nowUs - timeUs;
1747 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1749 int64_t latenessUs = nowUs - timeUs;
/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.cpp171 int64_t nowUs = ALooper::GetNowUs(); local
172 if (mLastFIRRequestUs >= 0 && mLastFIRRequestUs + 5000000ll > nowUs) {
177 mLastFIRRequestUs = nowUs;
H A DARTPConnection.cpp307 int64_t nowUs = ALooper::GetNowUs(); local
309 || mLastReceiverReportTimeUs + 5000000ll <= nowUs) {
360 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/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp111 int64_t nowUs = ALooper::GetNowUs(); local
112 int64_t delayUs = bufferTimeUs - nowUs;
128 int64_t nowUs = ALooper::GetNowUs(); local
129 if (nowUs - mLastBufferUpdateUs > 1000000ll) {
H A DConverter.cpp267 int64_t nowUs = ALooper::GetNowUs(); local
270 mFirstSilentFrameUs = nowUs;
271 } else if (nowUs >= mFirstSilentFrameUs + 10000000ll) {
300 int64_t nowUs = ALooper::GetNowUs();
302 mIsVideo ? "video" : "audio", nowUs - whenUs);
H A DSender.cpp377 int64_t nowUs = ALooper::GetNowUs(); local
382 delayUs = whenUs - nowUs;
540 int64_t nowUs = ALooper::GetNowUs(); local
543 series.add((double)(nowUs - lastTimeUs));
546 nowUs - lastTimeUs, series.mean(), series.sdev());
548 lastTimeUs = nowUs;
580 int64_t nowUs = ALooper::GetNowUs();
582 if (nowUs - whenUs > 2000) {
584 isVideo ? "video" : "audio", delayUs, nowUs - netTimeUs - whenUs);
607 int64_t nowUs local
785 uint64_t nowUs = ALooper::GetNowUs(); local
[all...]
H A DTSPacketizer.cpp667 int64_t nowUs = ALooper::GetNowUs(); local
669 uint64_t PCR = nowUs * 27; // PCR based on a 27MHz clock
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp196 int64_t nowUs = GetNowUs(); local
198 if (whenUs > nowUs) {
199 int64_t delayUs = whenUs - 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/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp617 int64_t nowUs = ALooper::GetNowUs(); local
620 && nowUs < mLastPositionUpdateUs + kMinPositionUpdateDelayUs) {
623 mLastPositionUpdateUs = nowUs;
625 int64_t positionUs = (nowUs - mAnchorTimeRealUs) + mAnchorTimeMediaUs;
/frameworks/av/media/libstagefright/wifi-display/
H A Dudptest.cpp143 int64_t nowUs = ALooper::GetNowUs(); local
144 buffer[4] = nowUs >> 56;
145 buffer[5] = (nowUs >> 48) & 0xff;
146 buffer[6] = (nowUs >> 40) & 0xff;
147 buffer[7] = (nowUs >> 32) & 0xff;
148 buffer[8] = (nowUs >> 24) & 0xff;
149 buffer[9] = (nowUs >> 16) & 0xff;
150 buffer[10] = (nowUs >> 8) & 0xff;
151 buffer[11] = nowUs & 0xff;
211 int64_t nowUs local
[all...]
H A DANetworkSession.cpp247 int64_t nowUs = ALooper::GetNowUs(); local
248 buf->meta()->setInt64("arrivalTimeUs", nowUs);
348 int64_t nowUs = ALooper::GetNowUs(); local
349 data->meta()->setInt64("arrivalTimeUs", nowUs);
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp442 bool LiveSession::timeToRefreshPlaylist(int64_t nowUs) const {
496 return mLastPlaylistFetchTimeUs + minPlaylistAgeUs <= nowUs;
503 int64_t nowUs = ALooper::GetNowUs(); local
507 || (!mPlaylist->isComplete() && timeToRefreshPlaylist(nowUs))) {
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp945 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
947 int64_t latenessUs = nowUs - timeUs;

Completed in 98 milliseconds