Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp41 ScheduleResult getExpectedCallbackTime(nsecs_t nextVsyncTime, in getExpectedCallbackTime() argument
43 return {TimePoint::fromNs(nextVsyncTime - timing.readyDuration - timing.workDuration), in getExpectedCallbackTime()
44 TimePoint::fromNs(nextVsyncTime)}; in getExpectedCallbackTime()
102 auto nextVsyncTime = in schedule() local
107 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()
110 mArmedInfo && (nextVsyncTime > (mArmedInfo->mActualVsyncTime + mMinVsyncDistance)); in schedule()
117 nextVsyncTime = mArmedInfo->mActualVsyncTime; in schedule()
119 nextVsyncTime = adjustVsyncIfNeeded(tracker, nextVsyncTime); in schedule()
121 nextWakeupTime = std::max(now, nextVsyncTime - timing.workDuration - timing.readyDuration); in schedule()
124 return getExpectedCallbackTime(nextVsyncTime, timing); in schedule()
[all …]
DVSyncDispatchTimerQueue.h93 nsecs_t adjustVsyncIfNeeded(VSyncTracker& tracker, nsecs_t nextVsyncTime) const;
DScheduler.cpp610 const TimePoint nextVsyncTime = in getNextFrameInterval() local
613 const Duration frameInterval = nextVsyncTime - currentExpectedPresentTime; in getNextFrameInterval()
/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()