Home
last modified time | relevance | path

Searched refs:ProducerBuffer (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dproducer_buffer.cpp10 ProducerBuffer::ProducerBuffer(uint32_t width, uint32_t height, uint32_t format, in ProducerBuffer() function in android::dvr::ProducerBuffer
38 ProducerBuffer::ProducerBuffer(uint64_t usage, size_t size) in ProducerBuffer() function in android::dvr::ProducerBuffer
66 ProducerBuffer::ProducerBuffer(LocalChannelHandle channel) in ProducerBuffer() function in android::dvr::ProducerBuffer
77 int ProducerBuffer::LocalPost(const DvrNativeBufferMetadata* meta, in LocalPost()
126 int ProducerBuffer::Post(const LocalHandle& ready_fence, const void* meta, in Post()
142 int ProducerBuffer::PostAsync(const DvrNativeBufferMetadata* meta, in PostAsync()
152 int ProducerBuffer::LocalGain(DvrNativeBufferMetadata* out_meta, in LocalGain()
228 int ProducerBuffer::Gain(LocalHandle* release_fence, bool gain_posted_buffer) { in Gain()
241 int ProducerBuffer::GainAsync(DvrNativeBufferMetadata* out_meta, in GainAsync()
252 int ProducerBuffer::GainAsync() { in GainAsync()
[all …]
Dbuffer_hub-test.cpp31 using android::dvr::ProducerBuffer;
57 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
107 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
175 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
208 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
252 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
315 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
324 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
341 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
360 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
[all …]
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dproducer_buffer.h20 class ProducerBuffer : public pdx::ClientBase<ProducerBuffer, BufferHubBase> {
23 static std::unique_ptr<ProducerBuffer> Import(LocalChannelHandle channel);
24 static std::unique_ptr<ProducerBuffer> Import(
84 ProducerBuffer(uint32_t width, uint32_t height, uint32_t format,
88 ProducerBuffer(uint64_t usage, size_t size);
91 explicit ProducerBuffer(LocalChannelHandle channel);
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h314 std::shared_ptr<ProducerBuffer> GetBuffer(size_t slot) const { in GetBuffer()
315 return std::static_pointer_cast<ProducerBuffer>( in GetBuffer()
336 pdx::Status<void> AddBuffer(const std::shared_ptr<ProducerBuffer>& buffer,
344 const std::shared_ptr<ProducerBuffer>& buffer);
358 pdx::Status<std::shared_ptr<ProducerBuffer>> Dequeue(
378 pdx::Status<std::shared_ptr<ProducerBuffer>> Dequeue(
383 pdx::Status<void> Enqueue(const std::shared_ptr<ProducerBuffer>& buffer, in Enqueue()
409 pdx::Status<std::shared_ptr<ProducerBuffer>> DequeueUnacquiredBuffer(
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp483 if (AddBuffer(ProducerBuffer::Import(std::move(buffer_handle)), in AllocateBuffers()
520 const std::shared_ptr<ProducerBuffer>& buffer, size_t slot) { in AddBuffer()
533 const std::shared_ptr<ProducerBuffer>& buffer) { in InsertBuffer()
579 Status<std::shared_ptr<ProducerBuffer>> ProducerQueue::Dequeue( in Dequeue()
585 pdx::Status<std::shared_ptr<ProducerBuffer>> ProducerQueue::Dequeue( in Dequeue()
594 std::shared_ptr<ProducerBuffer> buffer; in Dequeue()
598 buffer = std::static_pointer_cast<ProducerBuffer>(dequeue_status.take()); in Dequeue()
601 Status<std::shared_ptr<ProducerBuffer>> dequeue_unacquired_status = in Dequeue()
621 Status<std::shared_ptr<ProducerBuffer>> ProducerQueue::DequeueUnacquiredBuffer( in DequeueUnacquiredBuffer()
635 std::shared_ptr<ProducerBuffer> buffer = ProducerQueue::GetBuffer(*iter); in DequeueUnacquiredBuffer()
/frameworks/native/libs/vr/libdvr/
Ddvr_internal.h35 std::shared_ptr<android::dvr::ProducerBuffer> write_buffer;
Ddvr_buffer_queue.cpp14 using android::dvr::ProducerBuffer;
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp335 std::shared_ptr<ProducerBuffer> p1 = ProducerBuffer::Create( in TEST_F()
348 std::shared_ptr<ProducerBuffer> p2 = ProducerBuffer::Create( in TEST_F()
385 std::shared_ptr<ProducerBuffer> buffer; in TEST_F()
852 pdx::Status<std::shared_ptr<ProducerBuffer>> producer_status; in TEST_F()
854 std::shared_ptr<ProducerBuffer> producer_buffer; in TEST_F()
997 std::shared_ptr<ProducerBuffer> p1 = s3.take(); in TEST_F()
1064 std::shared_ptr<ProducerBuffer> p1 = s2.take(); in TEST_F()
/frameworks/native/libs/gui/
DBufferHubProducer.cpp160 std::shared_ptr<ProducerBuffer> producer_buffer; in dequeueBuffer()
251 std::shared_ptr<ProducerBuffer> producer_buffer = queue_->GetBuffer(slot); in DetachBufferLocked()
318 std::shared_ptr<ProducerBuffer> producer_buffer = status_or_buffer.take(); in detachNextBuffer()
/frameworks/native/libs/gui/include/gui/
DBufferHubProducer.h209 std::shared_ptr<dvr::ProducerBuffer> mProducerBuffer;