Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp36 nsecs_t getExpectedCallbackTime(nsecs_t nextVsyncTime, in getExpectedCallbackTime() argument
38 return nextVsyncTime - timing.readyDuration - timing.workDuration; in getExpectedCallbackTime()
43 const auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom( in getExpectedCallbackTime() local
45 return getExpectedCallbackTime(nextVsyncTime, timing); in getExpectedCallbackTime()
91 auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom( in schedule() local
93 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()
96 mArmedInfo && (nextVsyncTime > (mArmedInfo->mActualVsyncTime + mMinVsyncDistance)); in schedule()
100 return getExpectedCallbackTime(nextVsyncTime, timing); in schedule()
104 ((*mLastDispatchTime + mMinVsyncDistance) >= nextVsyncTime && in schedule()
105 (*mLastDispatchTime - mMinVsyncDistance) <= nextVsyncTime); in schedule()
[all …]
/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()