diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-10-20 17:05:50 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-10-26 17:51:54 +0100 |
commit | 6377817f9f892e6a4601776de523505c14817527 (patch) | |
tree | b7cc158e4289b3421951055591e5f47c07d89699 /utils/gen-controls.py | |
parent | 84e79bd8b5347d91309cbd759bbd988b5144fb8d (diff) |
libcamera: controls: Construct from valid values
Add a new constructor to the ControlInfo class that allows creating
a class instance from the list of the control valid values with
an optional default one.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'utils/gen-controls.py')
0 files changed, 0 insertions, 0 deletions