/frameworks/av/media/libstagefright/ |
H A D | ThrottledSource.cpp | 49 int64_t nowUs = ALooper::GetNowUs(); local 52 mStartTimeUs = nowUs; 62 if (whenUs > nowUs) { 63 usleep(whenUs - nowUs);
|
H A D | VBRISeeker.cpp | 155 int64_t nowUs = 0; local 158 while (segmentIndex < mSegments.size() && nowUs < *timeUs) { 159 nowUs += segmentDurationUs; 165 *timeUs = nowUs;
|
H A D | AwesomePlayer.cpp | 1733 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 D | udptest.cpp | 143 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 D | ANetworkSession.cpp | 247 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/wifi-display/source/ |
H A D | RepeaterSource.cpp | 111 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 D | Sender.cpp | 377 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 D | Converter.cpp | 267 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 D | TSPacketizer.cpp | 667 int64_t nowUs = ALooper::GetNowUs(); local 669 uint64_t PCR = nowUs * 27; // PCR based on a 27MHz clock
|
H A D | PlaybackSession.cpp | 571 int64_t nowUs = ALooper::GetNowUs(); 574 ALOGI("sending AU, dNowUs=%lld us", nowUs - prevNowUs); 576 prevNowUs = nowUs;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 196 int64_t nowUs = GetNowUs(); local 198 if (whenUs > nowUs) { 199 int64_t delayUs = whenUs - nowUs;
|
/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 | 307 int64_t nowUs = ALooper::GetNowUs(); local 309 || mLastReceiverReportTimeUs + 5000000ll <= nowUs) { 360 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/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 617 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 D | LiveSession.h | 135 bool timeToRefreshPlaylist(int64_t nowUs) const;
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 442 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/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 508 int64_t nowUs = ALooper::GetNowUs(); local 511 mStartTimeRealUs = nowUs + 1000000ll; 521 int64_t lateByUs = nowUs - whenRealUs;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 945 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs; local 947 int64_t latenessUs = nowUs - timeUs;
|