Home
last modified time | relevance | path

Searched refs:nowMediaUs (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/
DMediaClock.cpp65 int64_t nowMediaUs = in updateAnchor() local
67 if (nowMediaUs < 0) { in updateAnchor()
78 if (nowMediaUs < oldNowMediaUs in updateAnchor()
79 && nowMediaUs > oldNowMediaUs - kAnchorFluctuationAllowedUs) { in updateAnchor()
84 mAnchorTimeMediaUs = nowMediaUs; in updateAnchor()
158 int64_t nowMediaUs; in getRealTimeFor() local
160 getMediaTime_l(nowUs, &nowMediaUs, true /* allowPastMaxTime */); in getRealTimeFor()
164 *outRealUs = (targetMediaUs - nowMediaUs) / (double)mPlaybackRate + nowUs; in getRealTimeFor()
DMediaSync.cpp312 int64_t nowMediaUs = presentationTimeUs in updateQueuedAudioData() local
323 mMediaClock->updateAnchor(nowMediaUs, nowUs, maxMediaTimeUs); in updateQueuedAudioData()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp346 int64_t nowMediaUs = mAudioSink->getPlayedOutDurationUs(nowUs) in getCurrentPosition() local
348 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1); in getCurrentPosition()
814 int64_t nowMediaUs = in fillAudioBuffer() local
817 mMediaClock->updateAnchor(nowMediaUs, nowUs, INT64_MAX); in fillAudioBuffer()
1084 int64_t nowMediaUs = mediaTimeUs - getPendingAudioPlayoutDurationUs(nowUs); in onNewAudioMediaTime() local
1085 mMediaClock->updateAnchor(nowMediaUs, nowUs, mediaTimeUs); in onNewAudioMediaTime()