Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp127 mMediaClock(mediaClock), in Renderer()
157 mMediaClock->setPlaybackRate(mPlaybackSettings.mSpeed); in Renderer()
226 mMediaClock->setPlaybackRate(mPlaybackSettings.mSpeed); in onConfigPlayback()
315 mMediaClock->clearAnchor(); in flush()
352 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
374 mMediaClock->updateAnchor(nowMediaUs, nowUs, -1); in getCurrentPosition()
377 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
382 mMediaClock->setStartingTimeMedia(-1); in clearAudioFirstAnchorTime_l()
388 mMediaClock->setStartingTimeMedia(mediaUs); in setAudioFirstAnchorTimeIfNeeded_l()
394 mMediaClock->clearAnchor(); in clearAnchorTime()
[all …]
DNuPlayer2Driver.h131 const sp<MediaClock> mMediaClock; member
DNuPlayer2Driver.cpp128 mMediaClock(new MediaClock), in NuPlayer2Driver()
129 mPlayer(new NuPlayer2(pid, uid, mMediaClock, context)), in NuPlayer2Driver()
141 mMediaClock->init(); in NuPlayer2Driver()
DGenericSource2.h150 const sp<MediaClock> mMediaClock; member
DNuPlayer2Renderer.h171 const sp<MediaClock> mMediaClock; member
DNuPlayer2.h191 const sp<MediaClock> mMediaClock; member
DNuPlayer2.cpp216 mMediaClock(mediaClock), in NuPlayer2()
311 new GenericSource2(notify, mUID, mMediaClock); in createNuPlayer2Source()
331 new GenericSource2(notify, mUID, mMediaClock); in createNuPlayer2Source()
353 new GenericSource2(notify, mUID, mMediaClock); in createNuPlayer2Source()
580 mMediaClock->addTimer(notify, mediaTimeUs); in notifyAt()
1745 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, mContext, flags); in onStart()
1792 mMediaClock->addTimer(msg, mCurrentSourceInfo.mEndTimeUs); in addEndTimeMonitor()
DGenericSource2.cpp66 mMediaClock(mediaClock), in GenericSource2()
630 mMediaClock->addTimer(msg2, subTimeUs); in fetchTextData()
665 mMediaClock->addTimer(msg, nextSubTimeUs); in sendTextData()
/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.cpp86 mMediaClock(new MediaClock), in NuPlayerDriver()
87 mPlayer(new NuPlayer(pid, mMediaClock)), in NuPlayerDriver()
97 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()
764 mMediaClock->addTimer(msg2, subTimeUs); in fetchTextData()
799 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