diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-02 12:18:17 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-18 10:39:13 +0100 |
commit | 8deb7e4331c3616e15c7f40625ac623e1ccd5551 (patch) | |
tree | 487c0f6c03079d1f07c750953398e0b02bc001a0 /test/hotplug-cameras.cpp | |
parent | 125ee6ddd6136b76aa8ea4652fb2ccba79923475 (diff) |
libcamera: camera_sensor: Default analogue crop rectangle
As support for the V4L2_SEL_TGT_CROP selection target used to read the
sensor analogue crop rectangle is schedule to become mandatory but is
still optional, use the sensor's active area size as fallback value to
allow the creation of the CameraSensorInfo in the case the driver does
not support it.
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/hotplug-cameras.cpp')
0 files changed, 0 insertions, 0 deletions