Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp24 using android::dvr::BufferConsumer;
54 std::unique_ptr<BufferConsumer> c = in TEST_F()
55 BufferConsumer::Import(p->CreateConsumer()); in TEST_F()
58 std::unique_ptr<BufferConsumer> c2 = in TEST_F()
59 BufferConsumer::Import(c->CreateConsumer()); in TEST_F()
116 std::unique_ptr<BufferConsumer> c = in TEST_F()
117 BufferConsumer::Import(p->CreateConsumer()); in TEST_F()
186 std::array<std::unique_ptr<BufferConsumer>, kMaxConsumerCount> cs; in TEST_F()
188 cs[i] = BufferConsumer::Import(p->CreateConsumer()); in TEST_F()
204 cs[i] = BufferConsumer::Import(p->CreateConsumer()); in TEST_F()
[all …]
Dbuffer_hub_client.cpp245 BufferConsumer::BufferConsumer(LocalChannelHandle channel) in BufferConsumer() function in android::dvr::BufferConsumer
255 std::unique_ptr<BufferConsumer> BufferConsumer::Import( in Import()
259 return BufferConsumer::Create(std::move(channel)); in Import()
262 std::unique_ptr<BufferConsumer> BufferConsumer::Import( in Import()
268 int BufferConsumer::LocalAcquire(DvrNativeBufferMetadata* out_meta, in LocalAcquire()
306 int BufferConsumer::Acquire(LocalHandle* ready_fence) { in Acquire()
310 int BufferConsumer::Acquire(LocalHandle* ready_fence, void* meta, in Acquire()
337 int BufferConsumer::AcquireAsync(DvrNativeBufferMetadata* out_meta, in AcquireAsync()
350 int BufferConsumer::LocalRelease(const DvrNativeBufferMetadata* meta, in LocalRelease()
383 int BufferConsumer::Release(const LocalHandle& release_fence) { in Release()
[all …]
/frameworks/native/libs/vr/libvrflinger/
Dacquired_buffer.h23 AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer,
31 AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer, int* error);
47 std::shared_ptr<BufferConsumer> buffer() const { return buffer_; } in buffer()
61 std::shared_ptr<BufferConsumer> ClaimBuffer();
74 std::shared_ptr<BufferConsumer> buffer_;
Dacquired_buffer.cpp11 AcquiredBuffer::AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer, in AcquiredBuffer()
15 AcquiredBuffer::AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer, in AcquiredBuffer()
78 std::shared_ptr<BufferConsumer> AcquiredBuffer::ClaimBuffer() { in ClaimBuffer()
/frameworks/native/libs/vr/libdvr/
Ddvr_internal.h20 class BufferConsumer; variable
27 const std::shared_ptr<BufferConsumer>& buffer_consumer);
51 std::shared_ptr<android::dvr::BufferConsumer> read_buffer;
Ddvr_buffer_queue.cpp11 using android::dvr::BufferConsumer;
446 std::static_pointer_cast<BufferConsumer>(buffer); in SetBufferRemovedCallback()
Ddvr_display_manager.cpp13 using android::dvr::BufferConsumer;
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h378 std::shared_ptr<BufferConsumer> GetBuffer(size_t slot) const { in GetBuffer()
379 return std::static_pointer_cast<BufferConsumer>( in GetBuffer()
401 pdx::Status<std::shared_ptr<BufferConsumer>> Dequeue( in Dequeue()
405 pdx::Status<std::shared_ptr<BufferConsumer>> Dequeue( in Dequeue()
410 pdx::Status<std::shared_ptr<BufferConsumer>> Dequeue(
413 pdx::Status<std::shared_ptr<BufferConsumer>> Dequeue(
426 pdx::Status<void> AddBuffer(const std::shared_ptr<BufferConsumer>& buffer,
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_client.h272 class BufferConsumer : public pdx::ClientBase<BufferConsumer, BufferHubBuffer> {
275 static std::unique_ptr<BufferConsumer> Import(LocalChannelHandle channel);
276 static std::unique_ptr<BufferConsumer> Import(
336 explicit BufferConsumer(LocalChannelHandle channel);
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp635 std::unique_ptr<BufferConsumer> buffer_consumer = in ImportBuffers()
636 BufferConsumer::Import(std::move(buffer_handle_slot.first)); in ImportBuffers()
662 const std::shared_ptr<BufferConsumer>& buffer, size_t slot) { in AddBuffer()
668 Status<std::shared_ptr<BufferConsumer>> ConsumerQueue::Dequeue( in Dequeue()
697 Status<std::shared_ptr<BufferConsumer>> ConsumerQueue::Dequeue( in Dequeue()
710 auto buffer = std::static_pointer_cast<BufferConsumer>(status.take()); in Dequeue()
/frameworks/native/libs/vr/libvrsensor/
Dpose_client.cpp224 auto buffer = BufferConsumer::Import(status.take()); in GetControllerRingBuffer()
293 std::unique_ptr<BufferConsumer> pose_buffer;
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp648 pdx::Status<std::shared_ptr<BufferConsumer>> consumer_status; in TEST_F()
650 std::shared_ptr<BufferConsumer> consumer_buffer; in TEST_F()