Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMediaSync.cpp544 int64_t itemRealUs = getRealTime(itemMediaUs, nowUs); in onDrainVideo_l() local
547 itemRealUs = mFrameScheduler->schedule(itemRealUs * 1000) / 1000; in onDrainVideo_l()
551 if (itemRealUs <= nowUs + twoVsyncsUs) { in onDrainVideo_l()
553 (long long)bufferItem->mTimestamp / 1000, (long long)itemRealUs); in onDrainVideo_l()
554 bufferItem->mTimestamp = itemRealUs * 1000; in onDrainVideo_l()
558 if (nowUs - itemRealUs <= kMaxAllowedVideoLateTimeUs) { in onDrainVideo_l()
581 msg->post(itemRealUs - nowUs - twoVsyncsUs); in onDrainVideo_l()
789 int64_t itemRealUs = getRealTime(mNextBufferItemMediaUs, nowUs); in onMessageReceived() local
795 if (itemRealUs > nowUs) { in onMessageReceived()
796 msg->post(itemRealUs - nowUs); in onMessageReceived()