Home
last modified time | relevance | path

Searched refs:user_metadata_size (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dproducer_buffer.cpp11 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 …]
Dconsumer_buffer.cpp77 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()
Dbuffer_hub_base.cpp143 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/
Dproducer_channel.h36 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/
Dproducer_channel.cpp31 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 …]
Dproducer_queue_channel.cpp231 format, usage, config_.user_metadata_size); in AllocateBuffer()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbufferhub_rpc.h209 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));
Dconsumer_buffer.h36 int Acquire(LocalHandle* ready_fence, void* meta, size_t user_metadata_size);
Dproducer_buffer.h37 size_t user_metadata_size);
Dbuffer_hub_base.h112 int CheckMetadata(size_t user_metadata_size) const;
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp94 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/
Ddvr_buffer_queue_internal.h78 void* out_meta, size_t user_metadata_size);
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp587 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/
Ddisplay_surface.cpp217 surface_id(), config.user_metadata_size); in OnCreateQueue()
286 surface_id(), config.user_metadata_size); in OnCreateQueue()
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_api.h429 user_metadata_size(0), in DvrNativeBufferMetadata()
461 uint64_t user_metadata_size; member
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h452 int timeout, size_t* slot, void* meta, size_t user_metadata_size,