Home
last modified time | relevance | path

Searched refs:metadata_header_ (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_client.cpp52 if (metadata_header_ != nullptr) { in ~BufferHubBuffer()
128 metadata_header_ = in ImportBuffer()
144 buffer_state_ = &metadata_header_->buffer_state; in ImportBuffer()
148 fence_state_ = &metadata_header_->fence_state; in ImportBuffer()
285 void* metadata_ptr = reinterpret_cast<void*>(&metadata_header_->metadata); in LocalAcquire()
498 void* metadata_ptr = reinterpret_cast<void*>(&metadata_header_->metadata); in LocalPost()
567 if (metadata_header_->metadata.user_metadata_size && user_metadata_ptr_) { in LocalGain()
569 metadata_header_->metadata.user_metadata_size; in LocalGain()
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp101 metadata_header_ = in InitializeBuffer()
107 new (&metadata_header_->buffer_state) std::atomic<uint64_t>(0); in InitializeBuffer()
109 new (&metadata_header_->fence_state) std::atomic<uint64_t>(0); in InitializeBuffer()
189 signaled_mask, metadata_header_->queue_index); in GetBufferInfo()
501 metadata_header_->queue_index); in OnConsumerRelease()
549 buffer_id(), consumer_state_bit, metadata_header_->queue_index, in OnConsumerOrphaned()
Dproducer_channel.h80 BufferHubDefs::MetadataHeader* metadata_header_ = nullptr; variable
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_client.h129 uint64_t GetQueueIndex() const { return metadata_header_->queue_index; } in GetQueueIndex()
130 void SetQueueIndex(uint64_t index) { metadata_header_->queue_index = index; } in SetQueueIndex()
153 BufferHubDefs::MetadataHeader* metadata_header_{nullptr};