Home
last modified time | relevance | path

Searched refs:mMediaClock (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp127 mMediaClock(mediaClock), in Renderer()
158 mMediaClock->setPlaybackRate(mPlaybackRate); in Renderer()
233 mMediaClock->setPlaybackRate(mPlaybackRate); in onConfigPlayback()
324 mMediaClock->clearAnchor(); in flush()
361 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
387 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1); in getCurrentPosition()
390 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
395 mMediaClock->setStartingTimeMedia(-1); in clearAudioFirstAnchorTime_l()
401 mMediaClock->setStartingTimeMedia(mediaUs); in setAudioFirstAnchorTimeIfNeeded_l()
407 mMediaClock->clearAnchor(); in clearAnchorTime()
[all …]
DNuPlayerDriver.h139 const sp<MediaClock> mMediaClock; member
DNuPlayerDriver.cpp87 mMediaClock(new MediaClock), in NuPlayerDriver()
88 mPlayer(new NuPlayer(pid, mMediaClock)), in NuPlayerDriver()
98 mMediaClock->init(); in NuPlayerDriver()
DGenericSource.h153 const sp<MediaClock> mMediaClock; member
DNuPlayerRenderer.h169 const sp<MediaClock> mMediaClock; member
DNuPlayer.cpp179 mMediaClock(mediaClock), in NuPlayer()
227 mMediaClock->setNotificationMessage(notify); in init()
289 new GenericSource(notify, mUIDValid, mUID, mMediaClock); in setDataSourceAsync()
312 new GenericSource(notify, mUIDValid, mUID, mMediaClock); in setDataSourceAsync()
333 sp<GenericSource> source = new GenericSource(notify, mUIDValid, mUID, mMediaClock); in setDataSourceAsync()
484 mMediaClock->addTimer(notify, mediaTimeUs); in notifyAt()
1585 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, flags); in onStart()
DNuPlayer.h168 const sp<MediaClock> mMediaClock; member
DGenericSource.cpp77 mMediaClock(mediaClock), in GenericSource()
766 mMediaClock->addTimer(msg2, subTimeUs); in fetchTextData()
801 mMediaClock->addTimer(msg, nextSubTimeUs); in sendTextData()
/frameworks/av/media/libstagefright/
DMediaSync.cpp63 mMediaClock = new MediaClock; in MediaSync()
64 mMediaClock->init(); in MediaSync()
253 mMediaClock->setPlaybackRate(rate); in updatePlaybackRate_l()
258 return mMediaClock; in getMediaClock()
326 mMediaClock->updateAnchor(nowMediaUs, nowUs, maxMediaTimeUs); in updateQueuedAudioData()
360 mMediaClock->clearAnchor(); in flush()
468 if (mMediaClock->getRealTimeFor(mediaTimeUs, &realUs) != OK) { in getRealTime()
571 mMediaClock->updateAnchor( in onDrainVideo_l()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaSync.h229 sp<MediaClock> mMediaClock; variable