cam: capture_script: Support parsing array controls
Add support for parsing array controls to the cam capture script. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
87f5d12718
commit
b35f04b3c1
2 changed files with 146 additions and 17 deletions
|
@ -56,6 +56,11 @@ private:
|
|||
int parseFrame(EventPtr event);
|
||||
int parseControl(EventPtr event, libcamera::ControlList &controls);
|
||||
|
||||
libcamera::ControlValue parseScalarControl(const libcamera::ControlId *id,
|
||||
const std::string repr);
|
||||
libcamera::ControlValue parseArrayControl(const libcamera::ControlId *id,
|
||||
const std::vector<std::string> &repr);
|
||||
|
||||
std::string parseScalar();
|
||||
libcamera::ControlValue parseRectangles();
|
||||
std::vector<std::vector<std::string>> parseArrays();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue