diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-10-08 02:45:29 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-10-10 21:39:53 +0300 |
commit | f3022d91dca4a32e8faa3759e4b113a928602ba2 (patch) | |
tree | d84f74f4a442daa5221f2e73740e15d48809026b /include | |
parent | abee318ce8e74fd06f2861b514d568ec3a3348c0 (diff) |
libcamera: request: Add metadata information
A new ControlList container is needed to hold metadata coming out of
the IPA. The list of supported controls in this list is expected to
grow, so for now do not add a validator for the list.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/request.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/request.h b/include/libcamera/request.h index e3db5243..2d5a5964 100644 --- a/include/libcamera/request.h +++ b/include/libcamera/request.h @@ -37,6 +37,7 @@ public: ~Request(); ControlList &controls() { return *controls_; } + ControlList &metadata() { return *metadata_; } const std::map<Stream *, Buffer *> &buffers() const { return bufferMap_; } int addBuffer(std::unique_ptr<Buffer> buffer); Buffer *findBuffer(Stream *stream) const; @@ -58,6 +59,7 @@ private: Camera *camera_; CameraControlValidator *validator_; ControlList *controls_; + ControlList *metadata_; std::map<Stream *, Buffer *> bufferMap_; std::unordered_set<Buffer *> pending_; |