mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
ipa: raspberrypi: Correct some of the ControlInfo ranges and defaults
Some of the values were listed incorrectly. Specifically: ExposureValue: the range is now centred correctly on zero Brightness: the default value (0.0) is made explicit Contrast: the default value is corrected to be 1.0 Saturation: the default value is corrected to be 1.0 Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
a2aa1b4c4e
commit
8dc2699bb8
1 changed files with 4 additions and 4 deletions
|
@ -34,13 +34,13 @@ static const ControlInfoMap Controls({
|
|||
{ &controls::AeMeteringMode, ControlInfo(controls::AeMeteringModeValues) },
|
||||
{ &controls::AeConstraintMode, ControlInfo(controls::AeConstraintModeValues) },
|
||||
{ &controls::AeExposureMode, ControlInfo(controls::AeExposureModeValues) },
|
||||
{ &controls::ExposureValue, ControlInfo(0.0f, 16.0f) },
|
||||
{ &controls::ExposureValue, ControlInfo(-8.0f, 8.0f, 0.0f) },
|
||||
{ &controls::AwbEnable, ControlInfo(false, true) },
|
||||
{ &controls::ColourGains, ControlInfo(0.0f, 32.0f) },
|
||||
{ &controls::AwbMode, ControlInfo(controls::AwbModeValues) },
|
||||
{ &controls::Brightness, ControlInfo(-1.0f, 1.0f) },
|
||||
{ &controls::Contrast, ControlInfo(0.0f, 32.0f) },
|
||||
{ &controls::Saturation, ControlInfo(0.0f, 32.0f) },
|
||||
{ &controls::Brightness, ControlInfo(-1.0f, 1.0f, 0.0f) },
|
||||
{ &controls::Contrast, ControlInfo(0.0f, 32.0f, 1.0f) },
|
||||
{ &controls::Saturation, ControlInfo(0.0f, 32.0f, 1.0f) },
|
||||
{ &controls::Sharpness, ControlInfo(0.0f, 16.0f, 1.0f) },
|
||||
{ &controls::ColourCorrectionMatrix, ControlInfo(-16.0f, 16.0f) },
|
||||
{ &controls::ScalerCrop, ControlInfo(Rectangle{}, Rectangle(65535, 65535, 65535, 65535), Rectangle{}) },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue