{"id":22223,"url":"https://patchwork.libcamera.org/api/patches/22223/?format=json","web_url":"https://patchwork.libcamera.org/patch/22223/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20241206145242.827886-7-stefan.klug@ideasonboard.com>","date":"2024-12-06T14:52:26","name":"[v5,6/8] libtuning: Fix access to color member in ctt_awb.awb()","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"20231c35c31c686aae31013eade4367d5b9409b7","submitter":{"id":184,"url":"https://patchwork.libcamera.org/api/people/184/?format=json","name":"Stefan Klug","email":"stefan.klug@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/22223/mbox/","series":[{"id":4857,"url":"https://patchwork.libcamera.org/api/series/4857/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4857","date":"2024-12-06T14:52:20","name":"rkisp1: Add manual colour temperature control","version":5,"mbox":"https://patchwork.libcamera.org/series/4857/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/22223/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/22223/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 09147BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  6 Dec 2024 14:53:07 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B1FB566168;\n\tFri,  6 Dec 2024 15:53:06 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F36B26615F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  6 Dec 2024 15:53:04 +0100 (CET)","from ideasonboard.com (unknown\n\t[IPv6:2a00:6020:448c:6c00:3543:aebe:e043:ef86])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4C2FA74C;\n\tFri,  6 Dec 2024 15:52:35 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"Uy1XB2p3\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1733496755;\n\tbh=qOc2oaCSQuCoeb1Ao+YhvcFWgrNJ4l4ojOBWyGN99fI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=Uy1XB2p3nYEF06tS00JNUWIDy/gpCQUJv4JLuEfQmjBqBLaHPrOoOhm8BIm3AEbNR\n\tC13QPIP059gfAxafQQwCy7XB2sZoIb1otGP42p/FBCdqMkfrsSmjpsTMO/lDpPh3ZR\n\tOKNeptzQIrVjX7wuJAtRzZ+ZPkTMoxZ9bZloVhpY=","From":"Stefan Klug <stefan.klug@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Stefan Klug <stefan.klug@ideasonboard.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tPaul Elder <paul.elder@ideasonboard.com>","Subject":"[PATCH v5 6/8] libtuning: Fix access to color member in\n\tctt_awb.awb()","Date":"Fri,  6 Dec 2024 15:52:26 +0100","Message-ID":"<20241206145242.827886-7-stefan.klug@ideasonboard.com>","X-Mailer":"git-send-email 2.43.0","In-Reply-To":"<20241206145242.827886-1-stefan.klug@ideasonboard.com>","References":"<20241206145242.827886-1-stefan.klug@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Fix the access to the color temperature member of the Img object.\n\nSigned-off-by: Stefan Klug <stefan.klug@ideasonboard.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n utils/tuning/libtuning/ctt_awb.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/utils/tuning/libtuning/ctt_awb.py b/utils/tuning/libtuning/ctt_awb.py\nindex 5494bdb5c103..117612f2582a 100644\n--- a/utils/tuning/libtuning/ctt_awb.py\n+++ b/utils/tuning/libtuning/ctt_awb.py\n@@ -304,7 +304,7 @@ def get_alsc_patches(Img, colour_cals, grey=True):\n     \"\"\"\n     if grey:\n         cen_coords = Img.cen_coords[3::4]\n-        col = Img.col\n+        col = Img.color\n         patches = [np.array(Img.patches[i]) for i in Img.order]\n         r_patchs = patches[0][3::4] - Img.blacklevel_16\n         b_patchs = patches[3][3::4] - Img.blacklevel_16\n","prefixes":["v5","6/8"]}