{"id":22894,"url":"https://patchwork.libcamera.org/api/patches/22894/?format=json","web_url":"https://patchwork.libcamera.org/patch/22894/","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":"<20250227105733.187611-12-keke.li@amlogic.com>","date":"2025-02-27T10:57:33","name":"[v3,11/11] ipa: c3-isp: Add IMX290 tuning data file","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"174f1ed50801402f562a83b26bfa4ec18fbddb94","submitter":{"id":217,"url":"https://patchwork.libcamera.org/api/people/217/?format=json","name":"Keke Li","email":"keke.li@amlogic.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/22894/mbox/","series":[{"id":5027,"url":"https://patchwork.libcamera.org/api/series/5027/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5027","date":"2025-02-27T10:57:22","name":"Add Amlogic C3 ISP pipeline handler and IPA","version":3,"mbox":"https://patchwork.libcamera.org/series/5027/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/22894/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/22894/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 9266BBF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 27 Feb 2025 11:00:16 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 606CA6875D;\n\tThu, 27 Feb 2025 12:00:16 +0100 (CET)","from mail-sh.amlogic.com (unknown [58.32.228.46])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C9BBE68718\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 27 Feb 2025 12:00:13 +0100 (CET)","from droid10.amlogic.com (10.18.11.213) by mail-sh.amlogic.com\n\t(10.18.11.5) with Microsoft SMTP Server id 15.1.2507.39;\n\tThu, 27 Feb 2025 19:00:12 +0800"],"From":"Keke Li <keke.li@amlogic.com>","To":"<libcamera-devel@lists.libcamera.org>","CC":"<kieran.bingham@ideasonboard.com>, <laurent.pinchart@ideasonboard.com>, \n\t<dan.scally@ideasonboard.com>, Keke Li <keke.li@amlogic.com>","Subject":"[PATCH v3 11/11] ipa: c3-isp: Add IMX290 tuning data file","Date":"Thu, 27 Feb 2025 18:57:33 +0800","Message-ID":"<20250227105733.187611-12-keke.li@amlogic.com>","X-Mailer":"git-send-email 2.29.0","In-Reply-To":"<20250227105733.187611-1-keke.li@amlogic.com>","References":"<20250227105733.187611-1-keke.li@amlogic.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Content-Type":"text/plain","X-Originating-IP":"[10.18.11.213]","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":"Add a tuning data file for the IMX290 camera sensor. The balck\nlevel offset data is drawn from the camera sensor's datasheet.\n\nSigned-off-by: Keke Li <keke.li@amlogic.com>\n---\n src/ipa/c3-isp/data/imx290.yaml | 30 ++++++++++++++++++++++++++++++\n src/ipa/c3-isp/data/meson.build |  1 +\n 2 files changed, 31 insertions(+)\n create mode 100644 src/ipa/c3-isp/data/imx290.yaml","diff":"diff --git a/src/ipa/c3-isp/data/imx290.yaml b/src/ipa/c3-isp/data/imx290.yaml\nnew file mode 100644\nindex 00000000..a3de98b0\n--- /dev/null\n+++ b/src/ipa/c3-isp/data/imx290.yaml\n@@ -0,0 +1,30 @@\n+# SPDX-License-Identifier: CC0-1.0\n+%YAML 1.1\n+---\n+version: 1\n+algorithms:\n+  - Agc:\n+  - Awb:\n+  - PostGamma:\n+      gammaLut: [\n+                   0,   86,  134,  169,  198,  223,  245,  265,  283, 300, 316, 331,\n+                   346, 359, 373,  385,  397,  409,  420,  431,  441, 452, 462, 471,\n+                   481, 490, 499,  508,  516,  525,  533,  541,  549, 557, 565, 572,\n+                   580, 587, 594,  601,  608,  615,  622,  629,  635, 642, 648, 655,\n+                   661, 667, 673,  679,  685,  691,  697,  703,  708, 714, 720, 725,\n+                   731, 736, 742,  747,  752,  758,  763,  768,  773, 778, 783, 788,\n+                   793, 798, 803,  808,  812,  817,  822,  827,  831, 836, 840, 845,\n+                   849, 854, 858,  863,  867,  872,  876,  880,  884, 889, 893, 897,\n+                   901, 905, 910,  914,  918,  922,  926,  930,  934, 938, 942, 946,\n+                   950, 953, 957,  961,  965,  969,  972,  976,  980, 984, 987, 991,\n+                   995, 998, 1002, 1006, 1009, 1013, 1016, 1020, 1023\n+                ]\n+  - Ccm:\n+      ccmCoeff: [ 533, -191, -86, -147, 474, -71, 23, -208, 441 ]\n+  - Csc:\n+      cscCoeff: [ 54, 183, 19, -29, -99, 128, 128, -116, -12 ]\n+  - Blc:\n+      offsetR: 61440\n+      offsetGr: 61440\n+      offsetGb: 61440\n+      offsetB: 61440\ndiff --git a/src/ipa/c3-isp/data/meson.build b/src/ipa/c3-isp/data/meson.build\nindex 1e98cbcf..d87e4c80 100644\n--- a/src/ipa/c3-isp/data/meson.build\n+++ b/src/ipa/c3-isp/data/meson.build\n@@ -1,6 +1,7 @@\n # SPDX-License-Identifier: CC0-1.0\n \n conf_files = files([\n+    'imx290.yaml',\n     'uncalibrated.yaml'\n ])\n \n","prefixes":["v3","11/11"]}