mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 00:25:07 +03:00
ipa: rpi: Handle controls for mono variant sensors
Do not advertise colour related controls (i.e. [A]WB, colour saturation) in the ControlInfoMap of available controls returned out to the application. Silently ignore these controls in the control handler in case applications don't use the advertised ControlInfoMap to validate controls. As a drive-by fix, don't advertise controls::ColourCorrectionMatrix in the ControlInfoMap as it is not handled by the IPA. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
54340ef70f
commit
a0271e72a8
4 changed files with 45 additions and 6 deletions
|
@ -21,6 +21,7 @@ struct SensorConfig {
|
|||
|
||||
struct InitParams {
|
||||
bool lensPresent;
|
||||
libcamera.IPACameraSensorInfo sensorInfo;
|
||||
};
|
||||
|
||||
struct InitResult {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue