Home
last modified time | relevance | path

Searched refs:BufferHubBuffer (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_client.h34 class BufferHubBuffer : public pdx::Client {
133 explicit BufferHubBuffer(LocalChannelHandle channel);
134 explicit BufferHubBuffer(const std::string& endpoint_path);
135 virtual ~BufferHubBuffer();
166 BufferHubBuffer(const BufferHubBuffer&) = delete;
167 void operator=(const BufferHubBuffer&) = delete;
189 class BufferProducer : public pdx::ClientBase<BufferProducer, BufferHubBuffer> {
272 class BufferConsumer : public pdx::ClientBase<BufferConsumer, BufferHubBuffer> {
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_client.cpp42 BufferHubBuffer::BufferHubBuffer(LocalChannelHandle channel_handle) in BufferHubBuffer() function in android::dvr::BufferHubBuffer
46 BufferHubBuffer::BufferHubBuffer(const std::string& endpoint_path) in BufferHubBuffer() function in android::dvr::BufferHubBuffer
51 BufferHubBuffer::~BufferHubBuffer() { in ~BufferHubBuffer()
57 Status<LocalChannelHandle> BufferHubBuffer::CreateConsumer() { in CreateConsumer()
66 int BufferHubBuffer::ImportBuffer() { in ImportBuffer()
156 inline int BufferHubBuffer::CheckMetadata(size_t user_metadata_size) const { in CheckMetadata()
169 int BufferHubBuffer::UpdateSharedFence(const LocalHandle& new_fence, in UpdateSharedFence()
212 int BufferHubBuffer::Poll(int timeout_ms) { in Poll()
218 int BufferHubBuffer::Lock(int usage, int x, int y, int width, int height, in Lock()
223 int BufferHubBuffer::Unlock() { return buffer_.Unlock(); } in Unlock()
[all …]
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h40 std::function<void(const std::shared_ptr<BufferHubBuffer>&)>;
96 std::shared_ptr<BufferHubBuffer> GetBuffer(size_t slot) const { in GetBuffer()
145 pdx::Status<void> AddBuffer(const std::shared_ptr<BufferHubBuffer>& buffer,
161 pdx::Status<std::shared_ptr<BufferHubBuffer>> Dequeue(int timeout,
175 Entry(const std::shared_ptr<BufferHubBuffer>& in_buffer, size_t in_slot, in Entry()
178 Entry(const std::shared_ptr<BufferHubBuffer>& in_buffer, in Entry()
188 std::shared_ptr<BufferHubBuffer> buffer;
253 std::array<std::shared_ptr<BufferHubBuffer>, kMaxQueueCapacity> buffers_;
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp281 const std::shared_ptr<BufferHubBuffer>& buffer, size_t slot) { in AddBuffer()
359 Status<std::shared_ptr<BufferHubBuffer>> BufferHubQueue::Dequeue(int timeout, in Dequeue()
375 std::shared_ptr<BufferHubBuffer> buffer = std::move(entry.buffer); in Dequeue()
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp12 using android::dvr::BufferHubBuffer;
442 [callback, context](const std::shared_ptr<BufferHubBuffer>& buffer) { in SetBufferRemovedCallback()