Searched refs:read_queue (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer_queue.cpp | 458 void dvrReadBufferQueueDestroy(DvrReadBufferQueue* read_queue) { in dvrReadBufferQueueDestroy() argument 459 delete read_queue; in dvrReadBufferQueueDestroy() 462 ssize_t dvrReadBufferQueueGetCapacity(DvrReadBufferQueue* read_queue) { in dvrReadBufferQueueGetCapacity() argument 463 if (!read_queue) in dvrReadBufferQueueGetCapacity() 466 return read_queue->capacity(); in dvrReadBufferQueueGetCapacity() 469 int dvrReadBufferQueueGetId(DvrReadBufferQueue* read_queue) { in dvrReadBufferQueueGetId() argument 470 if (!read_queue) in dvrReadBufferQueueGetId() 473 return read_queue->id(); in dvrReadBufferQueueGetId() 476 int dvrReadBufferQueueGetEventFd(DvrReadBufferQueue* read_queue) { in dvrReadBufferQueueGetEventFd() argument 477 if (!read_queue) in dvrReadBufferQueueGetEventFd() [all …]
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_buffer_queue.h | 140 void dvrReadBufferQueueDestroy(DvrReadBufferQueue* read_queue); 146 ssize_t dvrReadBufferQueueGetCapacity(DvrReadBufferQueue* read_queue); 152 int dvrReadBufferQueueGetId(DvrReadBufferQueue* read_queue); 160 int dvrReadBufferQueueGetEventFd(DvrReadBufferQueue* read_queue); 168 int dvrReadBufferQueueCreateReadQueue(DvrReadBufferQueue* read_queue, 186 int dvrReadBufferQueueAcquireBuffer(DvrReadBufferQueue* read_queue, int timeout, 201 int dvrReadBufferQueueReleaseBuffer(DvrReadBufferQueue* read_queue, 224 DvrReadBufferQueue* read_queue, 252 DvrReadBufferQueue* read_queue, 259 int dvrReadBufferQueueHandleEvents(DvrReadBufferQueue* read_queue);
|
D | dvr_api.h | 206 typedef void (*DvrReadBufferQueueDestroyPtr)(DvrReadBufferQueue* read_queue); 208 DvrReadBufferQueue* read_queue); 209 typedef int (*DvrReadBufferQueueGetIdPtr)(DvrReadBufferQueue* read_queue); 210 typedef int (*DvrReadBufferQueueGetEventFdPtr)(DvrReadBufferQueue* read_queue); 212 DvrReadBufferQueue* read_queue, DvrReadBufferQueue** out_read_queue); 213 typedef int (*DvrReadBufferQueueDequeuePtr)(DvrReadBufferQueue* read_queue, 219 DvrReadBufferQueue* read_queue, int timeout, 223 DvrReadBufferQueue* read_queue, DvrReadBuffer* read_buffer, 227 DvrReadBufferQueue* read_queue, 232 DvrReadBufferQueue* read_queue, [all …]
|
D | dvr_deleter.h | 27 void dvrReadBufferQueueDestroy(DvrReadBufferQueue* read_queue);
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_buffer_queue-test.cpp | 98 DvrReadBufferQueue* read_queue = nullptr; in TEST_F() local 99 ret = api_.WriteBufferQueueCreateReadQueue(write_queue_, &read_queue); in TEST_F() 102 ASSERT_NE(nullptr, read_queue); in TEST_F() 104 api_.ReadBufferQueueDestroy(read_queue); in TEST_F() 154 DvrReadBufferQueue* read_queue = nullptr; in TEST_F() local 161 ret = api_.WriteBufferQueueCreateReadQueue(write_queue_, &read_queue); in TEST_F() 164 ASSERT_NE(read_queue, nullptr); in TEST_F() 167 read_queue, &BufferAvailableCallback, this); in TEST_F() 187 ret = api_.ReadBufferQueueAcquireBuffer(read_queue, /*timeout=*/10, &rb, in TEST_F() 205 ret = api_.ReadBufferQueueReleaseBuffer(read_queue, rb, &meta2, in TEST_F() [all …]
|
D | dvr_display_manager-test.cpp | 817 UniqueDvrReadBufferQueue read_queue = read_queue_status.take(); in TEST_F() local 818 ASSERT_NE(nullptr, read_queue.get()); in TEST_F() 819 EXPECT_EQ(queue_id, dvrReadBufferQueueGetId(read_queue.get())); in TEST_F()
|