Home
last modified time | relevance | path

Searched refs:BufferProducer (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_client.cpp170 BufferProducer::BufferProducer(uint32_t width, uint32_t height, uint32_t format, in BufferProducer() function in android::dvr::BufferProducer
172 : BufferProducer(width, height, format, usage, usage, metadata_size) {} in BufferProducer()
174 BufferProducer::BufferProducer(uint32_t width, uint32_t height, uint32_t format, in BufferProducer() function in android::dvr::BufferProducer
206 BufferProducer::BufferProducer(const std::string& name, int user_id, in BufferProducer() function in android::dvr::BufferProducer
210 : BufferProducer(name, user_id, group_id, width, height, format, usage, in BufferProducer()
213 BufferProducer::BufferProducer(const std::string& name, int user_id, in BufferProducer() function in android::dvr::BufferProducer
249 BufferProducer::BufferProducer(uint32_t usage, size_t size) in BufferProducer() function in android::dvr::BufferProducer
250 : BufferProducer(usage, usage, size) {} in BufferProducer()
252 BufferProducer::BufferProducer(uint64_t producer_usage, uint64_t consumer_usage, in BufferProducer() function in android::dvr::BufferProducer
285 BufferProducer::BufferProducer(const std::string& name, int user_id, in BufferProducer() function in android::dvr::BufferProducer
[all …]
Dbufferhub_tests.cpp16 using android::dvr::BufferProducer;
29 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
70 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
96 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
113 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
129 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
144 std::unique_ptr<BufferProducer> p = in TEST_F()
145 BufferProducer::Create(kWidth, kHeight, kFormat, kUsage); in TEST_F()
158 std::unique_ptr<BufferProducer> p = in TEST_F()
159 BufferProducer::Create(kWidth, kHeight, kFormat, kUsage); in TEST_F()
[all …]
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_client.h132 class BufferProducer : public pdx::ClientBase<BufferProducer, BufferHubBuffer> {
135 static std::unique_ptr<BufferProducer> Import(LocalChannelHandle channel);
136 static std::unique_ptr<BufferProducer> Import(
195 BufferProducer(uint32_t width, uint32_t height, uint32_t format,
197 BufferProducer(uint32_t width, uint32_t height, uint32_t format,
213 BufferProducer(const std::string& name, int user_id, int group_id,
216 BufferProducer(const std::string& name, int user_id, int group_id,
222 BufferProducer(uint32_t usage, size_t size);
223 BufferProducer(uint64_t producer_usage, uint64_t consumer_usage, size_t size);
226 BufferProducer(const std::string& name, int user_id, int group_id,
[all …]
Dnative_buffer.h63 NativeBufferProducer(const std::shared_ptr<BufferProducer>& buffer, in NativeBufferProducer()
77 explicit NativeBufferProducer(const std::shared_ptr<BufferProducer>& buffer) in NativeBufferProducer()
88 std::shared_ptr<BufferProducer> buffer() const { return buffer_; } in buffer()
113 std::shared_ptr<BufferProducer> buffer_;
/frameworks/native/libs/vr/libdvr/
Ddvr_internal.h21 class BufferProducer; variable
33 const std::shared_ptr<BufferProducer>& buffer_producer);
48 std::shared_ptr<android::dvr::BufferProducer> write_buffer;
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h329 std::shared_ptr<BufferProducer> GetBuffer(size_t slot) const { in GetBuffer()
330 return std::static_pointer_cast<BufferProducer>( in GetBuffer()
344 int AddBuffer(const std::shared_ptr<BufferProducer>& buf, size_t slot);
354 pdx::Status<std::shared_ptr<BufferProducer>> Dequeue(
Dbuffer_hub_queue_producer.h171 std::shared_ptr<BufferProducer> mBufferProducer;
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp428 return AddBuffer(BufferProducer::Import(std::move(buffer_handle)), in AllocateBuffer()
432 int ProducerQueue::AddBuffer(const std::shared_ptr<BufferProducer>& buf, in AddBuffer()
458 Status<std::shared_ptr<BufferProducer>> ProducerQueue::Dequeue( in Dequeue()
471 return {std::static_pointer_cast<BufferProducer>(buffer_status.take())}; in Dequeue()
478 auto buffer = std::static_pointer_cast<BufferProducer>(buf); in OnBufferReady()
Dbuffer_hub_queue_producer.cpp156 std::shared_ptr<BufferProducer> buffer_producer; in dequeueBuffer()