Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp397 nsecs_t VideoFrameScheduler::schedule(nsecs_t renderTime) { in schedule() argument
398 nsecs_t origRenderTime = renderTime; in schedule()
407 ALOGV("no vsync: render=%lld", (long long)renderTime); in schedule()
408 return renderTime; in schedule()
412 if (mVsyncTime > renderTime - 4 * mVsyncPeriod) { in schedule()
414 ((mVsyncTime - renderTime) / mVsyncPeriod + 5) * mVsyncPeriod; in schedule()
419 renderTime -= mVsyncPeriod / 2; in schedule()
437 (renderTime + mTimeCorrection + videoPeriod * i - mVsyncTime) % mVsyncPeriod; in schedule()
441 renderTime += mTimeCorrection; in schedule()
450 renderTime + mVsyncPeriod - ((renderTime - mVsyncTime) % mVsyncPeriod); in schedule()
[all …]
/frameworks/av/include/media/stagefright/
DVideoFrameScheduler.h37 nsecs_t schedule(nsecs_t renderTime);