/frameworks/native/libs/vr/libbufferhub/ |
D | consumer_buffer.cpp | 33 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()
|
D | producer_buffer.cpp | 152 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/ |
D | dvr_buffer_queue.cpp | 72 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 …]
|
D | dvr_buffer_queue_internal.h | 47 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/ |
D | consumer_buffer.h | 39 int AcquireAsync(DvrNativeBufferMetadata* out_meta, LocalHandle* out_fence); 65 int LocalAcquire(DvrNativeBufferMetadata* out_meta, LocalHandle* out_fence);
|
D | producer_buffer.h | 64 int GainAsync(DvrNativeBufferMetadata* out_meta, LocalHandle* out_fence, 94 int LocalGain(DvrNativeBufferMetadata* out_meta, LocalHandle* out_fence,
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_display-test.cpp | 99 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/ |
D | dvr_buffer_queue.h | 105 DvrNativeBufferMetadata* out_meta, 188 DvrNativeBufferMetadata* out_meta,
|
D | dvr_api.h | 201 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/ |
D | buffer_hub_queue_client.cpp | 586 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/ |
D | buffer_hub_queue_client.h | 379 int timeout, size_t* slot, DvrNativeBufferMetadata* out_meta, 455 int timeout, size_t* slot, DvrNativeBufferMetadata* out_meta,
|