[libcamera-devel] [PATCH] ipa: raspberrypi: awb: Fix typo in AWB mode conversion table
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Mar 23 00:18:45 CET 2022
Hi David,
Thank you for the patch.
On Thu, Mar 17, 2022 at 03:03:27PM +0000, David Plowman via libcamera-devel wrote:
> 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: Laurent Pinchart <laurent.pinchart 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" },
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list