Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMediaClock.cpp100 int64_t nowMediaUs = in updateAnchor() local
102 if (nowMediaUs < 0) { in updateAnchor()
113 if (nowMediaUs < oldNowMediaUs + kAnchorFluctuationAllowedUs in updateAnchor()
114 && nowMediaUs > oldNowMediaUs - kAnchorFluctuationAllowedUs) { in updateAnchor()
118 updateAnchorTimesAndPlaybackRate_l(nowMediaUs, nowUs, mPlaybackRate); in updateAnchor()
138 int64_t nowMediaUs = mAnchorTimeMediaUs + (nowUs - mAnchorTimeRealUs) * (double)mPlaybackRate; in setPlaybackRate() local
139 if (nowMediaUs < 0) { in setPlaybackRate()
141 nowMediaUs = 0; in setPlaybackRate()
143 updateAnchorTimesAndPlaybackRate_l(nowMediaUs, nowUs, rate); in setPlaybackRate()
199 int64_t nowMediaUs; in getRealTimeFor() local
[all …]
DMediaSync.cpp315 int64_t nowMediaUs = presentationTimeUs in updateQueuedAudioData() local
326 mMediaClock->updateAnchor(nowMediaUs, nowUs, maxMediaTimeUs); in updateQueuedAudioData()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp386 int64_t nowMediaUs = playedOutDurationUs + mAudioFirstAnchorTimeMediaUs; in getCurrentPosition() local
387 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1); in getCurrentPosition()
927 int64_t nowMediaUs = in fillAudioBuffer() local
930 mMediaClock->updateAnchor(nowMediaUs, nowUs, INT64_MAX); in fillAudioBuffer()
1227 int64_t nowMediaUs = mediaTimeUs - getPendingAudioPlayoutDurationUs(nowUs); in onNewAudioMediaTime() local
1228 mMediaClock->updateAnchor(nowMediaUs, nowUs, mediaTimeUs); in onNewAudioMediaTime()