Searched refs:write_queue (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_buffer_queue.h | 48 void dvrWriteBufferQueueDestroy(DvrWriteBufferQueue* write_queue); 54 ssize_t dvrWriteBufferQueueGetCapacity(DvrWriteBufferQueue* write_queue); 60 int dvrWriteBufferQueueGetId(DvrWriteBufferQueue* write_queue); 76 int dvrWriteBufferQueueGetANativeWindow(DvrWriteBufferQueue* write_queue, 85 int dvrWriteBufferQueueCreateReadQueue(DvrWriteBufferQueue* write_queue, 103 int dvrWriteBufferQueueGainBuffer(DvrWriteBufferQueue* write_queue, int timeout, 118 int dvrWriteBufferQueuePostBuffer(DvrWriteBufferQueue* write_queue, 134 int dvrWriteBufferQueueResizeBuffer(DvrWriteBufferQueue* write_queue,
|
D | dvr_api.h | 183 typedef void (*DvrWriteBufferQueueDestroyPtr)(DvrWriteBufferQueue* write_queue); 185 DvrWriteBufferQueue* write_queue); 186 typedef int (*DvrWriteBufferQueueGetIdPtr)(DvrWriteBufferQueue* write_queue); 188 DvrWriteBufferQueue* write_queue, ANativeWindow** out_window); 190 DvrWriteBufferQueue* write_queue, ANativeWindow** out_window); 192 DvrWriteBufferQueue* write_queue, DvrReadBufferQueue** out_read_queue); 193 typedef int (*DvrWriteBufferQueueDequeuePtr)(DvrWriteBufferQueue* write_queue, 198 DvrWriteBufferQueue* write_queue, int timeout, 202 DvrWriteBufferQueue* write_queue, DvrWriteBuffer* write_buffer, 205 DvrWriteBufferQueue* write_queue, uint32_t width, uint32_t height); [all …]
|
D | dvr_tracking.h | 68 DvrWriteBufferQueue* write_queue);
|
D | dvr_deleter.h | 28 void dvrWriteBufferQueueDestroy(DvrWriteBufferQueue* write_queue);
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer_queue.cpp | 258 void dvrWriteBufferQueueDestroy(DvrWriteBufferQueue* write_queue) { in dvrWriteBufferQueueDestroy() argument 259 delete write_queue; in dvrWriteBufferQueueDestroy() 262 ssize_t dvrWriteBufferQueueGetCapacity(DvrWriteBufferQueue* write_queue) { in dvrWriteBufferQueueGetCapacity() argument 263 if (!write_queue) in dvrWriteBufferQueueGetCapacity() 266 return write_queue->capacity(); in dvrWriteBufferQueueGetCapacity() 269 int dvrWriteBufferQueueGetId(DvrWriteBufferQueue* write_queue) { in dvrWriteBufferQueueGetId() argument 270 if (!write_queue) in dvrWriteBufferQueueGetId() 273 return write_queue->id(); in dvrWriteBufferQueueGetId() 276 int dvrWriteBufferQueueGetANativeWindow(DvrWriteBufferQueue* write_queue, in dvrWriteBufferQueueGetANativeWindow() argument 278 if (!write_queue || !out_window) in dvrWriteBufferQueueGetANativeWindow() [all …]
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_display_manager-test.cpp | 792 UniqueDvrWriteBufferQueue write_queue = write_queue_status.take(); in TEST_F() local 793 ASSERT_NE(nullptr, write_queue.get()); in TEST_F() 795 const int queue_id = dvrWriteBufferQueueGetId(write_queue.get()); in TEST_F() 821 write_queue.reset(); in TEST_F() 855 UniqueDvrWriteBufferQueue write_queue = write_queue_status.take(); in TEST_F() local 856 ASSERT_NE(nullptr, write_queue.get()); in TEST_F() 861 int error = dvrWriteBufferQueueGainBuffer(write_queue.get(), /*timeout=*/1000, in TEST_F()
|