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

/frameworks/av/media/libstagefright/
H A DThrottledSource.cpp45 int64_t nowUs = ALooper::GetNowUs(); local
48 mStartTimeUs = nowUs;
58 if (whenUs > nowUs) {
59 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.cpp1875 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1877 int64_t latenessUs = nowUs - timeUs;
1889 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
1891 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.cpp308 int64_t nowUs = ALooper::GetNowUs(); local
310 || mLastReceiverReportTimeUs + 5000000ll <= nowUs) {
361 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/foundation/
H A DALooper.cpp200 int64_t nowUs = GetNowUs(); local
202 if (whenUs > nowUs) {
203 int64_t delayUs = whenUs - nowUs;
H A DANetworkSession.cpp294 int64_t nowUs = ALooper::GetNowUs(); local
295 buf->meta()->setInt64("arrivalTimeUs", nowUs);
373 int64_t nowUs = ALooper::GetNowUs(); local
374 packet->meta()->setInt64("arrivalTimeUs", nowUs);
407 int64_t nowUs = ALooper::GetNowUs(); local
408 data->meta()->setInt64("arrivalTimeUs", nowUs);
526 int64_t nowUs = ALooper::GetNowUs();
527 int64_t delayMs = (nowUs - frag.mTimeUs) / 1000ll;
673 int64_t nowUs = ALooper::GetNowUs();
676 || nowUs > mLastStallReportU
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp130 int64_t nowUs = ALooper::GetNowUs(); local
131 int64_t delayUs = bufferTimeUs - nowUs;
148 int64_t nowUs = ALooper::GetNowUs(); local
149 if (nowUs - mLastBufferUpdateUs > 1000000ll) {
H A DConverter.cpp373 int64_t nowUs = ALooper::GetNowUs(); local
376 mFirstSilentFrameUs = nowUs;
377 } else if (nowUs >= mFirstSilentFrameUs + 10000000ll) {
406 int64_t nowUs = ALooper::GetNowUs();
408 mIsVideo ? "video" : "audio", nowUs - whenUs);
H A DTSPacketizer.cpp848 int64_t nowUs = ALooper::GetNowUs(); local
850 uint64_t PCR = nowUs * 27; // PCR based on a 27MHz clock
H A DPlaybackSession.cpp825 int64_t nowUs = ALooper::GetNowUs(); local
828 mFirstSampleTimeRealUs = nowUs;
836 msg->post(whenUs - nowUs);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp510 int64_t nowUs = ALooper::GetNowUs(); local
513 mStartTimeRealUs = nowUs + 1000000ll;
523 int64_t lateByUs = nowUs - whenRealUs;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp663 int64_t nowUs = ALooper::GetNowUs(); local
666 && nowUs < mLastPositionUpdateUs + kMinPositionUpdateDelayUs) {
669 mLastPositionUpdateUs = nowUs;
671 int64_t positionUs = (nowUs - mAnchorTimeRealUs) + mAnchorTimeMediaUs;
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp106 bool PlaylistFetcher::timeToRefreshPlaylist(int64_t nowUs) const {
160 return mLastPlaylistFetchTimeUs + minPlaylistAgeUs <= nowUs;
506 int64_t nowUs = ALooper::GetNowUs(); local
509 || (!mPlaylist->isComplete() && timeToRefreshPlaylist(nowUs))) {
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.cpp272 int64_t nowUs = ALooper::GetNowUs(); local
273 uint32_t rtpTime = (nowUs * 9) / 100ll;
497 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec; local
499 nowUs += ((70ll * 365 + 17) * 24) * 60 * 60 * 1000000ll;
501 uint64_t hi = nowUs / 1000000ll;
502 uint64_t lo = ((1ll << 32) * (nowUs % 1000000ll)) / 1000000ll;
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp945 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local
947 int64_t latenessUs = nowUs - timeUs;

Completed in 2417 milliseconds