summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2020-11-20 11:16:17 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-11-20 11:31:47 +0000
commit589d4e6c20de24cc59cfcdb816ddc8a694fb268a (patch)
treedc2fd91e4827312225498fb588c45df0cd2cdd63 /src/ipa
parentde5d03673c41f5f117d03c23495de5620fd6f42e (diff)
src: ipa: raspberrypi: Add missing 'cloudy' AWB mode
Support the 'cloudy' AWB mode which was left out when the AwbModeTable was introduced. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@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 4632d764..9853a343 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -477,6 +477,7 @@ static const std::map<int32_t, std::string> AwbModeTable = {
{ controls::AwbFluorescent, "fluorescent" },
{ controls::AwbIndoor, "indoor" },
{ controls::AwbDaylight, "daylight" },
+ { controls::AwbCloudy, "cloudy" },
{ controls::AwbCustom, "custom" },
};