Searched refs:nowUs (Results 1 - 21 of 21) 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/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);
412 int64_t nowUs = ALooper::GetNowUs(); local
417 uint32_t rtpTime = (nowUs * 9ll) / 100ll;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp111 int64_t nowUs = ALooper::GetNowUs(); local
112 int64_t delayUs = bufferTimeUs - nowUs;
129 int64_t nowUs = ALooper::GetNowUs(); local
130 if (nowUs - mLastBufferUpdateUs > 1000000ll) {
H A DSender.cpp585 uint64_t nowUs = ALooper::GetNowUs(); local
587 nowUs += ((70ll * 365 + 17) * 24) * 60 * 60 * 1000000ll;
589 uint64_t hi = nowUs / 1000000ll;
590 uint64_t lo = ((1ll << 32) * (nowUs % 1000000ll)) / 1000000ll;
796 int64_t nowUs = ALooper::GetNowUs(); local
800 uint32_t rtpTime = (nowUs * 9ll) / 100ll;
H A DConverter.cpp318 int64_t nowUs = ALooper::GetNowUs(); local
321 mFirstSilentFrameUs = nowUs;
322 } else if (nowUs >= mFirstSilentFrameUs + 10000000ll) {
351 int64_t nowUs = ALooper::GetNowUs();
353 mIsVideo ? "video" : "audio", nowUs - whenUs);
H A DPlaybackSession.cpp597 int64_t nowUs = ALooper::GetNowUs();
600 ALOGI("sending AU, dNowUs=%lld us", nowUs - prevNowUs);
602 prevNowUs = nowUs;
1049 int64_t nowUs = ALooper::GetNowUs();
1054 (nowUs - minTimeUs) / 1000ll);
H A DTSPacketizer.cpp686 int64_t nowUs = ALooper::GetNowUs(); local
688 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/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/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/include/
H A DLiveSession.h139 bool timeToRefreshPlaylist(int64_t nowUs) const;
/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/libstagefright/httplive/
H A DLiveSession.cpp477 bool LiveSession::timeToRefreshPlaylist(int64_t nowUs) const {
531 return mLastPlaylistFetchTimeUs + minPlaylistAgeUs <= nowUs;
538 int64_t nowUs = ALooper::GetNowUs(); local
542 || (!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 296 milliseconds