Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp335 mTimeCorrection(0) { in VideoFrameScheduler()
370 mTimeCorrection = 0; in init()
377 mTimeCorrection = 0; in restart()
437 (renderTime + mTimeCorrection + videoPeriod * i - mVsyncTime) % mVsyncPeriod; in schedule()
440 mTimeCorrection += mVsyncPeriod / 2 - offset / (nsecs_t)N; in schedule()
441 renderTime += mTimeCorrection; in schedule()
457 if (mTimeCorrection > correctionLimit && in schedule()
460 mTimeCorrection -= mVsyncPeriod / 2; in schedule()
465 } else if (mTimeCorrection < -correctionLimit && in schedule()
468 mTimeCorrection += mVsyncPeriod / 2; in schedule()
/frameworks/av/include/media/stagefright/
DVideoFrameScheduler.h91 nsecs_t mTimeCorrection; // running adjustment member