controls::ExposureTime is of type ControlTypeInteger32, but the
default ControlInfoMap casts a value to int64_t causing incorrect
initialisation of the associated ControlInfo.
Fix this by casting correctly to int32_t.
Fixes: bea2db5e61 ("ipa: rpi: Apply default ControlInfo values for sensor controls")
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
.. SPDX-License-Identifier: BSD-2-Clause
libcamera for the Raspberry Pi
Raspberry Pi provides a fully featured pipeline handler and control algorithms (IPAs, or "Image Processing Algorithms") to work with libcamera. Support is included for all existing Raspberry Pi camera modules.
libcamera for the Raspberry Pi allows users to:
- Use their existing Raspberry Pi cameras.
- Change the tuning of the image processing for their Raspberry Pi cameras.
- Alter or amend the control algorithms (such as AGC/AEC, AWB or any others) that control the sensor and ISP.
- Implement their own custom control algorithms.
- Supply new tunings and/or algorithms for completely new sensors.
How to install and run libcamera on the Raspberry Pi
Please follow the instructions here.
Documentation
Full documentation for the Raspberry Pi Camera Algorithm and Tuning Guide can be found here.