Searched refs:ConsumerBuffer (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/libs/vr/libbufferhub/ |
D | consumer_buffer.cpp | 10 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 …]
|
D | buffer_hub-test.cpp | 30 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/ |
D | consumer_buffer.h | 15 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/ |
D | acquired_buffer.h | 23 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_;
|
D | acquired_buffer.cpp | 11 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/ |
D | buffer_hub_queue_client.h | 419 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/ |
D | dvr_internal.h | 44 std::shared_ptr<android::dvr::ConsumerBuffer> read_buffer;
|
D | dvr_buffer_queue.cpp | 12 using android::dvr::ConsumerBuffer; 446 std::static_pointer_cast<ConsumerBuffer>(buffer); in SetBufferRemovedCallback()
|
D | dvr_display_manager.cpp | 13 using android::dvr::ConsumerBuffer;
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 721 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/ |
D | pose_client.cpp | 224 auto buffer = ConsumerBuffer::Import(status.take()); in GetControllerRingBuffer() 293 std::unique_ptr<ConsumerBuffer> pose_buffer;
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue-test.cpp | 851 pdx::Status<std::shared_ptr<ConsumerBuffer>> consumer_status; in TEST_F() 853 std::shared_ptr<ConsumerBuffer> consumer_buffer; in TEST_F()
|