Home
last modified time | relevance | path

Searched refs:nextVsyncTime (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp66 auto nextVsyncTime = in schedule() local
70 mArmedInfo && (nextVsyncTime > (mArmedInfo->mActualVsyncTime + mMinVsyncDistance)); in schedule()
76 ((*mLastDispatchTime + mMinVsyncDistance) >= nextVsyncTime && in schedule()
77 (*mLastDispatchTime - mMinVsyncDistance) <= nextVsyncTime); in schedule()
79 nextVsyncTime = in schedule()
83 auto const nextWakeupTime = nextVsyncTime - workDuration; in schedule()
86 mArmedInfo = {nextWakeupTime, nextVsyncTime}; in schedule()
110 auto const nextVsyncTime = in update() local
112 mArmedInfo = {nextVsyncTime - mWorkDuration, nextVsyncTime}; in update()
/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp420 nsecs_t nextVsyncTime = in schedule() local
424 size_t vsyncsForLastFrame = divRound(nextVsyncTime - mLastVsyncTime, mVsyncPeriod); in schedule()
433 nextVsyncTime -= mVsyncPeriod; in schedule()
441 nextVsyncTime += mVsyncPeriod; in schedule()
456 mLastVsyncTime = nextVsyncTime; in schedule()