[libcamera-devel,v2,1/2] src: ipa: raspberrypi: Add missing 'cloudly' AWB mode
diff mbox series

Message ID 20201120111618.15449-2-david.plowman@raspberrypi.com
State Accepted
Commit 589d4e6c20de24cc59cfcdb816ddc8a694fb268a
Headers show
Series
  • Raspberry Pi control fixes
Related show

Commit Message

David Plowman Nov. 20, 2020, 11:16 a.m. UTC
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>
---
 src/ipa/raspberrypi/raspberrypi.cpp | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

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" },
 };