Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMediaSync.cpp548 int64_t twoVsyncsUs = 2 * (mFrameScheduler->getVsyncPeriod() / 1000); in onDrainVideo_l() local
551 if (itemRealUs <= nowUs + twoVsyncsUs) { in onDrainVideo_l()
581 msg->post(itemRealUs - nowUs - twoVsyncsUs); in onDrainVideo_l()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp1284 int64_t twoVsyncsUs = 2 * (mVideoScheduler->getVsyncPeriod() / 1000); in postDrainVideoQueue() local
1290 msg->post(delayUs > twoVsyncsUs ? delayUs - twoVsyncsUs : 0); in postDrainVideoQueue()
1315 int64_t twoVsyncsUs = 2 * (mVideoScheduler->getVsyncPeriod() / 1000); in postDrainVideoQueue() local
1318 mMediaClock->addTimer(msg, mediaTimeUs, -twoVsyncsUs); in postDrainVideoQueue()