diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-06-12 17:30:21 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-06-25 14:01:35 +0200 |
commit | 030ce6491ed3d4c827a6ef4aa5c7e706867ded7b (patch) | |
tree | 247906891903410e3ec587329b330e27d4721700 /src/cam/event_loop.cpp | |
parent | bab8b01895bbbd2fd96af635cdfa8d62ae2d0e5f (diff) |
libcamera: v4l2_device: List valid controls at open
Enumerate all the valid controls a device supports at open() time.
A control is valid only if its type is supported.
Store the control information in a map inside the device to save
querying the control when setting or getting its value from the device
and provide an operation to retrieve information by control ID.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam/event_loop.cpp')
0 files changed, 0 insertions, 0 deletions