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()
1284 int64_t twoVsyncsUs = 2 * (mVideoScheduler->getVsyncPeriod() / 1000); in postDrainVideoQueue() local1290 msg->post(delayUs > twoVsyncsUs ? delayUs - twoVsyncsUs : 0); in postDrainVideoQueue()1315 int64_t twoVsyncsUs = 2 * (mVideoScheduler->getVsyncPeriod() / 1000); in postDrainVideoQueue() local1318 mMediaClock->addTimer(msg, mediaTimeUs, -twoVsyncsUs); in postDrainVideoQueue()