summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mader <robert.mader@collabora.com>2022-11-25 16:48:43 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-12-09 16:03:09 +0000
commitd5fc282eff47446475aa730d05513684de2840e4 (patch)
treedf2e428f51e5610ee7bb32344fb14a01bd8c68ce
parent9a913eb9107483fcea01bd0e82c21e3733a5ddb2 (diff)
ipa: rkisp1: Add additional default values to controls
To make things easier for consumers. Related: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1450 Signed-off-by: Robert Mader <robert.mader@collabora.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/ipa/rkisp1/rkisp1.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index 52dffc09..6544c925 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -101,9 +101,9 @@ const ControlInfoMap::Map rkisp1Controls{
{ &controls::AeEnable, ControlInfo(false, true) },
{ &controls::AwbEnable, ControlInfo(false, true) },
{ &controls::ColourGains, ControlInfo(0.0f, 3.996f, 1.0f) },
- { &controls::Brightness, ControlInfo(-1.0f, 0.993f) },
- { &controls::Contrast, ControlInfo(0.0f, 1.993f) },
- { &controls::Saturation, ControlInfo(0.0f, 1.993f) },
+ { &controls::Brightness, ControlInfo(-1.0f, 0.993f, 0.0f) },
+ { &controls::Contrast, ControlInfo(0.0f, 1.993f, 1.0f) },
+ { &controls::Saturation, ControlInfo(0.0f, 1.993f, 1.0f) },
{ &controls::Sharpness, ControlInfo(0.0f, 10.0f, 1.0f) },
{ &controls::draft::NoiseReductionMode, ControlInfo(controls::draft::NoiseReductionModeValues) },
};