Searched refs:twoVsyncsUs (Results 1 – 2 of 2) sorted by relevance
548 int64_t twoVsyncsUs = 2 * (mFrameScheduler->getVsyncPeriod() / 1000); in onDrainVideo_l() local551 if (itemRealUs <= nowUs + twoVsyncsUs) { in onDrainVideo_l()581 msg->post(itemRealUs - nowUs - twoVsyncsUs); in onDrainVideo_l()
1332 int64_t twoVsyncsUs = 2 * (mVideoScheduler->getVsyncPeriod() / 1000); in postDrainVideoQueue() local1338 msg->post(delayUs > twoVsyncsUs ? delayUs - twoVsyncsUs : 0); in postDrainVideoQueue()1363 int64_t twoVsyncsUs = 2 * (mVideoScheduler->getVsyncPeriod() / 1000); in postDrainVideoQueue() local1366 mMediaClock->addTimer(msg, mediaTimeUs, -twoVsyncsUs); in postDrainVideoQueue()