summaryrefslogtreecommitdiff
path: root/src/android/camera_worker.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-12-09 17:51:57 +0100
committerJacopo Mondi <jacopo@jmondi.org>2020-12-18 17:48:31 +0100
commit3535e0c10424e70df6feb1cbe2003695d61c0dfd (patch)
tree0f1b8daa047674fe592d475aef232577afbfe30d /src/android/camera_worker.h
parentf5e80e609c7cafd36d409692844ecba9741939b5 (diff)
android: camera_device: Report pipeline depth
Report the pipeline depth in the capture results if the pipeline reports it. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/camera_worker.h')
-rw-r--r--src/android/camera_worker.h4
1 files changed, 4 insertions, 0 deletions
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<int> &fences() const { return acquireFences_; }
+ const libcamera::ControlList &metadata() const
+ {
+ return request_->metadata();
+ }
void addBuffer(libcamera::Stream *stream,
libcamera::FrameBuffer *buffer, int fence);