From patchwork Mon Sep 14 15:14:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Felder X-Patchwork-Id: 28297 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 766B9C3200 for ; Mon, 14 Sep 2026 15:14:16 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 50085686B5; Mon, 14 Sep 2026 17:14:15 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="D5Bw+qRn"; dkim-atps=neutral Received: from mail-lf2-x10.google.com (mail-lf2-x10.google.com [IPv6:2a00:1450:4864:36::10]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 28634686A2 for ; Mon, 14 Sep 2026 17:14:13 +0200 (CEST) Received: by mail-lf2-x10.google.com with SMTP id 2adb3069b0e04-5b76668f4ddso974680e87.1 for ; Mon, 14 Sep 2026 08:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789398852; x=1790003652; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=PDPHPhUgGID81C8R3hU2aqKPLQvsoO2zq4rHEkuoez4=; b=D5Bw+qRngNjjQuzpOn0otaZOWrHfRO9Q4nwGN9F3yo0oA304Bsh/tdFaZ2+PA5447d B1hveVhixYnklZ3qOUh2hsslpt/OjZv5xrkaOVSBcV8I01c3QqS5UQhkKIOsM+q+99pg qHaf7yZbav4oDzedjeIPfBTml4Qlmld36O8n5VOHq8TlFotMc8v+Sf1h0ffe6RqNDF+O pZoVp6iFOo9KtWEZ/hP5Zg6o5eMDSRtyetPbc6YwqZ8uQPrAs2Q8ujIox+LLqq/FqxEJ 5QjqDoTTJHU13/YTosj1P7d/s+cbhB70ZQtLmCi79mIWOx4Ox5gLFgGkBnYAsEka7MSs DwAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789398852; x=1790003652; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=PDPHPhUgGID81C8R3hU2aqKPLQvsoO2zq4rHEkuoez4=; b=e2GSB+vBSD+eug6AG46TAGSxZ0xndSy2bm96Fo8yjC9O+oJ5cNvi2f6ZfKJMYozy7u GBEZO6bNslWirK8EDTfrexqbGDFnr6GEULh/sI9uKktLeDTX882MeTTnpxpp3G7V61HI QMwMYhyLPqoUpQr9fCG5qfO24U3rKONdfDLxFa+MtzNS1QgJEplihFIugABEqq0/QcqT i2Jk3zrpJlHV0a5YediuAMWve5CnucBRFxqzInetOSFPUkfN7fLv2Sg+WW9nV1V4qGXy zDjl5bNNjieF9lcB3nKBMXj4qug2M4/VTMpk47O8yYoHbblH8Eku/ZG0YRF+aA8bLX6F es6g== X-Gm-Message-State: AFuF++kcJqp73bJ5u5Wr29qH03rStagWMX2GAabMSSLJ0ATKD45jNL2F QtJb1vMnCSjmlHj8xInz8mjkw095eqghYbwsZtoECRCcd5Jjc3YptLQHURPBXA== X-Gm-Gg: AYBFou2YmsQ3ypfwutycxcGmkOfh078g1HoMwVejUtrW9HzGZDLHY52lfnkK7TSo03z Z/hrC21oW9hhQ2Htx6tPWpUNJJvPqPRTDcph1SpWdyxKs5utyyrUy/LdG1wpvRZnqsU0vrtv0/D Egv1LoRpGOdJyqgv2yOxIhXweiPz7OGnyQ8v8XjilGg59v+wbGjlB96ThBzgxPrXdatcA2CiFWX 13rChJ9zg96WP7lZKnRapAnx934hn1FRa+Q8CVy3W2WOQMRn7C50NTHW5bIckbNfkUUQ0uVcWmM T8DUIeYpjVzWPohoCfFhg5nlLocZw9J9cTXJC8uUB2HAT0jBiYEb43rrNBDX4qXfA908YjfTIPu ytM+LTIebtEto/1nPLKt6TSU2sirn99u3JI+p5rxoJcRUsjyI5D+2+fD4ddAQ4++ME9qKdOn4IN 45+lamwk+ckRh9l+EzvfLJkdSv4gDoqds3EnJqoWOl+Hb+4yRg+F9q62GIpeYT3cfDjySnXy42f v5HddWSx/o0LEl1V1ec3RsVguAj50bCX6qs6jvOXPyU/DQj3ofmlTYskpa1tiA+uBo1qeHMJWCP VWgoVnlIuetLQsA= X-Received: by 2002:a05:6512:3c87:b0:5b8:99c4:a17 with SMTP id 2adb3069b0e04-5b8ae65d757mr659439e87.21.1789398851869; Mon, 14 Sep 2026 08:14:11 -0700 (PDT) Received: from armin-System.lan (2a02-8388-8cb4-cb7c-12a4-01db-7f14-b802.cable.dynamic.v6.surfer.at. [2a02:8388:8cb4:cb7c:12a4:1db:7f14:b802]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b8a047b678sm2611312e87.78.2026.09.14.08.14.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2026 08:14:10 -0700 (PDT) From: Armin Felder To: libcamera-devel@lists.libcamera.org Subject: [PATCH] ipa: softisp: Add Omnivision OV08x40 tuning data file Date: Mon, 14 Sep 2026 17:14:03 +0200 Message-ID: <20260914151406.2151132-1-armin.felder@gmail.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add a tuning data file for the OV08x40 sensor. Measurement has been done with a CJFME55 sensor module in a Thinkpad X1 Gen13(Arrow Lake). Black level has been measured on the device. TheColor Correction matrix has been calculated using a ColourChecker Classic card. Color temperature has been measured using Xrite i1Display Pro. Signed-off-by: Armin Felder --- src/ipa/softisp/data/meson.build | 1 + src/ipa/softisp/data/ov08x40.yaml | 65 +++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 src/ipa/softisp/data/ov08x40.yaml diff --git a/src/ipa/softisp/data/meson.build b/src/ipa/softisp/data/meson.build index fd9aa0fab..b7ae471a4 100644 --- a/src/ipa/softisp/data/meson.build +++ b/src/ipa/softisp/data/meson.build @@ -1,6 +1,7 @@ # SPDX-License-Identifier: CC0-1.0 conf_files = files([ + 'ov08x40.yaml', 'uncalibrated.yaml', ]) diff --git a/src/ipa/softisp/data/ov08x40.yaml b/src/ipa/softisp/data/ov08x40.yaml new file mode 100644 index 000000000..92015eba7 --- /dev/null +++ b/src/ipa/softisp/data/ov08x40.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: CC0-1.0 +%YAML 1.1 +--- +version: 1 +algorithms: + - BlackLevel: + blackLevel: 4096 + - Awb: + - Ccm: + ccms: + - ct: 2100 + ccm: [ 1.7821, -0.4268, -0.3553, + -0.5415, 1.6171, -0.0757, + -0.7540, -2.0015, 3.7555 ] + - ct: 2300 + ccm: [ 1.7411, -0.4919, -0.2491, + -0.4701, 1.5998, -0.1298, + -0.4854, -1.7248, 3.2103 ] + - ct: 2500 + ccm: [ 1.7245, -0.4994, -0.2250, + -0.4298, 1.6132, -0.1834, + -0.3432, -1.5515, 2.8947 ] + - ct: 2700 + ccm: [ 1.7072, -0.5134, -0.1938, + -0.3948, 1.6203, -0.2255, + -0.2409, -1.3825, 2.6234 ] + - ct: 2900 + ccm: [ 1.7261, -0.5497, -0.1764, + -0.3584, 1.6376, -0.2792, + -0.1658, -1.2535, 2.4193 ] + - ct: 3700 + ccm: [ 1.7169, -0.6048, -0.1122, + -0.3050, 1.7037, -0.3986, + -0.0732, -1.0259, 2.0991 ] + - ct: 4600 + ccm: [ 1.7315, -0.6340, -0.0975, + -0.2628, 1.7934, -0.5305, + -0.0377, -0.8920, 1.9297 ] + - ct: 4800 + ccm: [ 1.9756, -0.7783, -0.1973, + -0.2313, 1.8720, -0.6407, + -0.0008, -0.7785, 1.7793 ] + - ct: 5900 + ccm: [ 1.9718, -0.7662, -0.2056, + -0.3291, 1.9092, -0.5801, + -0.1101, -0.6929, 1.8030 ] + - ct: 6500 + ccm: [ 2.0802, -0.8608, -0.2194, + -0.2209, 1.8596, -0.6387, + -0.0186, -0.7058, 1.7245 ] + - ct: 6900 + ccm: [ 1.8597, -0.7717, -0.0879, + -0.2444, 1.6964, -0.4520, + -0.0437, -0.6180, 1.6617 ] + - ct: 7100 + ccm: [ 1.9438, -0.8024, -0.1414, + -0.2460, 1.7954, -0.5493, + -0.0227, -0.6850, 1.7076 ] + - ct: 7200 + ccm: [ 1.9522, -0.7945, -0.1577, + -0.2952, 1.8362, -0.5410, + -0.1151, -0.5942, 1.7094 ] + - Adjust: + - Agc: +...