From patchwork Thu Mar 17 15:03:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 15478 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 15A49BDE17 for ; Thu, 17 Mar 2022 15:03:33 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 77C4D604DC; Thu, 17 Mar 2022 16:03:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1647529412; bh=T9tuBibbeomWnKC5S/jYicMMg4i3vmsItP/pmBWF1VM=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=nVtFxgMsu9XStdygf8zOkJ3v7Qg2UpJWaeABiTRgNjly6nkMmi87CbWPYiz6iEe46 Wg5Mp32O44py1H4xwpozoe7LNHR0Ri6pIW1djyE6UaQCpI+hTjRw/CXsr+IohEbEO+ aw8gPjU05zFoE5jq0JBM+jUYp+u+ZEgLI7j+ERbm1yQpihGdqSYdOwWkl7ep9P37yq wPFIO/CNolSRMgEeAQ1Ln14gU3YC7p0fMBFd/oyIHYokPHGe0rs1ei0E2/BhduxDGB /4XrlI6CEPWERwxuXYZzZ3a5Z8XsZayAvJsIIlW6loQ6mWKjZ9rucGjNiWyrFvimZ/ oLlq3AI6rZ7Zg== Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A5E5B601F8 for ; Thu, 17 Mar 2022 16:03:30 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="HWguUzGT"; dkim-atps=neutral Received: by mail-wr1-x436.google.com with SMTP id x15so7727005wru.13 for ; Thu, 17 Mar 2022 08:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zxD+iyMZ5tDxR8vIih6izQLI3EQTQw5qE9HDLzm13dU=; b=HWguUzGT+ZIbhFFf+7Gnx6jbRPQ2rFUfPvBfHDc2uSS+mTmnJui1LBDEkMnAO7gTLB yo+urVSAl+hUJ2p4v8kiqO5vht27JB4ZFUdo8UveMjeFVra1jkP6eApS0HXmPJDFMzAl RmUxjhsQ3Z6Oa+FKhYUB6aa7PrDoYwePrrdIv5MosoqU16uhgJ7+UZ9ggpI4jobj8dQu G4hZs5fO3E/ZNxexyRU43PrDsF2Sw0B7O1bFH6H27OMLJLXWpJcsUVy8HMzzjC5npNs0 hffvmSz4Zfl75dOmLcNKou2Ejfz6uxs6pCStSH4PyGkZ4iO8Pw2+QBa72dCvcn2tcmfN gXqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zxD+iyMZ5tDxR8vIih6izQLI3EQTQw5qE9HDLzm13dU=; b=t+wK3uybWtPvo29TQzlGfnuhJXTvhk92U35uLTfZ6z6TxSCvn+twxwM+vcFQb2ygVE 2bgsrhjMACiXMaYECNrAwvZRwvcyy/tOyVggft0oy35qcZXIYbUx7+H6nhzFsenKCUWK e7q/WHDqLnIF6nCOThEs+umt1GD+eyF4ZfYQTXJB9aHABpiiFQxH+LGRaqqV6nUd4QQf Q2v0bFLFIJrbK4C0R+R6iMzU3KtHiXcKA88zsD8zlCqcZwDXd6nvoBRg6Mauk2vpewFd YJ6xXL38gMP7SeAjFYTSOFX3qCYnjI/LkLQnIqHOXN2mbaJIyWtEcb333ybT0TnWKr7Y OByg== X-Gm-Message-State: AOAM530p/FVwgg10yInHOfDdZfVhcKUupsTr4GCB8jnvQYE9AQB3bstC JZEN1KzfV3r8jEbdOGDJBHdCzVXIgMOY7A== X-Google-Smtp-Source: ABdhPJx0NQP6Rx6+N/rpWujWBsASw41hAP4+YNkjhiD9s536qyaujhVNZTZXiy8vJrE080esi+WW/Q== X-Received: by 2002:a05:6000:1704:b0:203:f042:156d with SMTP id n4-20020a056000170400b00203f042156dmr1579239wrc.164.1647529409980; Thu, 17 Mar 2022 08:03:29 -0700 (PDT) Received: from pi4-davidp.pitowers.org ([2a00:1098:3142:14:e4a2:3070:eea4:e434]) by smtp.gmail.com with ESMTPSA id r9-20020a05600c35c900b0038c7626c454sm2498116wmq.12.2022.03.17.08.03.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 08:03:29 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Thu, 17 Mar 2022 15:03:27 +0000 Message-Id: <20220317150327.14073-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] ipa: raspberrypi: awb: Fix typo in AWB mode conversion table X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: David Plowman via libcamera-devel From: David Plowman Reply-To: David Plowman Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- 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 ExposureModeTable = { }; static const std::map AwbModeTable = { - { controls::AwbAuto, "normal" }, + { controls::AwbAuto, "auto" }, { controls::AwbIncandescent, "incandescent" }, { controls::AwbTungsten, "tungsten" }, { controls::AwbFluorescent, "fluorescent" },