Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp107 mMediaClock(mediaClock), in Renderer()
138 mMediaClock->setPlaybackRate(mPlaybackRate); in Renderer()
213 mMediaClock->setPlaybackRate(mPlaybackRate); in onConfigPlayback()
303 mMediaClock->clearAnchor(); in flush()
341 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
363 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1); in getCurrentPosition()
366 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
371 mMediaClock->setStartingTimeMedia(-1); in clearAudioFirstAnchorTime_l()
377 mMediaClock->setStartingTimeMedia(mediaUs); in setAudioFirstAnchorTimeIfNeeded_l()
383 mMediaClock->clearAnchor(); in clearAnchorTime()
[all …]
DNuPlayerDriver.h139 const sp<MediaClock> mMediaClock; member
DNuPlayerDriver.cpp84 mMediaClock(new MediaClock), in NuPlayerDriver()
85 mPlayer(new NuPlayer(pid, mMediaClock)), in NuPlayerDriver()
95 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()
1595 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, flags); in onStart()
DNuPlayer.h169 const sp<MediaClock> mMediaClock; member
DGenericSource.cpp77 mMediaClock(mediaClock), in GenericSource()
734 mMediaClock->addTimer(msg2, subTimeUs); in fetchTextData()
769 mMediaClock->addTimer(msg, nextSubTimeUs); in sendTextData()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp106 mMediaClock(mediaClock), in Renderer()
137 mMediaClock->setPlaybackRate(mPlaybackRate); in Renderer()
212 mMediaClock->setPlaybackRate(mPlaybackRate); in onConfigPlayback()
302 mMediaClock->clearAnchor(); in flush()
340 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
362 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1); in getCurrentPosition()
365 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
370 mMediaClock->setStartingTimeMedia(-1); in clearAudioFirstAnchorTime_l()
376 mMediaClock->setStartingTimeMedia(mediaUs); in setAudioFirstAnchorTimeIfNeeded_l()
382 mMediaClock->clearAnchor(); in clearAnchorTime()
[all …]
DNuPlayer2Driver.h135 const sp<MediaClock> mMediaClock; member
DNuPlayer2Driver.cpp122 mMediaClock(new MediaClock), in NuPlayer2Driver()
123 mPlayer(new NuPlayer2(pid, uid, mMediaClock)), in NuPlayer2Driver()
134 mMediaClock->init(); in NuPlayer2Driver()
DGenericSource2.h153 const sp<MediaClock> mMediaClock; member
DNuPlayer2Renderer.h169 const sp<MediaClock> mMediaClock; member
DNuPlayer2.h158 const sp<MediaClock> mMediaClock; member
DNuPlayer2.cpp214 mMediaClock(mediaClock), in NuPlayer2()
310 new GenericSource2(notify, mUID, mMediaClock); in createNuPlayer2Source()
330 new GenericSource2(notify, mUID, mMediaClock); in createNuPlayer2Source()
352 new GenericSource2(notify, mUID, mMediaClock); in createNuPlayer2Source()
575 mMediaClock->addTimer(notify, mediaTimeUs); in notifyAt()
1660 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, flags); in onStart()
DGenericSource2.cpp77 mMediaClock(mediaClock), in GenericSource2()
691 mMediaClock->addTimer(msg2, subTimeUs); in fetchTextData()
726 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