{"id":17335,"url":"https://patchwork.libcamera.org/api/1.1/patches/17335/?format=json","web_url":"https://patchwork.libcamera.org/patch/17335/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20220908014200.28728-27-laurent.pinchart@ideasonboard.com>","date":"2022-09-08T01:41:54","name":"[libcamera-devel,v4,26/32] ipa: rkisp1: awb: Store color temperature as an integer","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"716b07e6e457b98141cdd14742a7fa51c63837b4","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/17335/mbox/","series":[{"id":3476,"url":"https://patchwork.libcamera.org/api/1.1/series/3476/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3476","date":"2022-09-08T01:41:28","name":"ipa: Frame context queue, IPU3 & RkISP consolidation, and RkISP1 improvements","version":4,"mbox":"https://patchwork.libcamera.org/series/3476/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/17335/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/17335/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 5B72BC3272\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  8 Sep 2022 01:42:57 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0A13662102;\n\tThu,  8 Sep 2022 03:42:57 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 43105620FC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  8 Sep 2022 03:42:54 +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 BDD8C6CC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  8 Sep 2022 03:42:53 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1662601377;\n\tbh=v3IeW1SqF7Gjhs0enIUlpe53Kc7QXui/tKAfw4nrhSw=;\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=FAm53P+w5h63taXMXWHltmOt9RzWtW6fS1TpSuzcnc4L6xHjaz5dZQluMOBjdEn1z\n\t9ukhdI3TuwzZXcE63uYasMnHTx2zQuNLPDiML3FkrQvAflMdI7tvwUhfg5lA4OpHy4\n\tFyBAN6vS+wf/XDphEfFRq2WosyLczSC+m5sb8CUNH3cPwtPNm6EEv8T6h1iajNFKxs\n\t8L07Ywh/+I/+H7KuiAWN8luIo0v0PUStrCHX8bM4zQnUy13NCjn1Xo51jFLJfgDQxa\n\tl1nkx0Fzt1MCv6eESubze6Pebi53tGuE6PuObELtX2nGvJEsS7xbPogFp5GKMJ6lzO\n\tv3noff1ijpgkw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1662601374;\n\tbh=v3IeW1SqF7Gjhs0enIUlpe53Kc7QXui/tKAfw4nrhSw=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=cOLZlwLKNy3BSlu7q1lRNe1+wjvO8+cAxXMTKy0SBjaANsw7Pfofl2qTCnru0wZTi\n\tioL15DExJS9jPMd05Iid+PFg+wu7ZRTbHmzhylw0QbUy6dVXltqXkJFDwK3u0vD5s3\n\txfDhUczwmLQBYj5Q43p3DsX/IVe2P56UX/BuKNwg="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"cOLZlwLK\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Thu,  8 Sep 2022 04:41:54 +0300","Message-Id":"<20220908014200.28728-27-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.35.1","In-Reply-To":"<20220908014200.28728-1-laurent.pinchart@ideasonboard.com>","References":"<20220908014200.28728-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v4 26/32] 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>\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 c15b908afcc8..53787320e565 100644\n--- a/src/ipa/rkisp1/ipa_context.h\n+++ b/src/ipa/rkisp1/ipa_context.h\n@@ -100,7 +100,7 @@ struct RkISP1FrameContext : 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","v4","26/32"]}