Patch Detail
Show a patch.
GET /api/patches/26643/?format=api
{ "id": 26643, "url": "https://patchwork.libcamera.org/api/patches/26643/?format=api", "web_url": "https://patchwork.libcamera.org/patch/26643/", "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": "<20260506220806.866289-1-devve.3@gmail.com>", "date": "2026-05-06T22:08:06", "name": "[v2,3/9] ipa: simple: data: Add OV01A10 tuning file", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7ff670e4df1267c6ad9b1a832d4b39384065ca00", "submitter": { "id": 271, "url": "https://patchwork.libcamera.org/api/people/271/?format=api", "name": "devve", "email": "devve.3@gmail.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/26643/mbox/", "series": [ { "id": 5895, "url": "https://patchwork.libcamera.org/api/series/5895/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5895", "date": "2026-05-01T19:13:11", "name": "ipa: simple: data: Add OV01A10 tuning file", "version": 1, "mbox": "https://patchwork.libcamera.org/series/5895/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/26643/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/26643/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 B6227BDCB5\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 6 May 2026 22:08:12 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 97B9F63026;\n\tThu, 7 May 2026 00:08:11 +0200 (CEST)", "from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com\n\t[IPv6:2a00:1450:4864:20::32f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 15FAD62DC4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 7 May 2026 00:08:10 +0200 (CEST)", "by mail-wm1-x32f.google.com with SMTP id\n\t5b1f17b1804b1-488ad135063so1566065e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 06 May 2026 15:08:10 -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-48e530b213asm25738985e9.2.2026.05.06.15.08.08\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 06 May 2026 15:08:08 -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=\"B/7ws9yJ\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20251104; t=1778105289; x=1778710089;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=YBY2swc1BE6gF1cp2n45FtNdf9pu1JhN0yKaJlnU/s4=;\n\tb=B/7ws9yJy43rv1lU+qDzukxqMO7o1ABsmmFhMrECWTZdeo0f4JqCPlYIsYa57ymS0n\n\tdaNV37Sq/j1tcU/kefDNgoih2tCGpjxdzYLjizlWnIjGJdw8zcdAMnrQ6hGLdCc2Gh5g\n\t1ogk892gTLQ9j5NfBoqxLOeJ5V3fbgpk04XDMfRaobc413uymOy+Kol2L3lp4AoHNdIZ\n\tIy8L0vUH3JEvZWIXHKHJKie7PLeV2h03IkgNNJrRDLzc5nlSiQkfTPnzfw7+qww3nBxE\n\tz4LORzQEpy1GeCir64B4qDGQvMa+ch5X8hMQ+34ABlk+0R3QaI7Gda2+j4WElUsTh9rv\n\tivNw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1778105289; x=1778710089;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to;\n\tbh=YBY2swc1BE6gF1cp2n45FtNdf9pu1JhN0yKaJlnU/s4=;\n\tb=AlcFg0iMI7Scb/q9W8VGwn/UAN50rv5vKZsiWX/SM7vgDgLFWuAQwnKzBQjuOQ+Ykw\n\tr6XrHS/ei9oW2HcokVmA3PNPIUFJQtY1jWJlCCLZbtZ/8qu28okwwErgdNJDk+m1uxOs\n\tqDUxSQOPspUoVTawPlaSNSC8scV1jQrBzIL+ojUun35zNuaN9NcIJCMZdHH2h9VIbUuN\n\t+EmdcsTnj0zkF+jutuNT9gUSdw7S7yXGSZp/BsTjLRAAc6Vml1xOAG3yR3aYuXPMCD/M\n\tUXrYwK9zIgFxzEjPvRlX0GYAe5EkuiFvXC4Upt/Ha2V01he4S3kN2sATPEtEbLHPHoAE\n\tBK/g==", "X-Gm-Message-State": "AOJu0Yz4k7g9FrEEJdx9TXofsvsMg7xtUPSskxpyLSbHpoxv4g95lL3h\n\tb+cTTHvg99666VAjnJRiSjR+Yw83PyYfNx9onJZZGtmti6MS34r2Zg2XR/6Kkw==", "X-Gm-Gg": "AeBDies2TZR3w+ZOYEWe2Mc2+gTiDrHJjtUod7NbkN4piBQEJ12jgMpSphzsQH831iS\n\tc3DP+0+XxiooZnOQpSZfZB+MAIp0F+sYMnGKIVedoKuHzmXDozqbjvTHLTjq0PvP52orGt0/kl+\n\t2HijXBEbcAP1/NPmv4fNrKC2HiEjLFsXmqBPSFO/3f/F8Cd1EqXPL9Gq5HNZZyiChWRAxMNld5b\n\tknTluiLoCNIQIvITLSfvhau4vk87X0gPc1JWtK/S3S54zvhurjVISsZjm2E2fs/r7CXaW+GT0en\n\tgV2P/hMyb2Z2qOyMzKbmv3C411m7PGp/QMp3iCXfIzjl15GSiM9Icbx3VJaYxN/WlIYj/YZ3Cv4\n\tQH6YauI/oZW9MvBRwUFS9EzUG2jjDBHOyviMH0tPKeyM441bI/j1asSjEAgxMCZ2LImcktH3Gky\n\tgQ9dYfCsAy9JJbzEM42b14/NdZPBrV19NpsrGnAFLT/UNK5Yi3loKvqkGgFG+sf9EdTfacTrlT3\n\tjJKRzZcxuMYA+WPfQo0FOUr1mozqqbM", "X-Received": "by 2002:a05:600c:5304:b0:48e:51f8:eb38 with SMTP id\n\t5b1f17b1804b1-48e51f8eb70mr89797955e9.27.1778105289264; \n\tWed, 06 May 2026 15:08:09 -0700 (PDT)", "From": "d3vv3 <devve.3@gmail.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "d3vv3 <devve.3@gmail.com>", "Subject": "[PATCH v2 3/9] ipa: simple: data: Add OV01A10 tuning file", "Date": "Thu, 7 May 2026 00:08:06 +0200", "Message-ID": "<20260506220806.866289-1-devve.3@gmail.com>", "X-Mailer": "git-send-email 2.54.0", "In-Reply-To": "<20260501191400.985920-3-devve.3@gmail.com>", "References": "<20260501191400.985920-3-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---\nIt was a best effort file before, but now I have extracted the actual\ntuning data from the AIQB binary, so update the commit message and add\nthe new YAML file. I could not extract the black level from the AIQB\nbinary, so leave it as auto-detected at runtime.\n\nAs for the each row of the CCMs summing to 1.0, you are absolutely\nright. I add a test on a patch, before we start adding more\ntuning files.\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..fa5afcdd\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: 1.4\n+ hysteresis: 0.5\n+ stepDenominator: 20\n+...\n", "prefixes": [ "v2", "3/9" ] }