From patchwork Fri Nov 20 11:16:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 10453 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 530D5BE176 for ; Fri, 20 Nov 2020 11:16:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 248A56159D; Fri, 20 Nov 2020 12:16:27 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="nwFnzANp"; dkim-atps=neutral Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A80316159D for ; Fri, 20 Nov 2020 12:16:23 +0100 (CET) Received: by mail-wm1-x32f.google.com with SMTP id c9so10002373wml.5 for ; Fri, 20 Nov 2020 03:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mZdhtfMQooRx55G1kMiuiEggGn8JP9tVPu32S4SIZJg=; b=nwFnzANpO+WUF5d0fikEwi/0Eeaaa8UfD9mkPx+QW5CNy2BUcdkwR1wrimkzXAZdtB iVPLdy0TrWL0spr5P1GufWfOPePeorh+0UVgbw0WDm9ZCB5+IADT3Rw1c7dXmvLzOJs/ gC0lVGPGB5HKy/lKbPNxtuRv8X6BWO/70hZmQ5y5d2Ec45yLvMxW1bE/lmZBW493mLsD Q2/JVDaSw3Xv137eul8cO6ENN3MQk5FnWnRZza/FvJ7BGjB+Joz/T06OZ7I58ctI8qhS 5jvpG3xQwAqKEkBhhPbT0toQEtmYp+rr3xzGlyrqhgAWECmkqjCpQJrC4S08DK/XETNS Ussw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mZdhtfMQooRx55G1kMiuiEggGn8JP9tVPu32S4SIZJg=; b=Crs6E3Ei7B3h9vvPG3yQaK8MFqAtbyCIL8/+zhMiyBjNGr37xZBPcH+dncJH2oOTMN xtJixZH3iuFn3lJs2hQ4kIBuxVo0VIn7jTvhdxLFH/WttjNO5vXt0p1kUFACLLrRi0Dq 98vlXgjhNBkGxobXAfD4N3HHtp3ezQDrVqoJ2ncmeFPb7wjNKIm/fEg67MxhOw3D4B43 yhTINiFeAvrS4X53YWXebVPY9StyLFBzTkIBjfh8dLjnMl3oB5viuCMbwJHDXa0XJm8d /eNvE6zXpoIN8KqTS9hws2zb6LuEYH8d2E/G5HJrd226ToG08i8iugfRCB0m7Yp2YSCi gtvA== X-Gm-Message-State: AOAM531SwJapNV345Tw0FSAucRs+3B0mndhqKppSjmlY4ULl+iiRMxLQ gzVMEgMOqkbsuUyvI1QFH/oCg46BM43nnw== X-Google-Smtp-Source: ABdhPJx+21nKmVg7DPl3M2pDdCM+0Ks4buAov4gcknrpYENn2Q7wVarhUr3pS7IT9A/tSL9E/bA6yQ== X-Received: by 2002:a1c:a344:: with SMTP id m65mr9576195wme.77.1605870983214; Fri, 20 Nov 2020 03:16:23 -0800 (PST) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id j127sm4249805wma.31.2020.11.20.03.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 03:16:22 -0800 (PST) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Fri, 20 Nov 2020 11:16:17 +0000 Message-Id: <20201120111618.15449-2-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201120111618.15449-1-david.plowman@raspberrypi.com> References: <20201120111618.15449-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 1/2] src: ipa: raspberrypi: Add missing 'cloudly' AWB mode 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Support the 'cloudy' AWB mode which was left out when the AwbModeTable was introduced. Signed-off-by: David Plowman Reviewed-by: Naushir Patuck Reviewed-by: Kieran Bingham --- 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 AwbModeTable = { { controls::AwbFluorescent, "fluorescent" }, { controls::AwbIndoor, "indoor" }, { controls::AwbDaylight, "daylight" }, + { controls::AwbCloudy, "cloudy" }, { controls::AwbCustom, "custom" }, };