[libcamera-devel] [PATCH v2 1/2] src: ipa: raspberrypi: Add missing 'cloudly' AWB mode

David Plowman david.plowman at raspberrypi.com
Fri Nov 20 12:16:17 CET 2020


Support the 'cloudy' AWB mode which was left out when the AwbModeTable
was introduced.

Signed-off-by: David Plowman <david.plowman at raspberrypi.com>
Reviewed-by: Naushir Patuck <naush at raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 src/ipa/raspberrypi/raspberrypi.cpp | 1 +
 1 file changed, 1 insertion(+)

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



More information about the libcamera-devel mailing list