/frameworks/native/libs/vr/libbufferhub/ |
D | producer_buffer.cpp | 11 uint64_t usage, size_t user_metadata_size) in ProducerBuffer() argument 17 event_fd(), width, height, format, usage, user_metadata_size); in ProducerBuffer() 20 width, height, format, usage, user_metadata_size); in ProducerBuffer() 46 const size_t user_metadata_size = 0; in ProducerBuffer() local 49 width, height, format, usage, user_metadata_size); in ProducerBuffer() 79 if (const int error = CheckMetadata(meta->user_metadata_size)) in LocalPost() 120 if (meta->user_metadata_ptr && meta->user_metadata_size) { in LocalPost() 122 memcpy(user_metadata_ptr_, metadata_src, meta->user_metadata_size); in LocalPost() 134 size_t user_metadata_size) { in Post() argument 140 canonical_meta.user_metadata_size = user_metadata_size; in Post() [all …]
|
D | consumer_buffer.cpp | 77 if (out_meta->user_metadata_size) { in LocalAcquire() 99 size_t user_metadata_size) { in Acquire() argument 102 if (const int error = CheckMetadata(user_metadata_size)) in Acquire() 109 if (meta && user_metadata_size) { in Acquire() 113 memcpy(meta, metadata_src, user_metadata_size); in Acquire() 140 if (const int error = CheckMetadata(meta->user_metadata_size)) in LocalRelease() 170 if (meta->user_metadata_ptr && meta->user_metadata_size) { in LocalRelease() 172 memcpy(user_metadata_ptr_, metadata_src, meta->user_metadata_size); in LocalRelease()
|
D | buffer_hub_base.cpp | 143 int BufferHubBase::CheckMetadata(size_t user_metadata_size) const { in CheckMetadata() 144 if (user_metadata_size && !user_metadata_ptr_) { in CheckMetadata() 148 if (user_metadata_size > user_metadata_size_) { in CheckMetadata() 150 user_metadata_size, user_metadata_size_); in CheckMetadata()
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | producer_channel.h | 36 size_t user_metadata_size); 41 size_t user_metadata_size); 72 size_t user_metadata_size) const; 101 size_t user_metadata_size, int* error); 104 uint64_t usage, size_t user_metadata_size, int* error);
|
/frameworks/native/services/vr/bufferhubd/ |
D | producer_channel.cpp | 31 size_t user_metadata_size, int* error) in ProducerChannel() argument 35 user_metadata_size_(user_metadata_size), in ProducerChannel() 37 user_metadata_size) { in ProducerChannel() 55 uint64_t usage, size_t user_metadata_size, in ProducerChannel() argument 58 user_metadata_size_(user_metadata_size), in ProducerChannel() 60 user_metadata_size) { in ProducerChannel() 136 IonBuffer metadata_buffer, size_t user_metadata_size) { in Create() argument 140 std::move(metadata_buffer), user_metadata_size, &error)); in Create() 151 size_t user_metadata_size) { in Create() argument 155 format, usage, user_metadata_size, &error)); in Create() [all …]
|
D | producer_queue_channel.cpp | 231 format, usage, config_.user_metadata_size); in AllocateBuffer()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | bufferhub_rpc.h | 209 size_t user_metadata_size; member 213 default_height, default_format, user_metadata_size); 250 ProducerQueueConfigBuilder& SetMetadataSize(size_t user_metadata_size) { in SetMetadataSize() argument 251 user_metadata_size_ = user_metadata_size; in SetMetadataSize() 334 uint64_t usage, size_t user_metadata_size));
|
D | consumer_buffer.h | 36 int Acquire(LocalHandle* ready_fence, void* meta, size_t user_metadata_size);
|
D | producer_buffer.h | 37 size_t user_metadata_size);
|
D | buffer_hub_base.h | 112 int CheckMetadata(size_t user_metadata_size) const;
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 94 user_metadata_size_ = queue_info.producer_config.user_metadata_size; in SetupQueue() 755 int timeout, size_t* slot, void* meta, size_t user_metadata_size, in Dequeue() argument 757 if (user_metadata_size != user_metadata_size_) { in Dequeue() 761 __FUNCTION__, user_metadata_size, user_metadata_size_); in Dequeue() 770 if (meta && user_metadata_size) { in Dequeue() 774 memcpy(meta, metadata_src, user_metadata_size); in Dequeue()
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer_queue_internal.h | 78 void* out_meta, size_t user_metadata_size);
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue-test.cpp | 587 mi.user_metadata_size = kUserMetadataSize; in TEST_F() 595 EXPECT_EQ(mo.user_metadata_size, kUserMetadataSize); in TEST_F() 603 mi.user_metadata_size = 0U; in TEST_F() 627 mi.user_metadata_size = kUserMetadataSize + 1; in TEST_F() 631 mi.user_metadata_size = kUserMetadataSize; in TEST_F()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_surface.cpp | 217 surface_id(), config.user_metadata_size); in OnCreateQueue() 286 surface_id(), config.user_metadata_size); in OnCreateQueue()
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_api.h | 429 user_metadata_size(0), in DvrNativeBufferMetadata() 461 uint64_t user_metadata_size; member
|
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
D | buffer_hub_queue_client.h | 452 int timeout, size_t* slot, void* meta, size_t user_metadata_size,
|