Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMediaSync.cpp557 int64_t itemRealUs = getRealTime(itemMediaUs, nowUs); in onDrainVideo_l() local
560 itemRealUs = mFrameScheduler->schedule(itemRealUs * 1000) / 1000; in onDrainVideo_l()
564 if (itemRealUs <= nowUs + twoVsyncsUs) { in onDrainVideo_l()
566 (long long)bufferItem->mTimestamp / 1000, (long long)itemRealUs); in onDrainVideo_l()
567 bufferItem->mTimestamp = itemRealUs * 1000; in onDrainVideo_l()
571 if (nowUs - itemRealUs <= kMaxAllowedVideoLateTimeUs) { in onDrainVideo_l()
594 msg->post(itemRealUs - nowUs - twoVsyncsUs); in onDrainVideo_l()
803 int64_t itemRealUs = getRealTime(mNextBufferItemMediaUs, nowUs); in onMessageReceived() local
809 if (itemRealUs > nowUs) { in onMessageReceived()
810 msg->post(itemRealUs - nowUs); in onMessageReceived()