summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2023-04-11 10:47:57 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-04-12 12:00:43 +0300
commit98fc381c68a372b78260b2940411a64ea9e5011c (patch)
tree1556a8259043a56014e16a3fc7bfe215b41e4c03 /src/ipa
parentc1cc37b2eeea33cbc0bdd1fe0d3ce57d2f321a85 (diff)
ipa: raspberrypi: agc: Add "shadows" constraint mode
The "shadows" constraint mode actually exists in a number of tuning files, but had been omitted from the list of supported modes. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index 9f3f3ac3..9c29fa9a 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -778,6 +778,7 @@ static const std::map<int32_t, std::string> MeteringModeTable = {
static const std::map<int32_t, std::string> ConstraintModeTable = {
{ controls::ConstraintNormal, "normal" },
{ controls::ConstraintHighlight, "highlight" },
+ { controls::ConstraintShadows, "shadows" },
{ controls::ConstraintCustom, "custom" },
};