Patch Detail
Show a patch.
GET /api/patches/17438/?format=api
{ "id": 17438, "url": "https://patchwork.libcamera.org/api/patches/17438/?format=api", "web_url": "https://patchwork.libcamera.org/patch/17438/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20220927023642.12341-28-laurent.pinchart@ideasonboard.com>", "date": "2022-09-27T02:36:36", "name": "[libcamera-devel,v5,27/33] ipa: rkisp1: awb: Store color temperature as an integer", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "716b07e6e457b98141cdd14742a7fa51c63837b4", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/17438/mbox/", "series": [ { "id": 3506, "url": "https://patchwork.libcamera.org/api/series/3506/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3506", "date": "2022-09-27T02:36:09", "name": "ipa: Frame context queue, IPU3 & RkISP consolidation, and RkISP1 improvements", "version": 5, "mbox": "https://patchwork.libcamera.org/series/3506/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/17438/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/17438/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 5C8B4C327E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 27 Sep 2022 02:37:45 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0AD59622EF;\n\tTue, 27 Sep 2022 04:37:45 +0200 (CEST)", "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 4A8CF622EA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 27 Sep 2022 04:37:42 +0200 (CEST)", "from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi\n\t[62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A6458E5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 27 Sep 2022 04:37:41 +0200 (CEST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1664246265;\n\tbh=VcoWLaP0G21qo8Zj/0ZRKtilZuv0yfvdBPF5HEhjo5k=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=WmCwT82JBKUcBEH6hjLG9ywDFpw6+CFR7n5TnUQWGD8IJ5CGem8ngWMj+7P5IY4TA\n\trs3ps1TAazYOX6qN4peUYXkddOny9/88OoN8MpOYd1zm3HXTgCGZGc1lNEeCp87foo\n\tcxZXGSkiree3cH04VLrYVv/57brxenx80t0TJQW3PclvDyi9SJO/UPMkZR4ufE0NKI\n\tiNlP9sdDVcqZJxkCYFaQiTyvIM1m7vw6/MTzN2n2KkuTJ/a6TQZNRVYuIdaKIdByCs\n\t5COSDoDk7qrF58WZihwI5r0/rJPqCJG7CEpiivon8ENM8rvQAQjMKp4yW1DPv9gR6d\n\tSj3PodMM+e7Sw==", "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1664246262;\n\tbh=VcoWLaP0G21qo8Zj/0ZRKtilZuv0yfvdBPF5HEhjo5k=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=HjY2+YaiM1WoqE88pqnh4oJPxc0DYv9i3Pv/xHftkpxRZTm3IrxHmegEt577+egMl\n\t0/BiAujE9wPGmvo8A/tJMaOxfcLiS9UtxhAuaRtU3XeyLLBFAZymnD1AxK6O0ucLIV\n\tXIXuT7WmvyFx23NOkOAZwBfQvhRPwNSmaRos1KTI=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"HjY2+Yai\"; dkim-atps=neutral", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 27 Sep 2022 05:36:36 +0300", "Message-Id": "<20220927023642.12341-28-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.35.1", "In-Reply-To": "<20220927023642.12341-1-laurent.pinchart@ideasonboard.com>", "References": "<20220927023642.12341-1-laurent.pinchart@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v5 27/33] ipa: rkisp1: awb: Store color\n\ttemperature as an integer", "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>", "From": "Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The color temperature doesn't need floating point precision, and is\ncalculated by Awb::estimateCCT() as an unsigned integer. Store it with\nthe same data type in the frame context.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/ipa/rkisp1/ipa_context.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h\nindex 9a16dd6cf108..d0692f872960 100644\n--- a/src/ipa/rkisp1/ipa_context.h\n+++ b/src/ipa/rkisp1/ipa_context.h\n@@ -101,7 +101,7 @@ struct IPAFrameContext : public FrameContext {\n \t\t\tdouble blue;\n \t\t} gains;\n \n-\t\tdouble temperatureK;\n+\t\tunsigned int temperatureK;\n \t\tbool autoEnabled;\n \t} awb;\n \n", "prefixes": [ "libcamera-devel", "v5", "27/33" ] }