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.cpp356 if (read_buffers_[slot] == nullptr) { in AcquireBuffer()
359 read_buffers_[slot] = std::make_unique<DvrReadBuffer>(); in AcquireBuffer()
360 read_buffers_[slot]->slot = slot; in AcquireBuffer()
364 read_buffers_[slot]->read_buffer, in AcquireBuffer()
366 read_buffers_[slot]->read_buffer = std::move(buffer_status.take()); in AcquireBuffer()
368 *out_read_buffer = read_buffers_[slot].release(); in AcquireBuffer()
383 if (read_buffers_[slot] != nullptr) { in ReleaseBuffer()
419 read_buffers_[slot].reset(read_buffer); in ReleaseBuffer()
422 read_buffers_[slot]->read_buffer = nullptr; in ReleaseBuffer()
Ddvr_buffer_queue_internal.h92 read_buffers_; member