Home
last modified time | relevance | path

Searched refs:ConsumerBuffer (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dconsumer_buffer.cpp10 ConsumerBuffer::ConsumerBuffer(LocalChannelHandle channel) in ConsumerBuffer() function in android::dvr::ConsumerBuffer
20 std::unique_ptr<ConsumerBuffer> ConsumerBuffer::Import( in Import()
24 return ConsumerBuffer::Create(std::move(channel)); in Import()
27 std::unique_ptr<ConsumerBuffer> ConsumerBuffer::Import( in Import()
33 int ConsumerBuffer::LocalAcquire(DvrNativeBufferMetadata* out_meta, in LocalAcquire()
94 int ConsumerBuffer::Acquire(LocalHandle* ready_fence) { in Acquire()
98 int ConsumerBuffer::Acquire(LocalHandle* ready_fence, void* meta, in Acquire()
125 int ConsumerBuffer::AcquireAsync(DvrNativeBufferMetadata* out_meta, in AcquireAsync()
138 int ConsumerBuffer::LocalRelease(const DvrNativeBufferMetadata* meta, in LocalRelease()
183 int ConsumerBuffer::Release(const LocalHandle& release_fence) { in Release()
[all …]
Dbuffer_hub-test.cpp30 using android::dvr::ConsumerBuffer;
60 std::unique_ptr<ConsumerBuffer> c1 = in TEST_F()
61 ConsumerBuffer::Import(p->CreateConsumer()); in TEST_F()
64 std::unique_ptr<ConsumerBuffer> c2 = in TEST_F()
65 ConsumerBuffer::Import(c1->CreateConsumer()); in TEST_F()
110 std::unique_ptr<ConsumerBuffer> c = in TEST_F()
111 ConsumerBuffer::Import(p->CreateConsumer()); in TEST_F()
181 std::array<std::unique_ptr<ConsumerBuffer>, kMaxConsumerCount> cs; in TEST_F()
183 cs[i] = ConsumerBuffer::Import(p->CreateConsumer()); in TEST_F()
199 cs[i] = ConsumerBuffer::Import(p->CreateConsumer()); in TEST_F()
[all …]
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dconsumer_buffer.h15 class ConsumerBuffer : public pdx::ClientBase<ConsumerBuffer, BufferHubBase> {
18 static std::unique_ptr<ConsumerBuffer> Import(LocalChannelHandle channel);
19 static std::unique_ptr<ConsumerBuffer> Import(
62 explicit ConsumerBuffer(LocalChannelHandle channel);
/frameworks/native/libs/vr/libvrflinger/
Dacquired_buffer.h23 AcquiredBuffer(const std::shared_ptr<ConsumerBuffer>& buffer,
31 AcquiredBuffer(const std::shared_ptr<ConsumerBuffer>& buffer, int* error);
47 std::shared_ptr<ConsumerBuffer> buffer() const { return buffer_; } in buffer()
61 std::shared_ptr<ConsumerBuffer> ClaimBuffer();
74 std::shared_ptr<ConsumerBuffer> buffer_;
Dacquired_buffer.cpp11 AcquiredBuffer::AcquiredBuffer(const std::shared_ptr<ConsumerBuffer>& buffer, in AcquiredBuffer()
15 AcquiredBuffer::AcquiredBuffer(const std::shared_ptr<ConsumerBuffer>& buffer, in AcquiredBuffer()
78 std::shared_ptr<ConsumerBuffer> AcquiredBuffer::ClaimBuffer() { in ClaimBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h419 std::shared_ptr<ConsumerBuffer> GetBuffer(size_t slot) const { in GetBuffer()
420 return std::static_pointer_cast<ConsumerBuffer>( in GetBuffer()
442 pdx::Status<std::shared_ptr<ConsumerBuffer>> Dequeue( in Dequeue()
446 pdx::Status<std::shared_ptr<ConsumerBuffer>> Dequeue( in Dequeue()
451 pdx::Status<std::shared_ptr<ConsumerBuffer>> Dequeue(
454 pdx::Status<std::shared_ptr<ConsumerBuffer>> Dequeue(
467 pdx::Status<void> AddBuffer(const std::shared_ptr<ConsumerBuffer>& buffer,
/frameworks/native/libs/vr/libdvr/
Ddvr_internal.h44 std::shared_ptr<android::dvr::ConsumerBuffer> read_buffer;
Ddvr_buffer_queue.cpp12 using android::dvr::ConsumerBuffer;
446 std::static_pointer_cast<ConsumerBuffer>(buffer); in SetBufferRemovedCallback()
Ddvr_display_manager.cpp13 using android::dvr::ConsumerBuffer;
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp721 std::unique_ptr<ConsumerBuffer> consumer_buffer = in ImportBuffers()
722 ConsumerBuffer::Import(std::move(buffer_handle_slot.first)); in ImportBuffers()
748 const std::shared_ptr<ConsumerBuffer>& buffer, size_t slot) { in AddBuffer()
754 Status<std::shared_ptr<ConsumerBuffer>> ConsumerQueue::Dequeue( in Dequeue()
783 Status<std::shared_ptr<ConsumerBuffer>> ConsumerQueue::Dequeue( in Dequeue()
796 auto buffer = std::static_pointer_cast<ConsumerBuffer>(status.take()); in Dequeue()
/frameworks/native/libs/vr/libvrsensor/
Dpose_client.cpp224 auto buffer = ConsumerBuffer::Import(status.take()); in GetControllerRingBuffer()
293 std::unique_ptr<ConsumerBuffer> pose_buffer;
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp851 pdx::Status<std::shared_ptr<ConsumerBuffer>> consumer_status; in TEST_F()
853 std::shared_ptr<ConsumerBuffer> consumer_buffer; in TEST_F()