/frameworks/av/media/libstagefright/ |
H A D | ThrottledSource.cpp | 45 int64_t nowUs = ALooper::GetNowUs(); local 48 mStartTimeUs = nowUs; 58 if (whenUs > nowUs) { 59 usleep(whenUs - nowUs);
|
H A D | VBRISeeker.cpp | 158 int64_t nowUs = 0; local 161 while (segmentIndex < mSegments.size() && nowUs < *timeUs) { 162 nowUs += segmentDurationUs; 168 *timeUs = nowUs;
|
H A D | AwesomePlayer.cpp | 1919 int64_t nowUs = estimateRealTimeUs(ts, systemTimeUs) - mTimeSourceDeltaUs; local 1921 int64_t latenessUs = nowUs - timeUs; 1934 int64_t nowUs = estimateRealTimeUs(ts, systemTimeUs) - mTimeSourceDeltaUs; local 1936 latenessUs = nowUs - timeUs;
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | UDPPusher.cpp | 105 int64_t nowUs = ALooper::GetNowUs(); local 106 (new AMessage(kWhatPush, id()))->post(whenUs - nowUs);
|
H A D | ARTPSource.cpp | 171 int64_t nowUs = ALooper::GetNowUs(); local 172 if (mLastFIRRequestUs >= 0 && mLastFIRRequestUs + 5000000ll > nowUs) { 177 mLastFIRRequestUs = nowUs;
|
H A D | ARTPConnection.cpp | 308 int64_t nowUs = ALooper::GetNowUs(); local 310 || mLastReceiverReportTimeUs + 5000000ll <= nowUs) { 361 mLastReceiverReportTimeUs = nowUs;
|
H A D | ARTPWriter.cpp | 419 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 D | MyTransmitter.h | 141 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 D | ALooper.cpp | 200 int64_t nowUs = GetNowUs(); local 202 if (whenUs > nowUs) { 203 int64_t delayUs = whenUs - nowUs;
|
H A D | ANetworkSession.cpp | 294 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 D | RepeaterSource.cpp | 131 int64_t nowUs = ALooper::GetNowUs(); local 132 int64_t delayUs = bufferTimeUs - nowUs; 149 int64_t nowUs = ALooper::GetNowUs(); local 150 if (nowUs - mLastBufferUpdateUs > 1000000ll) {
|
H A D | Converter.cpp | 350 int64_t nowUs = ALooper::GetNowUs(); local 353 mFirstSilentFrameUs = nowUs; 354 } else if (nowUs >= mFirstSilentFrameUs + 10000000ll) { 383 int64_t nowUs = ALooper::GetNowUs(); 385 mIsVideo ? "video" : "audio", nowUs - whenUs);
|
H A D | TSPacketizer.cpp | 848 int64_t nowUs = ALooper::GetNowUs(); local 850 uint64_t PCR = nowUs * 27; // PCR based on a 27MHz clock
|
H A D | PlaybackSession.cpp | 827 int64_t nowUs = ALooper::GetNowUs(); local 830 mFirstSampleTimeRealUs = nowUs; 838 msg->post(whenUs - nowUs);
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 512 int64_t nowUs = ALooper::GetNowUs(); local 515 mStartTimeRealUs = nowUs + 1000000ll; 525 int64_t lateByUs = nowUs - whenRealUs;
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.cpp | 272 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/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 205 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo) { 211 return getCurrentPositionFromAnchor(mediaUs, nowUs, allowPastQueuedVideo); 225 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo) { 235 int64_t positionUs = (nowUs - mAnchorTimeRealUs) + mAnchorTimeMediaUs; 238 positionUs -= (nowUs - mPauseStartedTimeRealUs); 645 int64_t nowUs = ALooper::GetNowUs(); local 646 setAnchorTime(mAudioFirstAnchorTimeMediaUs, nowUs - getPlayedOutAudioDurationUs(nowUs)); 767 int64_t NuPlayer::Renderer::getPendingAudioPlayoutDurationUs(int64_t nowUs) { argument 770 return writtenAudioDurationUs - getPlayedOutAudioDurationUs(nowUs); 204 getCurrentPositionOnLooper( int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo) argument 224 getCurrentPositionFromAnchor( int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo) argument 773 getRealTimeUs(int64_t mediaTimeUs, int64_t nowUs) argument 791 int64_t nowUs = ALooper::GetNowUs(); local 820 int64_t nowUs = ALooper::GetNowUs(); local 893 int64_t nowUs = -1; local 1312 getPlayedOutAudioDurationUs(int64_t nowUs) argument [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 123 int64_t nowUs = ALooper::GetNowUs(); local 182 int64_t delayUs = mLastPlaylistFetchTimeUs + minPlaylistAgeUs - nowUs;
|