diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-12-30 17:02:36 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-18 10:39:13 +0100 |
commit | 125ee6ddd6136b76aa8ea4652fb2ccba79923475 (patch) | |
tree | 4f9f4eb3125a0d32eddb16332ccfc5546d38cedb /src/cam/options.h | |
parent | 8502d4c52d191a03e866411044e34b1f02183b99 (diff) |
libcamera: camera_sensor: Provide fall-back for sensor properties
Support for the V4L2 selection API is currently optional in the
CameraSensor class. Properties registered by using values read through
that API are defaulted in several different places (the Android camera
HAL or the CameraSensor class).
In the future support for the selection API will be made mandatory, but to
give time to sensor drivers in all test platforms to be updated, use
sensor resolution as fallback values for sensor pixel array properties
and cache them as class member variables.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/options.h')
0 files changed, 0 insertions, 0 deletions