Home
last modified time | relevance | path

Searched refs:BufferHubBase (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp17 BufferHubBase::BufferHubBase(LocalChannelHandle channel_handle) in BufferHubBase() function in android::dvr::BufferHubBase
22 BufferHubBase::BufferHubBase(const std::string& endpoint_path) in BufferHubBase() function in android::dvr::BufferHubBase
28 BufferHubBase::~BufferHubBase() { in ~BufferHubBase()
36 Status<LocalChannelHandle> BufferHubBase::CreateConsumer() { in CreateConsumer()
45 int BufferHubBase::ImportBuffer() { in ImportBuffer()
143 int BufferHubBase::CheckMetadata(size_t user_metadata_size) const { in CheckMetadata()
156 int BufferHubBase::UpdateSharedFence(const LocalHandle& new_fence, in UpdateSharedFence()
199 int BufferHubBase::Lock(int usage, int x, int y, int width, int height, in Lock()
204 int BufferHubBase::Unlock() { return buffer_.Unlock(); } in Unlock()
206 int BufferHubBase::GetBlobReadWritePointer(size_t size, void** addr) { in GetBlobReadWritePointer()
Dbuffer_hub-test.cpp47 template <class BufferHubBase>
48 int PollBufferEvent(const std::unique_ptr<BufferHubBase>& buffer, in PollBufferEvent()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_base.h13 class BufferHubBase : public pdx::Client {
104 explicit BufferHubBase(LocalChannelHandle channel);
105 explicit BufferHubBase(const std::string& endpoint_path);
106 virtual ~BufferHubBase();
148 BufferHubBase(const BufferHubBase&) = delete;
149 void operator=(const BufferHubBase&) = delete;
Dconsumer_buffer.h15 class ConsumerBuffer : public pdx::ClientBase<ConsumerBuffer, BufferHubBase> {
Dproducer_buffer.h20 class ProducerBuffer : public pdx::ClientBase<ProducerBuffer, BufferHubBase> {
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h41 std::function<void(const std::shared_ptr<BufferHubBase>&)>;
97 std::shared_ptr<BufferHubBase> GetBuffer(size_t slot) const { in GetBuffer()
146 pdx::Status<void> AddBuffer(const std::shared_ptr<BufferHubBase>& buffer,
162 pdx::Status<std::shared_ptr<BufferHubBase>> Dequeue(int timeout,
176 Entry(const std::shared_ptr<BufferHubBase>& in_buffer, size_t in_slot, in Entry()
179 Entry(const std::shared_ptr<BufferHubBase>& in_buffer, in Entry()
189 std::shared_ptr<BufferHubBase> buffer;
262 std::array<std::shared_ptr<BufferHubBase>, kMaxQueueCapacity> buffers_;
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp278 const std::shared_ptr<BufferHubBase>& buffer, size_t slot) { in AddBuffer()
362 Status<std::shared_ptr<BufferHubBase>> BufferHubQueue::Dequeue(int timeout, in Dequeue()
377 std::shared_ptr<BufferHubBase> buffer = std::move(entry.buffer); in Dequeue()
595 Status<std::shared_ptr<BufferHubBase>> dequeue_status = in Dequeue()
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp11 using android::dvr::BufferHubBase;
442 [callback, context](const std::shared_ptr<BufferHubBase>& buffer) { in SetBufferRemovedCallback()