Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp403 if (read_buffers_[slot] == nullptr) { in AcquireBuffer()
406 read_buffers_[slot] = std::make_unique<DvrReadBuffer>(); in AcquireBuffer()
407 read_buffers_[slot]->slot = slot; in AcquireBuffer()
411 read_buffers_[slot]->read_buffer, in AcquireBuffer()
413 read_buffers_[slot]->read_buffer = std::move(buffer_status.take()); in AcquireBuffer()
415 *out_read_buffer = read_buffers_[slot].release(); in AcquireBuffer()
430 if (read_buffers_[slot] != nullptr) { in ReleaseBuffer()
456 read_buffers_[slot].reset(read_buffer); in ReleaseBuffer()
459 read_buffers_[slot]->read_buffer = nullptr; in ReleaseBuffer()
Ddvr_buffer_queue_internal.h92 read_buffers_; member