Home
last modified time | relevance | path

Searched refs:DvrWriteBuffer (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer.h11 typedef struct DvrWriteBuffer DvrWriteBuffer; typedef
19 void dvrWriteBufferCreateEmpty(DvrWriteBuffer** write_buffer);
22 void dvrWriteBufferDestroy(DvrWriteBuffer* write_buffer);
25 int dvrWriteBufferIsValid(DvrWriteBuffer* write_buffer);
29 int dvrWriteBufferClear(DvrWriteBuffer* write_buffer);
32 int dvrWriteBufferGetId(DvrWriteBuffer* write_buffer);
36 int dvrWriteBufferGetAHardwareBuffer(DvrWriteBuffer* write_buffer,
41 int dvrWriteBufferPost(DvrWriteBuffer* write_buffer, int ready_fence_fd,
45 int dvrWriteBufferGain(DvrWriteBuffer* write_buffer, int* release_fence_fd);
46 int dvrWriteBufferGainAsync(DvrWriteBuffer* write_buffer);
[all …]
Ddvr_api.h37 typedef struct DvrWriteBuffer DvrWriteBuffer; typedef
130 typedef void (*DvrWriteBufferCreateEmptyPtr)(DvrWriteBuffer** write_buffer_out);
131 typedef void (*DvrWriteBufferDestroyPtr)(DvrWriteBuffer* write_buffer);
132 typedef int (*DvrWriteBufferIsValidPtr)(DvrWriteBuffer* write_buffer);
133 typedef int (*DvrWriteBufferClearPtr)(DvrWriteBuffer* write_buffer);
134 typedef int (*DvrWriteBufferGetIdPtr)(DvrWriteBuffer* write_buffer);
136 DvrWriteBuffer* write_buffer, AHardwareBuffer** hardware_buffer);
137 typedef int (*DvrWriteBufferPostPtr)(DvrWriteBuffer* write_buffer,
140 typedef int (*DvrWriteBufferGainPtr)(DvrWriteBuffer* write_buffer,
142 typedef int (*DvrWriteBufferGainAsyncPtr)(DvrWriteBuffer* write_buffer);
[all …]
Ddvr_deleter.h15 typedef struct DvrWriteBuffer DvrWriteBuffer; typedef
27 void dvrWriteBufferDestroy(DvrWriteBuffer* write_buffer);
50 void operator()(DvrWriteBuffer* p) { dvrWriteBufferDestroy(p); } in operator()
68 using UniqueDvrWriteBuffer = MakeUniqueDvrPointer<DvrWriteBuffer>;
Ddvr_buffer_queue.h94 DvrWriteBuffer* out_buffer, int* out_fence_fd);
112 DvrWriteBuffer** out_write_buffer,
127 DvrWriteBuffer* write_buffer,
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer.cpp41 void dvrWriteBufferCreateEmpty(DvrWriteBuffer** write_buffer) { in dvrWriteBufferCreateEmpty()
43 *write_buffer = new DvrWriteBuffer; in dvrWriteBufferCreateEmpty()
46 void dvrWriteBufferDestroy(DvrWriteBuffer* write_buffer) { in dvrWriteBufferDestroy()
56 int dvrWriteBufferIsValid(DvrWriteBuffer* write_buffer) { in dvrWriteBufferIsValid()
60 int dvrWriteBufferClear(DvrWriteBuffer* write_buffer) { in dvrWriteBufferClear()
68 int dvrWriteBufferGetId(DvrWriteBuffer* write_buffer) { in dvrWriteBufferGetId()
75 int dvrWriteBufferGetAHardwareBuffer(DvrWriteBuffer* write_buffer, in dvrWriteBufferGetAHardwareBuffer()
84 int dvrWriteBufferPost(DvrWriteBuffer* write_buffer, int ready_fence_fd, in dvrWriteBufferPost()
94 int dvrWriteBufferGain(DvrWriteBuffer* write_buffer, int* release_fence_fd) { in dvrWriteBufferGain()
104 int dvrWriteBufferGainAsync(DvrWriteBuffer* write_buffer) { in dvrWriteBufferGainAsync()
[all …]
Ddvr_buffer_queue_internal.h18 typedef struct DvrWriteBuffer DvrWriteBuffer; typedef
45 int Dequeue(int timeout, DvrWriteBuffer* write_buffer, int* out_fence_fd);
46 int GainBuffer(int timeout, DvrWriteBuffer** out_write_buffer,
48 int PostBuffer(DvrWriteBuffer* write_buffer,
54 std::array<std::unique_ptr<DvrWriteBuffer>, BufferHubQueue::kMaxQueueCapacity>
Ddvr_internal.h12 typedef struct DvrWriteBuffer DvrWriteBuffer; typedef
28 DvrWriteBuffer* CreateDvrWriteBufferFromBufferProducer(
36 struct DvrWriteBuffer { struct
Ddvr_buffer_queue.cpp56 int DvrWriteBufferQueue::Dequeue(int timeout, DvrWriteBuffer* write_buffer, in Dequeue()
59 DvrWriteBuffer* buffer = nullptr; in Dequeue()
73 DvrWriteBuffer** out_write_buffer, in GainBuffer()
99 write_buffers_[slot] = std::make_unique<DvrWriteBuffer>(); in GainBuffer()
173 int DvrWriteBufferQueue::PostBuffer(DvrWriteBuffer* write_buffer, in PostBuffer()
303 DvrWriteBuffer* write_buffer, in dvrWriteBufferQueueDequeue()
312 DvrWriteBuffer** out_write_buffer, in dvrWriteBufferQueueGainBuffer()
323 DvrWriteBuffer* write_buffer, in dvrWriteBufferQueuePostBuffer()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_buffer_queue-test.cpp131 DvrWriteBuffer* wb = nullptr; in TEST_F()
152 DvrWriteBuffer* wb = nullptr; in TEST_F()
250 DvrWriteBuffer* wb1 = nullptr; in TEST_F()
251 DvrWriteBuffer* wb2 = nullptr; in TEST_F()
252 DvrWriteBuffer* wb3 = nullptr; in TEST_F()
390 std::array<DvrWriteBuffer*, kQueueCapacity> wbs; in TEST_F()
Ddvr_display_manager-test.cpp847 DvrWriteBuffer* buffer = nullptr; in TEST_F()