diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2024-10-10 17:52:59 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2024-11-25 22:28:26 +0900 |
commit | ea7f6faefe935ba09eb73963caff225f72adbbfc (patch) | |
tree | 4008ef59c40ab28154d17efbca5afe3a5d734717 /test/media_device/media_device_link_test.cpp | |
parent | 357dbc9f0e6d0e26f27553c2955cf580bc030394 (diff) |
py: Add bindings for ControlId array information
Add python bindings for querying whether or not a ControlId is an array
type, and the size.
Example usage:
>>> cid
libcamera.ControlId(28, FrameDurationLimits[2], ControlType.Integer64)
>>> cid.isArray
True
>>> cid.size
2
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/media_device/media_device_link_test.cpp')
0 files changed, 0 insertions, 0 deletions