Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp368 nsecs_t VideoFrameSchedulerBase::schedule(nsecs_t renderTime) { in schedule() argument
369 nsecs_t origRenderTime = renderTime; in schedule()
378 ALOGV("no vsync: render=%lld", (long long)renderTime); in schedule()
379 return renderTime; in schedule()
383 if (mVsyncTime > renderTime - 4 * mVsyncPeriod) { in schedule()
385 ((mVsyncTime - renderTime) / mVsyncPeriod + 5) * mVsyncPeriod; in schedule()
390 renderTime -= mVsyncPeriod / 2; in schedule()
408 (renderTime + mTimeCorrection + videoPeriod * i - mVsyncTime) % mVsyncPeriod; in schedule()
412 renderTime += mTimeCorrection; in schedule()
421 renderTime + mVsyncPeriod - ((renderTime - mVsyncTime) % mVsyncPeriod); in schedule()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DVideoFrameSchedulerBase.h35 nsecs_t schedule(nsecs_t renderTime);