Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer.h12 typedef struct DvrReadBuffer DvrReadBuffer; typedef
32 void dvrReadBufferDestroy(DvrReadBuffer* read_buffer);
35 int dvrReadBufferIsValid(DvrReadBuffer* read_buffer);
38 int dvrReadBufferGetId(DvrReadBuffer* read_buffer);
42 int dvrReadBufferGetAHardwareBuffer(DvrReadBuffer* read_buffer,
Ddvr_api.h39 typedef struct DvrReadBuffer DvrReadBuffer; typedef
54 typedef struct DvrReadBuffer DvrReadBuffer; typedef
153 typedef void (*DvrReadBufferCreateEmptyPtr)(DvrReadBuffer** read_buffer_out);
154 typedef void (*DvrReadBufferDestroyPtr)(DvrReadBuffer* read_buffer);
155 typedef int (*DvrReadBufferIsValidPtr)(DvrReadBuffer* read_buffer);
156 typedef int (*DvrReadBufferClearPtr)(DvrReadBuffer* read_buffer);
157 typedef int (*DvrReadBufferGetIdPtr)(DvrReadBuffer* read_buffer);
159 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer);
160 typedef int (*DvrReadBufferAcquirePtr)(DvrReadBuffer* read_buffer,
163 typedef int (*DvrReadBufferReleasePtr)(DvrReadBuffer* read_buffer,
[all …]
Ddvr_deleter.h14 typedef struct DvrReadBuffer DvrReadBuffer; typedef
25 void dvrReadBufferDestroy(DvrReadBuffer* read_buffer);
47 void operator()(DvrReadBuffer* p) { dvrReadBufferDestroy(p); } in operator()
64 using UniqueDvrReadBuffer = MakeUniqueDvrPointer<DvrReadBuffer>;
Ddvr_tracking.h11 typedef struct DvrReadBuffer DvrReadBuffer; typedef
180 DvrTrackingFeatureExtractor* extractor, DvrReadBuffer* buffer,
Ddvr_buffer_queue.h187 DvrReadBuffer** out_read_buffer,
202 DvrReadBuffer* read_buffer,
239 typedef void (*DvrReadBufferQueueBufferRemovedCallback)(DvrReadBuffer* buffer,
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue_internal.h16 typedef struct DvrReadBuffer DvrReadBuffer; typedef
20 typedef void (*DvrReadBufferQueueBufferRemovedCallback)(DvrReadBuffer* buffer,
77 int Dequeue(int timeout, DvrReadBuffer* read_buffer, int* out_fence_fd,
79 int AcquireBuffer(int timeout, DvrReadBuffer** out_read_buffer,
81 int ReleaseBuffer(DvrReadBuffer* read_buffer,
91 std::array<std::unique_ptr<DvrReadBuffer>, BufferHubQueue::kMaxQueueCapacity>
Ddvr_internal.h11 typedef struct DvrReadBuffer DvrReadBuffer; typedef
38 struct DvrReadBuffer { struct
Ddvr_buffer.cpp73 void dvrReadBufferDestroy(DvrReadBuffer* read_buffer) { in dvrReadBufferDestroy()
84 int dvrReadBufferIsValid(DvrReadBuffer* read_buffer) { in dvrReadBufferIsValid()
88 int dvrReadBufferGetId(DvrReadBuffer* read_buffer) { in dvrReadBufferGetId()
95 int dvrReadBufferGetAHardwareBuffer(DvrReadBuffer* read_buffer, in dvrReadBufferGetAHardwareBuffer()
Ddvr_buffer_queue.cpp342 DvrReadBuffer** out_read_buffer, in AcquireBuffer()
359 read_buffers_[slot] = std::make_unique<DvrReadBuffer>(); in AcquireBuffer()
374 int DvrReadBufferQueue::ReleaseBuffer(DvrReadBuffer* read_buffer, in ReleaseBuffer()
444 auto read_buffer = std::make_unique<DvrReadBuffer>(); in SetBufferRemovedCallback()
492 DvrReadBuffer* read_buffer, int* out_fence_fd, in dvrReadBufferQueueDequeue()
505 DvrReadBuffer** out_read_buffer, in dvrReadBufferQueueAcquireBuffer()
516 DvrReadBuffer* read_buffer, in dvrReadBufferQueueReleaseBuffer()
Ddvr_tracking.cpp53 DvrReadBuffer*, in dvrTrackingFeatureExtractorProcessBuffer() argument
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_buffer_queue-test.cpp40 static void BufferRemovedCallback(DvrReadBuffer* buffer, void* context) { in BufferRemovedCallback()
59 void HandleBufferRemoved(DvrReadBuffer* buffer) { in HandleBufferRemoved()
155 DvrReadBuffer* rb = nullptr; in TEST_F()
392 std::array<DvrReadBuffer*, kQueueCapacity> rbs; in TEST_F()
535 DvrReadBuffer* rb = nullptr; in TEST_F()
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp372 DvrReadBuffer* buffer = nullptr; in HandleBufferAvailable()