[libcamera-devel] [PATCH] ipa: raspberrypi: awb: Fix typo in AWB mode conversion table
Kieran Bingham
kieran.bingham at ideasonboard.com
Thu Mar 17 17:53:02 CET 2022
Quoting David Plowman via libcamera-devel (2022-03-17 15:03:27)
> 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>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.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