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:
committed by
Laurent Pinchart
parent
54340ef70f
commit
a0271e72a8
@@ -21,6 +21,7 @@ struct SensorConfig {
|
||||
|
||||
struct InitParams {
|
||||
bool lensPresent;
|
||||
libcamera.IPACameraSensorInfo sensorInfo;
|
||||
};
|
||||
|
||||
struct InitResult {
|
||||
|
||||
Reference in New Issue
Block a user