summaryrefslogtreecommitdiff
path: root/include/android/system
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-12-22 15:40:08 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-01-18 10:39:13 +0100
commit8502d4c52d191a03e866411044e34b1f02183b99 (patch)
tree6b50b3cdd32f6a57fba9d2baa655ecb1e098b2e3 /include/android/system
parent1b4997ef08a04bcad205d6708cdb25a88740301c (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 'include/android/system')
0 files changed, 0 insertions, 0 deletions