Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp334 mTimeCorrection(0) { in VideoFrameSchedulerBase()
341 mTimeCorrection = 0; in init()
348 mTimeCorrection = 0; in restart()
408 (renderTime + mTimeCorrection + videoPeriod * i - mVsyncTime) % mVsyncPeriod; in schedule()
411 mTimeCorrection += mVsyncPeriod / 2 - offset / (nsecs_t)N; in schedule()
412 renderTime += mTimeCorrection; in schedule()
428 if (mTimeCorrection > correctionLimit && in schedule()
431 mTimeCorrection -= mVsyncPeriod / 2; in schedule()
436 } else if (mTimeCorrection < -correctionLimit && in schedule()
439 mTimeCorrection += mVsyncPeriod / 2; in schedule()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DVideoFrameSchedulerBase.h92 nsecs_t mTimeCorrection; // running adjustment member