Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DVideoFrameScheduler.cpp331 mTimeCorrection(0) { in VideoFrameScheduler()
366 mTimeCorrection = 0; in init()
373 mTimeCorrection = 0; in restart()
425 (renderTime + mTimeCorrection + videoPeriod * i - mVsyncTime) % mVsyncPeriod; in schedule()
428 mTimeCorrection += mVsyncPeriod / 2 - offset / N; in schedule()
429 renderTime += mTimeCorrection; in schedule()
445 if (mTimeCorrection > correctionLimit && in schedule()
448 mTimeCorrection -= mVsyncPeriod / 2; in schedule()
452 } else if (mTimeCorrection < -correctionLimit && in schedule()
455 mTimeCorrection += mVsyncPeriod / 2; in schedule()
DVideoFrameScheduler.h87 nsecs_t mTimeCorrection; // running adjustment member