diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-12-22 15:40:08 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-18 10:39:13 +0100 |
commit | 8502d4c52d191a03e866411044e34b1f02183b99 (patch) | |
tree | 6b50b3cdd32f6a57fba9d2baa655ecb1e098b2e3 /src/v4l2/v4l2_camera_proxy.h | |
parent | 1b4997ef08a04bcad205d6708cdb25a88740301c (diff) |
libcamera: camera_sensor: Validate driver support
The CameraSensor class requires the sensor driver to report
information through V4L2 controls and through the V4L2 selection API,
and uses that information to register Camera properties and to
construct CameraSensorInfo class instances to provide them to the IPA.
Currently, validation of the kernel support happens each time a
feature is requested, with slighly similar debug/error messages
output to the user in case a feature is not supported.
Rationalize this by validating the sensor driver requirements in a
single function
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.h')
0 files changed, 0 insertions, 0 deletions