{"id":26655,"url":"https://patchwork.libcamera.org/api/patches/26655/?format=json","web_url":"https://patchwork.libcamera.org/patch/26655/","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":"<20260506230649.1040794-5-devve.3@gmail.com>","date":"2026-05-06T23:06:43","name":"[v2,04/10] ipa: simple: data: Add OV01A10 tuning file","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"62ffba86658beda167cfed5206c2e42b0a32d225","submitter":{"id":271,"url":"https://patchwork.libcamera.org/api/people/271/?format=json","name":"devve","email":"devve.3@gmail.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/26655/mbox/","series":[],"comments":"https://patchwork.libcamera.org/api/patches/26655/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/26655/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 A6D85C32F9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  6 May 2026 23:07:02 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0A9DE63024;\n\tThu,  7 May 2026 01:07:00 +0200 (CEST)","from mail-wm1-x336.google.com (mail-wm1-x336.google.com\n\t[IPv6:2a00:1450:4864:20::336])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 602096301A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  7 May 2026 01:06:52 +0200 (CEST)","by mail-wm1-x336.google.com with SMTP id\n\t5b1f17b1804b1-488ba840146so1599855e9.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 06 May 2026 16:06:52 -0700 (PDT)","from dexps.speedport.ip\n\t(p200300eda74453cf3cf3f7929e513b94.dip0.t-ipconnect.de.\n\t[2003:ed:a744:53cf:3cf3:f792:9e51:3b94])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-48e538a547bsm85951935e9.5.2026.05.06.16.06.51\n\tfor <libcamera-devel@lists.libcamera.org>\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 06 May 2026 16:06:51 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"S8JAwilz\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20251104; t=1778108812; x=1778713612;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n\t:reply-to; bh=JUKQ09Nx7NLeaiPTW9IaTACA3hv2E+jWsDiYD//GlaA=;\n\tb=S8JAwilzxXJT35wA5QQK5x0v4JhzsNeSHlt9v3y37vz/9ila5CJYpotER3RKYTtIDr\n\tI8loZ0GWHPFG7SgeZlcqKtnhWEyDUsV8bbcAd9oW5F4WwjRklM1Ok+dz/yPFf9wZw8Wm\n\t1WzcHv8+xVKiOsJSF2830RM6HToOJpA+VhGeLSkKnPS4E2qBCelTi9iH4ngOwPrTO3jB\n\tKpPW5i9LidB1IQWbGLwUdo6ECughpzPSRswaflkHOZO3ttm39GzR9xZ5/lEEux32UQJY\n\t6gnjaH7F+5tSdBCuHlbQb8ACofNGsQiLrLTl035cGFtwnhh+g85aaQVDaOFt1wA/iv6t\n\tX0XQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1778108812; x=1778713612;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n\t:cc:subject:date:message-id:reply-to;\n\tbh=JUKQ09Nx7NLeaiPTW9IaTACA3hv2E+jWsDiYD//GlaA=;\n\tb=PdFcmI10nfjKeE1rKS/utHzsLCaBl1BZFSkWk+S13MeTQqiBObCr7cLe0CFUM2cir0\n\tJs5r6Dwrtb7bepVSp2K1SOGwR+0nOEmxb8y82Q6a5bhIz4ydsH0TW4bmWWMafFxcqK0s\n\tfQv6lIaYlhtCj7VeU93Ru/xvCt6C/8nuCvuFOmwAFEZXeU5wEErXoq9SYRyS5s5olHVp\n\tFFSCJEMSLoO/TdisH5FCiNc6cJb+UgMx7GxYe3xKolPksng87JI9drVM0wiP7tcgKuyP\n\tftQOareHlXltKW6t6DcyzMNXJTKaDggnBpgBlzM90HvQBLZfCeaYWZwE9drQLxrjag3N\n\tDJbg==","X-Gm-Message-State":"AOJu0YxHo3SdhGCAaFha1IXLbvr4OwKVWqtdM4xRf21HWKcwJ63CmnuZ\n\t0E9ER+pHo0b0P7/2qwWmqu3qziC1tbw1m7zMp1ZvNm0fRLR6nPrZiQlnFfPp4g==","X-Gm-Gg":"AeBDievGVeKKHslUeAqjxQgV8gKJfoYP06gyHp17Ggd2VOZYVpoZK0SDinD7c+iTbNp\n\t/IVELPJdaOOKDjNS7eGWJymnToy/gsHrx7x1wZXxCIwA3gwRd43QSn2bmGiOleFz3NtoxWNH/Nv\n\tLz3p07KEWPzB0azEOP55AbDayTSnvck64TgWFqdqN3h5DOz3PkldLiO/3+zJ7+7W2Xufd/rtJ0C\n\tXCpqk7K/2ajUNiFgwzc5g8cJ2eJpn3CBI2olrlguN0lcFVtddc3Hk38cIJOzkoCQw0rOqe/N2hi\n\tgZZ9/gEQqHtVHA52b72xROCblrha6x98RBgL//xxfBieHcWaB58TXgTfWT0wEF04VRaCFdY6SYg\n\tJgk5Q9mq1Iw6Y151Fk/Bc5/mQX0pMJgSBthfM9p0r6Vo61b1nrspFDSswk0d+zunoTvK/dkJlxx\n\tdA3E0+sO+JGsQbZafG9Naa2DFq3gvzUiGdzIIGbZyez4ea31Po+hAcVhmoggVO84dhD0pbkMPoS\n\tPMZkHtJp/OGioJmw73SQEijbKdWenKSAuHnVdgHEI0=","X-Received":"by 2002:a05:600c:c08b:b0:489:201c:dc46 with SMTP id\n\t5b1f17b1804b1-48e51e204b5mr69199605e9.12.1778108811818; \n\tWed, 06 May 2026 16:06:51 -0700 (PDT)","From":"d3vv3 <devve.3@gmail.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"[PATCH v2 04/10] ipa: simple: data: Add OV01A10 tuning file","Date":"Thu,  7 May 2026 01:06:43 +0200","Message-ID":"<20260506230649.1040794-5-devve.3@gmail.com>","X-Mailer":"git-send-email 2.54.0","In-Reply-To":"<20260506230649.1040794-1-devve.3@gmail.com>","References":"<20260506230649.1040794-1-devve.3@gmail.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":"Add tuning data for the OmniVision OV01A10 sensor, calibrated from the\nfactory-supplied Intel IPU6 AIQB binary (ov01a_1BG101N3_MTL.aiqb)\nshipped\nwith the Dell XPS 9320 (Meteor Lake).\n\nThe AIQB binary was parsed with some custom scripts to extract:\n- 8 colour correction matrices spanning 2856K-7500K (Incandescent to\nD75),\n  all with rows summing to 1.0 (luminance-preserving)\n- AWB neutral locus: 9 achromatic R/G, B/G points defining the sensor's\n  white balance response across illuminants\n- Sensor properties: 1280x800, 10-bit, GBRG colour order, base ISO 43\n- Noise model: read noise variance 7.5e-5, shot noise slope 0.187\n\nThe AWB gain limits (maxGainR: 2.5, maxGainB: 3.2) are derived from the\nmaximum gains required to neutralise the warmest and coolest illuminants\nin the locus, with 10% headroom.\n\nSigned-off-by: d3vv3 <devve.3@gmail.com>\n---\n src/ipa/simple/data/meson.build  |  1 +\n src/ipa/simple/data/ov01a10.yaml | 55 ++++++++++++++++++++++++++++++++\n 2 files changed, 56 insertions(+)\n create mode 100644 src/ipa/simple/data/ov01a10.yaml","diff":"diff --git a/src/ipa/simple/data/meson.build b/src/ipa/simple/data/meson.build\nindex 92795ee4..e6110320 100644\n--- a/src/ipa/simple/data/meson.build\n+++ b/src/ipa/simple/data/meson.build\n@@ -1,6 +1,7 @@\n # SPDX-License-Identifier: CC0-1.0\n \n conf_files = files([\n+    'ov01a10.yaml',\n     'uncalibrated.yaml',\n ])\n \ndiff --git a/src/ipa/simple/data/ov01a10.yaml b/src/ipa/simple/data/ov01a10.yaml\nnew file mode 100644\nindex 00000000..d1f613c5\n--- /dev/null\n+++ b/src/ipa/simple/data/ov01a10.yaml\n@@ -0,0 +1,55 @@\n+# SPDX-License-Identifier: CC0-1.0\n+%YAML 1.1\n+---\n+version: 1\n+algorithms:\n+  # Black level is not specified in the AIQB calibration binary; auto-detected\n+  # from the histogram dark end at runtime.\n+  - BlackLevel:\n+  - Awb:\n+      maxGainR: 2.5\n+      maxGainB: 3.2\n+      speed: 0.25\n+  - Ccm:\n+      ccms:\n+        - ct: 2856\n+          ccm: [  1.1248,  0.2210, -0.3458,\n+                 -0.4616,  1.7736, -0.3120,\n+                 -0.4342, -0.9348,  2.3690 ]\n+        - ct: 3000\n+          ccm: [  1.5839, -0.4188, -0.1650,\n+                 -0.3670,  1.6565, -0.2895,\n+                 -0.1213, -1.0442,  2.1655 ]\n+        - ct: 3450\n+          ccm: [  1.6411, -0.5127, -0.1284,\n+                 -0.3680,  1.6337, -0.2657,\n+                 -0.1384, -1.0869,  2.2253 ]\n+        - ct: 4000\n+          ccm: [  1.5414, -0.4024, -0.1390,\n+                 -0.3304,  1.6352, -0.3048,\n+                 -0.1237, -0.6699,  1.7936 ]\n+        - ct: 4150\n+          ccm: [  1.7334, -0.6629, -0.0706,\n+                 -0.3121,  1.6267, -0.3146,\n+                 -0.0920, -0.9183,  2.0103 ]\n+        - ct: 5000\n+          ccm: [  1.5015, -0.3165, -0.1850,\n+                 -0.2277,  1.6190, -0.3913,\n+                 -0.0699, -0.7285,  1.7984 ]\n+        - ct: 6500\n+          ccm: [  1.8163, -0.7062, -0.1100,\n+                 -0.1640,  1.5736, -0.4096,\n+                 -0.0084, -0.8294,  1.8378 ]\n+        - ct: 7500\n+          ccm: [  1.8953, -0.7980, -0.0973,\n+                 -0.1539,  1.6001, -0.4462,\n+                 -0.0101, -0.7800,  1.7902 ]\n+  - Adjust:\n+      gamma: 2.2\n+      contrast: 1.0\n+      saturation: 1.0\n+  - Agc:\n+      exposureTarget: 2.5\n+      hysteresis: 0.2\n+      stepDenominator: 20\n+...\n","prefixes":["v2","04/10"]}