diff options
author | Daniel Scally <dan.scally@ideasonboard.com> | 2024-05-02 14:30:40 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-05-08 09:47:07 +0100 |
commit | 6728160b11fd849224f8bc581340cea9876e0c9a (patch) | |
tree | 04010304132560de347382f95fb8b4826748876e /src/apps/qcam/main.cpp | |
parent | 76e2db61ee15a78c0be95a563ef74c9e2493fa84 (diff) |
libcamera: controls: Generate enum value-name maps
Generate maps for each control enum which associate strings that
represent the enum values with the values themselves. This change
will allow us to refer to enumerated control values using the
string. For example if we want to pass variables to an algorithm
for use when a control has a particular value we can embed within
tuning files a dictionary that uses the control values as keys.
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/main.cpp')
0 files changed, 0 insertions, 0 deletions