[libcamera-devel] [PATCH] ipa: raspberrypi: awb: Fix typo in AWB mode conversion table

David Plowman david.plowman at raspberrypi.com
Thu Mar 17 16:03:27 CET 2022


The AwbAuto mode is defined in all the JSON tuning files as "auto",
not "normal". The effect of this was that you couldn't switch back to
"auto" mode once you had switched away.

Signed-off-by: David Plowman <david.plowman at raspberrypi.com>
---
 src/ipa/raspberrypi/raspberrypi.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index fd8fecb0..1bf4e270 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -604,7 +604,7 @@ static const std::map<int32_t, std::string> ExposureModeTable = {
 };
 
 static const std::map<int32_t, std::string> AwbModeTable = {
-	{ controls::AwbAuto, "normal" },
+	{ controls::AwbAuto, "auto" },
 	{ controls::AwbIncandescent, "incandescent" },
 	{ controls::AwbTungsten, "tungsten" },
 	{ controls::AwbFluorescent, "fluorescent" },
-- 
2.30.2



More information about the libcamera-devel mailing list