Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
DQemuClient.cpp533 size_t cur_offset = 0; in queryFrame() local
538 if ((query.mReplyDataSize - cur_offset) >= vframe_size) { in queryFrame()
540 cur_offset += vframe_size; in queryFrame()
543 __FUNCTION__, query.mReplyDataSize - cur_offset, vframe_size); in queryFrame()
549 if ((query.mReplyDataSize - cur_offset) >= pframe_size) { in queryFrame()
550 memcpy(pframe, frame + cur_offset, pframe_size); in queryFrame()
551 cur_offset += pframe_size; in queryFrame()
554 __FUNCTION__, query.mReplyDataSize - cur_offset, pframe_size); in queryFrame()
559 if (query.mReplyDataSize - cur_offset >= 8) { in queryFrame()
560 *frame_time = *reinterpret_cast<const int64_t*>(frame + cur_offset); in queryFrame()
[all …]
/device/google/cuttlefish/guest/hals/camera/
DQemuClient.cpp486 size_t cur_offset = 0; in queryFrame() local
491 if ((query.mReplyDataSize - cur_offset) >= vframe_size) { in queryFrame()
493 cur_offset += vframe_size; in queryFrame()
496 __FUNCTION__, query.mReplyDataSize - cur_offset, vframe_size); in queryFrame()
502 if ((query.mReplyDataSize - cur_offset) >= pframe_size) { in queryFrame()
503 memcpy(pframe, frame + cur_offset, pframe_size); in queryFrame()
504 cur_offset += pframe_size; in queryFrame()
508 __FUNCTION__, query.mReplyDataSize - cur_offset, pframe_size); in queryFrame()