Home
last modified time | relevance | path

Searched refs:out_meta (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dconsumer_buffer.cpp33 int ConsumerBuffer::LocalAcquire(DvrNativeBufferMetadata* out_meta, in LocalAcquire() argument
35 if (!out_meta) in LocalAcquire()
69 memcpy(out_meta, metadata_ptr, sizeof(DvrNativeBufferMetadata)); in LocalAcquire()
71 if (out_meta->user_metadata_size) { in LocalAcquire()
72 out_meta->user_metadata_ptr = in LocalAcquire()
75 out_meta->user_metadata_ptr = 0; in LocalAcquire()
119 int ConsumerBuffer::AcquireAsync(DvrNativeBufferMetadata* out_meta, in AcquireAsync() argument
123 if (const int error = LocalAcquire(out_meta, out_fence)) in AcquireAsync()
Dproducer_buffer.cpp152 int ProducerBuffer::LocalGain(DvrNativeBufferMetadata* out_meta, in LocalGain() argument
154 if (!out_meta) in LocalGain()
200 out_meta->user_metadata_size = in LocalGain()
202 out_meta->user_metadata_ptr = in LocalGain()
205 out_meta->user_metadata_size = 0; in LocalGain()
206 out_meta->user_metadata_ptr = 0; in LocalGain()
220 out_meta->release_fence_mask = current_fence_state & in LocalGain()
241 int ProducerBuffer::GainAsync(DvrNativeBufferMetadata* out_meta, in GainAsync() argument
246 if (const int error = LocalGain(out_meta, release_fence, gain_posted_buffer)) in GainAsync()
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp72 DvrNativeBufferMetadata* out_meta, in GainBuffer() argument
85 producer_queue_->Dequeue(timeout, &slot, out_meta, &release_fence); in GainBuffer()
294 DvrNativeBufferMetadata* out_meta, in dvrWriteBufferQueueGainBuffer() argument
296 if (!write_queue || !out_write_buffer || !out_meta || !out_fence_fd) in dvrWriteBufferQueueGainBuffer()
299 return write_queue->GainBuffer(timeout, out_write_buffer, out_meta, in dvrWriteBufferQueueGainBuffer()
343 DvrNativeBufferMetadata* out_meta, in AcquireBuffer() argument
348 consumer_queue_->Dequeue(timeout, &slot, out_meta, &acquire_fence); in AcquireBuffer()
493 void* out_meta, size_t meta_size_bytes) { in dvrReadBufferQueueDequeue() argument
497 if (meta_size_bytes != 0 && !out_meta) in dvrReadBufferQueueDequeue()
500 return read_queue->Dequeue(timeout, read_buffer, out_fence_fd, out_meta, in dvrReadBufferQueueDequeue()
[all …]
Ddvr_buffer_queue_internal.h47 DvrNativeBufferMetadata* out_meta, int* out_fence_fd);
78 void* out_meta, size_t user_metadata_size);
80 DvrNativeBufferMetadata* out_meta, int* out_fence_fd);
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dconsumer_buffer.h39 int AcquireAsync(DvrNativeBufferMetadata* out_meta, LocalHandle* out_fence);
65 int LocalAcquire(DvrNativeBufferMetadata* out_meta, LocalHandle* out_fence);
Dproducer_buffer.h64 int GainAsync(DvrNativeBufferMetadata* out_meta, LocalHandle* out_fence,
94 int LocalGain(DvrNativeBufferMetadata* out_meta, LocalHandle* out_fence,
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display-test.cpp99 DvrNativeBufferMetadata out_meta; in TEST_F() local
102 &out_meta, &out_fence_fd); in TEST_F()
113 ret = api_.WriteBufferQueuePostBuffer(write_queue_, write_buffer, &out_meta, in TEST_F()
155 DvrNativeBufferMetadata out_meta; in TEST_F() local
158 write_queue_, kTimeoutMs, &write_buffer, &out_meta, &out_fence_fd); in TEST_F()
181 ret = api_.WriteBufferQueuePostBuffer(write_queue_, write_buffer, &out_meta, in TEST_F()
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer_queue.h105 DvrNativeBufferMetadata* out_meta,
188 DvrNativeBufferMetadata* out_meta,
Ddvr_api.h201 DvrWriteBuffer** out_write_buffer, DvrNativeBufferMetadata* out_meta,
218 int* out_fence_fd, void* out_meta,
222 DvrReadBuffer** out_read_buffer, DvrNativeBufferMetadata* out_meta,
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp586 int timeout, size_t* slot, DvrNativeBufferMetadata* out_meta, in Dequeue() argument
589 if (slot == nullptr || out_meta == nullptr || release_fence == nullptr) { in Dequeue()
614 buffer->GainAsync(out_meta, release_fence, gain_posted_buffer); in Dequeue()
784 int timeout, size_t* slot, DvrNativeBufferMetadata* out_meta, in Dequeue() argument
787 if (slot == nullptr || out_meta == nullptr || acquire_fence == nullptr) { in Dequeue()
797 const int ret = buffer->AcquireAsync(out_meta, acquire_fence); in Dequeue()
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h379 int timeout, size_t* slot, DvrNativeBufferMetadata* out_meta,
455 int timeout, size_t* slot, DvrNativeBufferMetadata* out_meta,