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

1 2

  /frameworks/av/media/libstagefright/
ThrottledSource.cpp 45 int64_t nowUs = ALooper::GetNowUs();
48 mStartTimeUs = nowUs;
58 if (whenUs > nowUs) {
59 usleep(whenUs - nowUs);
MediaClock.cpp 64 int64_t nowUs = ALooper::GetNowUs();
66 anchorTimeMediaUs + (nowUs - anchorTimeRealUs) * (double)mPlaybackRate;
77 mAnchorTimeMediaUs + (nowUs - mAnchorTimeRealUs) * (double)mPlaybackRate;
83 mAnchorTimeRealUs = nowUs;
100 int64_t nowUs = ALooper::GetNowUs();
101 mAnchorTimeMediaUs += (nowUs - mAnchorTimeRealUs) * (double)mPlaybackRate;
106 mAnchorTimeRealUs = nowUs;
157 int64_t nowUs = ALooper::GetNowUs();
160 getMediaTime_l(nowUs, &nowMediaUs, true /* allowPastMaxTime */);
164 *outRealUs = (targetMediaUs - nowMediaUs) / (double)mPlaybackRate + nowUs;
    [all...]
MediaSync.cpp 313 int64_t nowUs = ALooper::GetNowUs();
316 + getPlayedOutAudioDurationMedia_l(nowUs);
322 oldRealTime = getRealTime(mNextBufferItemMediaUs, nowUs);
325 mMediaClock->updateAnchor(nowMediaUs, nowUs, maxMediaTimeUs);
329 int64_t newRealTime = getRealTime(mNextBufferItemMediaUs, nowUs);
465 int64_t MediaSync::getRealTime(int64_t mediaTimeUs, int64_t nowUs) {
470 return nowUs;
479 int64_t MediaSync::getPlayedOutAudioDurationMedia_l(int64_t nowUs) {
496 numFramesPlayedAtUs = nowUs;
503 numFramesPlayedAtUs = nowUs;
    [all...]
VBRISeeker.cpp 172 int64_t nowUs = 0;
175 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
176 nowUs += segmentDurationUs;
182 *timeUs = nowUs;
  /frameworks/av/media/libstagefright/wifi-display/source/
RepeaterSource.cpp 131 int64_t nowUs = ALooper::GetNowUs();
132 int64_t delayUs = bufferTimeUs - nowUs;
149 int64_t nowUs = ALooper::GetNowUs();
150 if (nowUs - mLastBufferUpdateUs > 1000000ll) {
Converter.cpp 351 int64_t nowUs = ALooper::GetNowUs();
354 mFirstSilentFrameUs = nowUs;
355 } else if (nowUs >= mFirstSilentFrameUs + 10000000ll) {
384 int64_t nowUs = ALooper::GetNowUs();
386 mIsVideo ? "video" : "audio", nowUs - whenUs);
  /frameworks/av/media/libstagefright/foundation/
ALooper.cpp 207 int64_t nowUs = GetNowUs();
209 if (whenUs > nowUs) {
210 int64_t delayUs = whenUs - nowUs;
ANetworkSession.cpp 294 int64_t nowUs = ALooper::GetNowUs();
295 buf->meta()->setInt64("arrivalTimeUs", nowUs);
373 int64_t nowUs = ALooper::GetNowUs();
374 packet->meta()->setInt64("arrivalTimeUs", nowUs);
407 int64_t nowUs = ALooper::GetNowUs();
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 > mLastStallReportUs + 100000ll)
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
KernelUidCpuTimeReader.java 68 long nowUs = SystemClock.elapsedRealtime() * 1000;
88 final long timeDiffUs = nowUs - mLastTimeReadUs;
125 mLastTimeReadUs = nowUs;
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerRenderer.cpp 357 int64_t nowUs = ALooper::GetNowUs();
358 int64_t nowMediaUs = mAudioSink->getPlayedOutDurationUs(nowUs)
360 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1);
897 int64_t nowUs = ALooper::GetNowUs();
899 mAudioFirstAnchorTimeMediaUs + mAudioSink->getPlayedOutDurationUs(nowUs);
901 mMediaClock->updateAnchor(nowMediaUs, nowUs, INT64_MAX);
    [all...]
NuPlayerRenderer.h 223 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo = false);
226 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo = false);
233 int64_t getPendingAudioPlayoutDurationUs(int64_t nowUs);
242 int64_t getRealTimeUs(int64_t mediaTimeUs, int64_t nowUs);
  /frameworks/av/media/libstagefright/include/media/stagefright/
MediaSync.h 236 int64_t getRealTime(int64_t mediaTimeUs, int64_t nowUs);
238 int64_t getPlayedOutAudioDurationMedia_l(int64_t nowUs);
  /frameworks/av/media/libstagefright/rtsp/
UDPPusher.cpp 105 int64_t nowUs = ALooper::GetNowUs();
106 (new AMessage(kWhatPush, this))->post(whenUs - nowUs);
ARTPSource.cpp 178 int64_t nowUs = ALooper::GetNowUs();
179 if (mLastFIRRequestUs >= 0 && mLastFIRRequestUs + 5000000ll > nowUs) {
184 mLastFIRRequestUs = nowUs;
ARTPConnection.cpp 308 int64_t nowUs = ALooper::GetNowUs();
310 || mLastReceiverReportTimeUs + 5000000ll <= nowUs) {
361 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 144 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec;
146 nowUs += ((70ll * 365 + 17) * 24) * 60 * 60 * 1000000ll;
148 uint64_t hi = nowUs / 1000000ll;
149 uint64_t lo = ((1ll << 32) * (nowUs % 1000000ll)) / 1000000ll;
  /frameworks/av/media/libstagefright/wifi-display/rtp/
RTPSender.cpp 270 int64_t nowUs = ALooper::GetNowUs();
271 uint32_t rtpTime = (nowUs * 9) / 100ll;
495 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec;
497 nowUs += ((70ll * 365 + 17) * 24) * 60 * 60 * 1000000ll;
499 uint64_t hi = nowUs / 1000000ll;
500 uint64_t lo = ((1ll << 32) * (nowUs % 1000000ll)) / 1000000ll;
  /cts/tests/tests/media/src/android/media/cts/
CodecState.java 335 long nowUs = mMediaTimeProvider.getNowUs();
337 long lateUs = nowUs - realTimeUs;
MediaCodecTunneledPlayer.java 478 long nowUs = getNowUs();
479 mDeltaTimeUs = nowUs - mediaTimeUs;
  /frameworks/av/cmds/stagefright/
SimplePlayer.cpp 512 int64_t nowUs = ALooper::GetNowUs();
515 mStartTimeRealUs = nowUs + 1000000ll;
525 int64_t lateByUs = nowUs - whenRealUs;
  /frameworks/base/media/jni/
android_media_MediaSync.cpp 285 int64_t nowUs = ALooper::GetNowUs();
287 if (mediaClock->getMediaTime(nowUs, &mediaUs) != OK) {
294 (jlong)(nowUs * 1000));
  /frameworks/base/media/java/android/media/
MediaPlayer.java     [all...]
  /frameworks/av/media/libmediaplayerservice/include/
MediaPlayerInterface.h 103 virtual int64_t getPlayedOutDurationUs(int64_t nowUs) const = 0;
  /cts/tests/video/src/android/video/cts/
VideoEncoderDecoderTest.java     [all...]

Completed in 691 milliseconds

1 2