From 3535e0c10424e70df6feb1cbe2003695d61c0dfd Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Wed, 9 Dec 2020 17:51:57 +0100 Subject: android: camera_device: Report pipeline depth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Report the pipeline depth in the capture results if the pipeline reports it. Reviewed-by: Niklas Söderlund Reviewed-by: Kieran Bingham Signed-off-by: Jacopo Mondi --- src/android/camera_worker.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/android/camera_worker.h') diff --git a/src/android/camera_worker.h b/src/android/camera_worker.h index fff50217..847a2fc4 100644 --- a/src/android/camera_worker.h +++ b/src/android/camera_worker.h @@ -25,6 +25,10 @@ public: CaptureRequest(libcamera::Camera *camera, uint64_t cookie); const std::vector &fences() const { return acquireFences_; } + const libcamera::ControlList &metadata() const + { + return request_->metadata(); + } void addBuffer(libcamera::Stream *stream, libcamera::FrameBuffer *buffer, int fence); -- cgit v1.2.1