HomeSort by relevance Sort by last modified time
    Searched refs:nowUs (Results 1 - 21 of 21) sorted by null

  /frameworks/av/media/libstagefright/
ThrottledSource.cpp 49 int64_t nowUs = ALooper::GetNowUs();
52 mStartTimeUs = nowUs;
62 if (whenUs > nowUs) {
63 usleep(whenUs - nowUs);
VBRISeeker.cpp 155 int64_t nowUs = 0;
158 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
159 nowUs += segmentDurationUs;
165 *timeUs = nowUs;
AwesomePlayer.cpp     [all...]
  /frameworks/av/media/libstagefright/wifi-display/
udptest.cpp 143 int64_t nowUs = ALooper::GetNowUs();
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 = ALooper::GetNowUs()
    [all...]
ANetworkSession.cpp 247 int64_t nowUs = ALooper::GetNowUs();
248 buf->meta()->setInt64("arrivalTimeUs", nowUs);
348 int64_t nowUs = ALooper::GetNowUs();
349 data->meta()->setInt64("arrivalTimeUs", nowUs);
  /frameworks/av/media/libstagefright/wifi-display/source/
RepeaterSource.cpp 111 int64_t nowUs = ALooper::GetNowUs();
112 int64_t delayUs = bufferTimeUs - nowUs;
128 int64_t nowUs = ALooper::GetNowUs();
129 if (nowUs - mLastBufferUpdateUs > 1000000ll) {
Sender.cpp 377 int64_t nowUs = ALooper::GetNowUs();
382 delayUs = whenUs - nowUs;
540 int64_t nowUs = ALooper::GetNowUs();
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 = ALooper::GetNowUs()
    [all...]
Converter.cpp 267 int64_t nowUs = ALooper::GetNowUs();
270 mFirstSilentFrameUs = nowUs;
271 } else if (nowUs >= mFirstSilentFrameUs + 10000000ll) {
300 int64_t nowUs = ALooper::GetNowUs();
302 mIsVideo ? "video" : "audio", nowUs - whenUs);
TSPacketizer.cpp 667 int64_t nowUs = ALooper::GetNowUs();
669 uint64_t PCR = nowUs * 27; // PCR based on a 27MHz clock
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/
ALooper.cpp 196 int64_t nowUs = GetNowUs();
198 if (whenUs > nowUs) {
199 int64_t delayUs = whenUs - nowUs;
  /frameworks/av/media/libstagefright/rtsp/
UDPPusher.cpp 105 int64_t nowUs = ALooper::GetNowUs();
106 (new AMessage(kWhatPush, id()))->post(whenUs - nowUs);
ARTPSource.cpp 171 int64_t nowUs = ALooper::GetNowUs();
172 if (mLastFIRRequestUs >= 0 && mLastFIRRequestUs + 5000000ll > nowUs) {
177 mLastFIRRequestUs = nowUs;
ARTPConnection.cpp 307 int64_t nowUs = ALooper::GetNowUs();
309 || mLastReceiverReportTimeUs + 5000000ll <= nowUs) {
360 mLastReceiverReportTimeUs = nowUs;
ARTPWriter.cpp 419 uint64_t nowUs = ALooper::GetNowUs();
421 nowUs += ((70ll * 365 + 17) * 24) * 60 * 60 * 1000000ll;
423 uint64_t hi = nowUs / 1000000ll;
424 uint64_t lo = ((1ll << 32) * (nowUs % 1000000ll)) / 1000000ll;
MyTransmitter.h 141 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec;
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/include/
LiveSession.h 135 bool timeToRefreshPlaylist(int64_t nowUs) const;
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerRenderer.cpp 617 int64_t nowUs = ALooper::GetNowUs();
620 && nowUs < mLastPositionUpdateUs + kMinPositionUpdateDelayUs) {
623 mLastPositionUpdateUs = nowUs;
625 int64_t positionUs = (nowUs - mAnchorTimeRealUs) + mAnchorTimeMediaUs;
  /frameworks/av/media/libstagefright/httplive/
LiveSession.cpp 442 bool LiveSession::timeToRefreshPlaylist(int64_t nowUs) const {
496 return mLastPlaylistFetchTimeUs + minPlaylistAgeUs <= nowUs;
503 int64_t nowUs = ALooper::GetNowUs();
507 || (!mPlaylist->isComplete() && timeToRefreshPlaylist(nowUs))) {
  /frameworks/av/cmds/stagefright/
SimplePlayer.cpp 508 int64_t nowUs = ALooper::GetNowUs();
511 mStartTimeRealUs = nowUs + 1000000ll;
521 int64_t lateByUs = nowUs - whenRealUs;
  /frameworks/av/libvideoeditor/lvpp/
PreviewPlayer.cpp 945 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs;
947 int64_t latenessUs = nowUs - timeUs;
    [all...]

Completed in 179 milliseconds