Searched refs:read_buffer (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer.cpp | 73 void dvrReadBufferDestroy(DvrReadBuffer* read_buffer) { in dvrReadBufferDestroy() argument 74 if (read_buffer != nullptr) { in dvrReadBufferDestroy() 76 read_buffer->slot != -1, in dvrReadBufferDestroy() 79 dvrReadBufferGetId(read_buffer)); in dvrReadBufferDestroy() 80 delete read_buffer; in dvrReadBufferDestroy() 84 int dvrReadBufferIsValid(DvrReadBuffer* read_buffer) { in dvrReadBufferIsValid() argument 85 return read_buffer && read_buffer->read_buffer; in dvrReadBufferIsValid() 88 int dvrReadBufferGetId(DvrReadBuffer* read_buffer) { in dvrReadBufferGetId() argument 89 if (!read_buffer || !read_buffer->read_buffer) in dvrReadBufferGetId() 92 return read_buffer->read_buffer->id(); in dvrReadBufferGetId() [all …]
|
D | dvr_buffer_queue.cpp | 364 read_buffers_[slot]->read_buffer, in AcquireBuffer() 366 read_buffers_[slot]->read_buffer = std::move(buffer_status.take()); in AcquireBuffer() 374 int DvrReadBufferQueue::ReleaseBuffer(DvrReadBuffer* read_buffer, in ReleaseBuffer() argument 378 size_t slot = static_cast<size_t>(read_buffer->slot); in ReleaseBuffer() 387 if (read_buffer->read_buffer == nullptr) { in ReleaseBuffer() 391 if (read_buffer->read_buffer->id() != consumer_queue_->GetBufferId(slot)) { in ReleaseBuffer() 398 consumer_queue_->id(), read_buffer->read_buffer->id(), in ReleaseBuffer() 405 consumer_queue_->id(), read_buffer->read_buffer->id(), in ReleaseBuffer() 411 int ret = read_buffer->read_buffer->ReleaseAsync(meta, fence); in ReleaseBuffer() 419 read_buffers_[slot].reset(read_buffer); in ReleaseBuffer() [all …]
|
D | dvr_buffer_queue_internal.h | 77 int Dequeue(int timeout, DvrReadBuffer* read_buffer, int* out_fence_fd, 81 int ReleaseBuffer(DvrReadBuffer* read_buffer,
|
D | dvr_internal.h | 44 std::shared_ptr<android::dvr::ConsumerBuffer> read_buffer; member
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_buffer.h | 32 void dvrReadBufferDestroy(DvrReadBuffer* read_buffer); 35 int dvrReadBufferIsValid(DvrReadBuffer* read_buffer); 38 int dvrReadBufferGetId(DvrReadBuffer* read_buffer); 42 int dvrReadBufferGetAHardwareBuffer(DvrReadBuffer* read_buffer,
|
D | dvr_api.h | 154 typedef void (*DvrReadBufferDestroyPtr)(DvrReadBuffer* read_buffer); 155 typedef int (*DvrReadBufferIsValidPtr)(DvrReadBuffer* read_buffer); 156 typedef int (*DvrReadBufferClearPtr)(DvrReadBuffer* read_buffer); 157 typedef int (*DvrReadBufferGetIdPtr)(DvrReadBuffer* read_buffer); 159 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer); 160 typedef int (*DvrReadBufferAcquirePtr)(DvrReadBuffer* read_buffer, 163 typedef int (*DvrReadBufferReleasePtr)(DvrReadBuffer* read_buffer, 165 typedef int (*DvrReadBufferReleaseAsyncPtr)(DvrReadBuffer* read_buffer); 167 DvrReadBuffer* read_buffer); 223 DvrReadBufferQueue* read_queue, DvrReadBuffer* read_buffer,
|
D | dvr_buffer_queue.h | 202 DvrReadBuffer* read_buffer,
|
D | dvr_deleter.h | 25 void dvrReadBufferDestroy(DvrReadBuffer* read_buffer);
|
/frameworks/native/libs/binder/tests/ |
D | binderDriverInterfaceTest.cpp | 124 bwr.read_buffer = (uintptr_t)br; in binderTestReadEmpty() 263 bwr.read_buffer = (uintptr_t)&br; in TEST_F() 351 bwr.read_buffer = (uintptr_t)&br; in TEST_F()
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 945 bwr.read_buffer = (uintptr_t)mIn.data(); in talkWithDriver() 948 bwr.read_buffer = 0; in talkWithDriver()
|