{"id":16624,"url":"https://patchwork.libcamera.org/api/patches/16624/?format=json","web_url":"https://patchwork.libcamera.org/patch/16624/","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":"<20220714094143.4399-2-william.vinnicombe@raspberrypi.com>","date":"2022-07-14T09:41:43","name":"[libcamera-devel,1/1] ipa: raspberrypi: Update imx296 tuning file","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"7a1a7826f193383de07dc972e8bb6afd0171ca0d","submitter":{"id":97,"url":"https://patchwork.libcamera.org/api/people/97/?format=json","name":"Nicolas Dufresne via libcamera-devel","email":"libcamera-devel@lists.libcamera.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/16624/mbox/","series":[{"id":3282,"url":"https://patchwork.libcamera.org/api/series/3282/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3282","date":"2022-07-14T09:41:42","name":"Update imx296 Tuning File","version":1,"mbox":"https://patchwork.libcamera.org/series/3282/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16624/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16624/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 D76E8BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 14 Jul 2022 09:42:12 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BE40363316;\n\tThu, 14 Jul 2022 11:42:11 +0200 (CEST)","from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com\n\t[IPv6:2a00:1450:4864:20::42d])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C759F6330E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 14 Jul 2022 11:42:10 +0200 (CEST)","by mail-wr1-x42d.google.com with SMTP id v16so1749662wrd.13\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 14 Jul 2022 02:42:10 -0700 (PDT)","from wv-laptop.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\ti16-20020a05600c355000b003a2f88b2559sm4605905wmq.44.2022.07.14.02.42.09\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 14 Jul 2022 02:42:09 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1657791731;\n\tbh=uuj0ZDrX6YL/uUF8Km9JVGh8Mh9LcUKqF93bFV2x/0M=;\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=fAkrFyprHuHO5bNtvafyJmofEsjZIKQKdExQRN+WNmO+vtckW5G/eoGV3zlLWsls3\n\tCeLyVgzAMh2DBrrjKcewKRAoXxhWJPrJ/CwRRInxvsScLsd+R/wwiwoUBLTmssLhw8\n\tnGjzkGyjOjZoIA8qz6T7RFCGdilsTM/pn72ugtiC4x2/+TX0MXfCa3G7joxNLwk2S/\n\tk9Dul5DuxywzyvHjICIrFOKdCx/M1PZJklgsqBTJ4sEfc9AVNdjZ8Hw7Zm989QRiAh\n\tghffw3YtxXSz7bQPA2n+UN5koS6JqQxB5qot8TxkD7WjRpwWDogcYW8uZCCilMTp6H\n\tnraEZkRTkZ+XQ==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=KyTkoDiObmRjVv6iLO/3RpakViDwe8w9VxE/Q5+nmAg=;\n\tb=PFJZ8JAZvQ3GC+5IrB62/OqgzcpOYka83+G49KULmHfEERUXSa8vYh5U9P0aYBP1CU\n\tewu/ZM7L9lzAmlu42L9R1THwlGoP+eXaE52gmXThlruTP/qvIMH8+G4gBS8BO1174kLF\n\tKrc0tb3OYn5HrYF0wM7ujzIY70dbBNaX9hmyh4zFcgHxhf5fqjXVTsAJN3XVFGL3yqX/\n\toOi77rUMnO46VCTmci5aSbQHrJ8LUdRyfBVmh7v+ukUuHdf23pKNMxU2tiGco2e4adAs\n\txwiY3+Xzqt0ePfSYOQRv29OMOYLODUifPJjIDGttDYw3avTFLMk9I4jGK0IyBn1LwY8j\n\t1N3Q=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"PFJZ8JAZ\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=KyTkoDiObmRjVv6iLO/3RpakViDwe8w9VxE/Q5+nmAg=;\n\tb=5lD65qJBzQFb1+dPU8Ng5jw87rCsCOkkyMpuHG9UhgrjYwjiy6IqDqZR8O4VphidAJ\n\t+jOweAbuucPxLX/AWnjxMzll5QIH3HxG5jKPvqytbT/0YDjZJXa8yb/jY9dtX1ZRe48k\n\tPgnGvn6K21lLYs0qotTtrVMpdbOC4y4rdD/F6vSEKUhZqZRkS2tdN/6G0xWcfmY/XfTA\n\tfWzynlbehq3/dWztOK/wmKTofSPqSCZSWFbnwK7iBLyAQCkHCoWJbVy4LFF92kg3Acd+\n\tNiVbBGI7RExROx/Dd3HkE3irLIEs+jpycb0Sl59s50LYi16Uy/i2NSmAYKaFYyO8APBv\n\tth4g==","X-Gm-Message-State":"AJIora+Bk4qqCaQcxqdNbsRLhWPpr1OAjxlhDj9ISgURPy8lrgOiV1Hs\n\ttQVhFxTM5UJbGjbREGwVqC0Je14HB2uH+Q==","X-Google-Smtp-Source":"AGRyM1vLL7+VEAAoRwKf+6z1uUgU+wunwwAUzH2kfyF0nlm5o3hbNiiLQeL3D44GhmBVaU+rH6gvYg==","X-Received":"by 2002:a05:6000:156f:b0:21d:887f:8ddf with SMTP id\n\t15-20020a056000156f00b0021d887f8ddfmr7293385wrz.534.1657791729651; \n\tThu, 14 Jul 2022 02:42:09 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 14 Jul 2022 10:41:43 +0100","Message-Id":"<20220714094143.4399-2-william.vinnicombe@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20220714094143.4399-1-william.vinnicombe@raspberrypi.com>","References":"<20220714094143.4399-1-william.vinnicombe@raspberrypi.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 1/1] ipa: raspberrypi: Update imx296\n\ttuning file","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":"William Vinnicombe via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"william.vinnicombe@raspberrypi.com","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"From: William Vinnicombe <william.vinnicombe@raspberrypi.com>\n\nThe previous tuning values for the imx296 are not accurate, and do not\ncontain awb parameters.\n\nUpdate the tuning file using the raspberrypi ctt tool to give accurate\nvalues, and all required parameters.\n\nSigned-off-by: William Vinnicombe <william.vinnicombe@raspberrypi.com>\n---\n src/ipa/raspberrypi/data/imx296.json | 268 ++++++++++++++++++++++-----\n 1 file changed, 217 insertions(+), 51 deletions(-)","diff":"diff --git a/src/ipa/raspberrypi/data/imx296.json b/src/ipa/raspberrypi/data/imx296.json\nindex 837feff5..4d9d0e8b 100644\n--- a/src/ipa/raspberrypi/data/imx296.json\n+++ b/src/ipa/raspberrypi/data/imx296.json\n@@ -8,25 +8,97 @@\n     },\n     \"rpi.lux\":\n     {\n-        \"reference_shutter_speed\": 19184,\n-        \"reference_gain\": 1.0,\n+        \"reference_shutter_speed\": 17895,\n+        \"reference_gain\": 1.99,\n         \"reference_aperture\": 1.0,\n-        \"reference_lux\": 432,\n-        \"reference_Y\": 13773\n+        \"reference_lux\": 1147,\n+        \"reference_Y\": 13348\n     },\n     \"rpi.noise\":\n     {\n-        \"reference_constant\": 0,\n-        \"reference_slope\": 2.957\n+        \"reference_constant\": 1,\n+        \"reference_slope\": 2.631\n     },\n     \"rpi.geq\":\n     {\n-        \"offset\": 185,\n-        \"slope\": 0.0105\n+        \"offset\": 182,\n+        \"slope\": 0.0127\n     },\n     \"rpi.sdn\":\n     {\n     },\n+    \"rpi.awb\":\n+    {\n+        \"priors\":\n+        [\n+            {\n+                \"lux\": 0, \"prior\":\n+                [\n+                    2000, 1.0, 3000, 0.0, 13000, 0.0\n+                ]\n+            },\n+            {\n+                \"lux\": 800, \"prior\":\n+                [\n+                    2000, 0.0, 6000, 2.0, 13000, 2.0\n+                ]\n+            },\n+            {\n+                \"lux\": 1500, \"prior\":\n+                [\n+                    2000, 0.0, 4000, 1.0, 6000, 6.0, 6500, 7.0, 7000, 1.0, 13000, 1.0\n+                ]\n+            }\n+        ],\n+        \"modes\":\n+        {\n+            \"auto\":\n+            {\n+                \"lo\": 2500,\n+                \"hi\": 8000\n+            },\n+            \"incandescent\":\n+            {\n+                \"lo\": 2500,\n+                \"hi\": 3000\n+            },\n+            \"tungsten\":\n+            {\n+                \"lo\": 3000,\n+                \"hi\": 3500\n+            },\n+            \"fluorescent\":\n+            {\n+                \"lo\": 4000,\n+                \"hi\": 4700\n+            },\n+            \"indoor\":\n+            {\n+                \"lo\": 3000,\n+                \"hi\": 5000\n+            },\n+            \"daylight\":\n+            {\n+                \"lo\": 5500,\n+                \"hi\": 6500\n+            },\n+            \"cloudy\":\n+            {\n+                \"lo\": 7000,\n+                \"hi\": 8600\n+            }\n+        },\n+        \"bayes\": 1,\n+        \"ct_curve\":\n+        [\n+            2861.0, 0.4281, 0.2614, 2915.0, 0.4266, 0.2639, 2916.0, 0.4112, 0.2913, 2934.0, 0.4099, 0.2935, 3626.0, 0.3604, 0.3777, 4617.0,\n+            0.2776, 0.5093, 5674.0, 0.2567, 0.5409, 7617.0, 0.1789, 0.6527\n+        ],\n+        \"sensitivity_r\": 1.0,\n+        \"sensitivity_b\": 1.0,\n+        \"transverse_pos\": 0.02994,\n+        \"transverse_neg\": 0.04332\n+    },\n     \"rpi.agc\":\n     {\n         \"metering_modes\":\n@@ -113,65 +185,99 @@\n     \"rpi.alsc\":\n     {\n         \"omega\": 1.3,\n-        \"n_iter\": 0,\n+        \"n_iter\": 100,\n         \"luminance_strength\": 0.5,\n         \"calibrations_Cr\":\n         [\n             {\n-                \"ct\": 4000, \"table\":\n-                [\n-                    2.554, 2.554, 2.541, 2.534, 2.495, 2.506, 2.516, 2.517, 2.518, 2.515, 2.513, 2.495, 2.481, 2.533, 2.533, 2.521,\n-                    2.522, 2.534, 2.539, 2.531, 2.531, 2.506, 2.506, 2.513, 2.513, 2.509, 2.498, 2.496, 2.508, 2.517, 2.521, 2.521,\n-                    2.509, 2.517, 2.534, 2.529, 2.531, 2.521, 2.517, 2.517, 2.515, 2.514, 2.506, 2.499, 2.508, 2.508, 2.521, 2.537,\n-                    2.507, 2.508, 2.517, 2.516, 2.495, 2.487, 2.519, 2.534, 2.535, 2.531, 2.499, 2.494, 2.501, 2.511, 2.526, 2.526,\n-                    2.509, 2.517, 2.507, 2.501, 2.494, 2.519, 2.539, 2.539, 2.537, 2.537, 2.533, 2.499, 2.503, 2.511, 2.529, 2.525,\n-                    2.521, 2.522, 2.476, 2.501, 2.501, 2.539, 2.546, 2.538, 2.531, 2.538, 2.541, 2.531, 2.529, 2.526, 2.529, 2.525,\n-                    2.516, 2.519, 2.469, 2.499, 2.499, 2.543, 2.543, 2.531, 2.528, 2.534, 2.541, 2.535, 2.531, 2.526, 2.531, 2.528,\n-                    2.509, 2.515, 2.465, 2.487, 2.487, 2.539, 2.543, 2.539, 2.533, 2.549, 2.542, 2.531, 2.529, 2.524, 2.532, 2.533,\n-                    2.499, 2.499, 2.475, 2.482, 2.471, 2.509, 2.539, 2.544, 2.543, 2.545, 2.533, 2.498, 2.521, 2.521, 2.537, 2.536,\n-                    2.499, 2.488, 2.488, 2.488, 2.471, 2.462, 2.509, 2.539, 2.539, 2.532, 2.498, 2.498, 2.518, 2.518, 2.539, 2.539,\n-                    2.483, 2.484, 2.488, 2.488, 2.502, 2.496, 2.508, 2.514, 2.518, 2.517, 2.521, 2.518, 2.518, 2.518, 2.525, 2.539,\n-                    2.483, 2.487, 2.478, 2.478, 2.507, 2.509, 2.514, 2.513, 2.514, 2.517, 2.536, 2.559, 2.501, 2.501, 2.503, 2.525\n+                \"ct\": 2943, \"table\":\n+                [\n+                    2.153, 2.154, 2.154, 2.153, 2.153, 2.153, 2.153, 2.151, 2.151, 2.149, 2.149, 2.149, 2.149, 2.149, 2.151, 2.153,\n+                    2.154, 2.155, 2.155, 2.154, 2.154, 2.154, 2.153, 2.152, 2.151, 2.149, 2.149, 2.149, 2.149, 2.149, 2.151, 2.152,\n+                    2.155, 2.155, 2.155, 2.154, 2.154, 2.154, 2.153, 2.151, 2.151, 2.149, 2.149, 2.149, 2.149, 2.149, 2.151, 2.152,\n+                    2.154, 2.154, 2.155, 2.153, 2.153, 2.153, 2.152, 2.151, 2.149, 2.149, 2.149, 2.149, 2.148, 2.148, 2.149, 2.151,\n+                    2.153, 2.153, 2.153, 2.152, 2.152, 2.152, 2.151, 2.149, 2.149, 2.149, 2.149, 2.148, 2.148, 2.148, 2.149, 2.151,\n+                    2.153, 2.153, 2.152, 2.152, 2.152, 2.152, 2.151, 2.149, 2.149, 2.148, 2.148, 2.148, 2.147, 2.147, 2.148, 2.149,\n+                    2.152, 2.153, 2.152, 2.151, 2.151, 2.151, 2.151, 2.151, 2.149, 2.148, 2.148, 2.147, 2.147, 2.147, 2.148, 2.149,\n+                    2.152, 2.152, 2.152, 2.151, 2.151, 2.151, 2.151, 2.149, 2.148, 2.147, 2.146, 2.147, 2.147, 2.148, 2.149, 2.151,\n+                    2.152, 2.152, 2.152, 2.151, 2.151, 2.151, 2.151, 2.151, 2.149, 2.147, 2.146, 2.147, 2.148, 2.149, 2.152, 2.152,\n+                    2.152, 2.154, 2.154, 2.152, 2.152, 2.152, 2.152, 2.151, 2.151, 2.149, 2.149, 2.149, 2.151, 2.152, 2.153, 2.153,\n+                    2.155, 2.156, 2.155, 2.154, 2.152, 2.152, 2.152, 2.151, 2.151, 2.149, 2.149, 2.149, 2.151, 2.152, 2.153, 2.153,\n+                    2.155, 2.155, 2.155, 2.154, 2.152, 2.151, 2.151, 2.149, 2.148, 2.148, 2.149, 2.149, 2.151, 2.152, 2.152, 2.154\n+                ]\n+            },\n+            {\n+                \"ct\": 6097, \"table\":\n+                [\n+                    3.604, 3.605, 3.607, 3.605, 3.604, 3.604, 3.603, 3.602, 3.598, 3.594, 3.593, 3.593, 3.593, 3.593, 3.596, 3.602,\n+                    3.604, 3.607, 3.611, 3.609, 3.609, 3.608, 3.606, 3.602, 3.599, 3.596, 3.596, 3.594, 3.594, 3.594, 3.598, 3.602,\n+                    3.606, 3.611, 3.612, 3.609, 3.611, 3.609, 3.608, 3.602, 3.599, 3.597, 3.596, 3.595, 3.594, 3.594, 3.597, 3.599,\n+                    3.606, 3.609, 3.611, 3.607, 3.607, 3.606, 3.603, 3.599, 3.597, 3.595, 3.595, 3.593, 3.593, 3.592, 3.593, 3.596,\n+                    3.604, 3.607, 3.607, 3.604, 3.603, 3.602, 3.599, 3.597, 3.596, 3.595, 3.595, 3.594, 3.592, 3.591, 3.591, 3.594,\n+                    3.606, 3.607, 3.606, 3.604, 3.602, 3.601, 3.599, 3.597, 3.597, 3.596, 3.596, 3.595, 3.593, 3.591, 3.589, 3.592,\n+                    3.604, 3.606, 3.605, 3.603, 3.602, 3.602, 3.599, 3.598, 3.596, 3.595, 3.595, 3.595, 3.591, 3.589, 3.591, 3.592,\n+                    3.604, 3.604, 3.605, 3.602, 3.601, 3.601, 3.599, 3.598, 3.597, 3.595, 3.593, 3.591, 3.589, 3.591, 3.592, 3.596,\n+                    3.604, 3.605, 3.606, 3.602, 3.601, 3.601, 3.601, 3.599, 3.597, 3.595, 3.593, 3.591, 3.589, 3.594, 3.598, 3.599,\n+                    3.609, 3.613, 3.615, 3.611, 3.609, 3.609, 3.608, 3.605, 3.603, 3.599, 3.598, 3.597, 3.598, 3.601, 3.603, 3.603,\n+                    3.613, 3.616, 3.616, 3.613, 3.609, 3.609, 3.608, 3.606, 3.604, 3.602, 3.599, 3.599, 3.599, 3.602, 3.605, 3.605,\n+                    3.615, 3.616, 3.616, 3.613, 3.611, 3.604, 3.604, 3.601, 3.601, 3.599, 3.599, 3.599, 3.601, 3.602, 3.604, 3.604\n                 ]\n             }\n         ],\n         \"calibrations_Cb\":\n         [\n             {\n-                \"ct\": 4000, \"table\":\n-                [\n-                    2.619, 2.603, 2.599, 2.597, 2.595, 2.594, 2.589, 2.587, 2.586, 2.589, 2.592, 2.597, 2.601, 2.608, 2.621, 2.621,\n-                    2.619, 2.615, 2.603, 2.601, 2.596, 2.595, 2.591, 2.589, 2.589, 2.592, 2.599, 2.593, 2.601, 2.613, 2.622, 2.631,\n-                    2.617, 2.617, 2.612, 2.611, 2.604, 2.598, 2.593, 2.591, 2.592, 2.591, 2.593, 2.595, 2.599, 2.614, 2.623, 2.631,\n-                    2.624, 2.619, 2.615, 2.612, 2.605, 2.602, 2.597, 2.596, 2.592, 2.592, 2.595, 2.599, 2.602, 2.606, 2.619, 2.624,\n-                    2.629, 2.627, 2.627, 2.617, 2.609, 2.598, 2.612, 2.623, 2.615, 2.604, 2.589, 2.595, 2.599, 2.608, 2.611, 2.614,\n-                    2.629, 2.632, 2.637, 2.627, 2.612, 2.612, 2.629, 2.631, 2.628, 2.621, 2.604, 2.597, 2.598, 2.604, 2.609, 2.609,\n-                    2.635, 2.636, 2.642, 2.628, 2.623, 2.623, 2.636, 2.636, 2.634, 2.628, 2.616, 2.599, 2.597, 2.601, 2.603, 2.601,\n-                    2.641, 2.639, 2.646, 2.632, 2.627, 2.625, 2.632, 2.635, 2.634, 2.627, 2.614, 2.596, 2.595, 2.599, 2.599, 2.598,\n-                    2.643, 2.644, 2.651, 2.649, 2.629, 2.617, 2.624, 2.629, 2.625, 2.614, 2.586, 2.599, 2.595, 2.597, 2.592, 2.595,\n-                    2.645, 2.646, 2.649, 2.649, 2.638, 2.624, 2.616, 2.617, 2.609, 2.604, 2.603, 2.603, 2.595, 2.589, 2.587, 2.592,\n-                    2.641, 2.643, 2.649, 2.647, 2.638, 2.618, 2.615, 2.608, 2.602, 2.595, 2.596, 2.595, 2.593, 2.584, 2.581, 2.583,\n-                    2.638, 2.637, 2.647, 2.634, 2.634, 2.618, 2.621, 2.621, 2.611, 2.602, 2.596, 2.583, 2.581, 2.581, 2.576, 2.574\n+                \"ct\": 2943, \"table\":\n+                [\n+                    3.361, 3.369, 3.379, 3.385, 3.391, 3.397, 3.401, 3.401, 3.399, 3.396, 3.394, 3.391, 3.383, 3.382, 3.376, 3.375,\n+                    3.365, 3.372, 3.381, 3.387, 3.391, 3.398, 3.403, 3.403, 3.402, 3.399, 3.396, 3.392, 3.388, 3.382, 3.378, 3.374,\n+                    3.366, 3.377, 3.384, 3.388, 3.391, 3.399, 3.403, 3.405, 3.405, 3.401, 3.399, 3.393, 3.388, 3.384, 3.381, 3.374,\n+                    3.366, 3.378, 3.385, 3.389, 3.394, 3.398, 3.402, 3.405, 3.405, 3.404, 3.399, 3.393, 3.389, 3.385, 3.383, 3.369,\n+                    3.364, 3.377, 3.383, 3.388, 3.394, 3.398, 3.401, 3.404, 3.404, 3.404, 3.401, 3.394, 3.391, 3.386, 3.383, 3.371,\n+                    3.361, 3.376, 3.381, 3.387, 3.394, 3.397, 3.401, 3.402, 3.404, 3.403, 3.399, 3.397, 3.391, 3.387, 3.381, 3.371,\n+                    3.359, 3.373, 3.379, 3.385, 3.394, 3.396, 3.399, 3.401, 3.402, 3.401, 3.398, 3.396, 3.392, 3.385, 3.381, 3.371,\n+                    3.358, 3.368, 3.376, 3.381, 3.391, 3.395, 3.397, 3.399, 3.399, 3.397, 3.396, 3.392, 3.389, 3.383, 3.378, 3.365,\n+                    3.357, 3.366, 3.373, 3.379, 3.383, 3.392, 3.394, 3.396, 3.396, 3.393, 3.391, 3.388, 3.386, 3.382, 3.377, 3.365,\n+                    3.355, 3.362, 3.369, 3.374, 3.379, 3.385, 3.391, 3.393, 3.393, 3.392, 3.388, 3.385, 3.383, 3.379, 3.375, 3.362,\n+                    3.351, 3.354, 3.363, 3.369, 3.374, 3.379, 3.385, 3.387, 3.391, 3.385, 3.383, 3.382, 3.378, 3.377, 3.363, 3.361,\n+                    3.351, 3.352, 3.357, 3.359, 3.365, 3.371, 3.374, 3.375, 3.375, 3.375, 3.373, 3.367, 3.366, 3.366, 3.361, 3.362\n+                ]\n+            },\n+            {\n+                \"ct\": 6097, \"table\":\n+                [\n+                    1.654, 1.657, 1.662, 1.665, 1.666, 1.669, 1.671, 1.672, 1.671, 1.669, 1.668, 1.666, 1.661, 1.661, 1.658, 1.656,\n+                    1.655, 1.659, 1.663, 1.665, 1.667, 1.671, 1.672, 1.672, 1.673, 1.671, 1.669, 1.667, 1.663, 1.661, 1.659, 1.656,\n+                    1.656, 1.661, 1.665, 1.666, 1.668, 1.671, 1.673, 1.673, 1.674, 1.672, 1.669, 1.668, 1.664, 1.662, 1.659, 1.656,\n+                    1.656, 1.661, 1.665, 1.667, 1.668, 1.671, 1.673, 1.674, 1.674, 1.673, 1.671, 1.668, 1.665, 1.663, 1.661, 1.655,\n+                    1.656, 1.662, 1.665, 1.667, 1.669, 1.671, 1.673, 1.673, 1.674, 1.672, 1.671, 1.668, 1.665, 1.662, 1.661, 1.656,\n+                    1.655, 1.661, 1.664, 1.667, 1.669, 1.672, 1.672, 1.673, 1.673, 1.672, 1.671, 1.669, 1.666, 1.662, 1.661, 1.656,\n+                    1.654, 1.659, 1.663, 1.666, 1.669, 1.671, 1.672, 1.673, 1.673, 1.672, 1.671, 1.669, 1.666, 1.662, 1.661, 1.655,\n+                    1.653, 1.658, 1.662, 1.664, 1.668, 1.669, 1.672, 1.672, 1.672, 1.671, 1.669, 1.667, 1.665, 1.661, 1.659, 1.653,\n+                    1.652, 1.656, 1.659, 1.663, 1.666, 1.668, 1.669, 1.671, 1.671, 1.669, 1.667, 1.665, 1.663, 1.659, 1.657, 1.653,\n+                    1.649, 1.654, 1.658, 1.661, 1.663, 1.666, 1.668, 1.669, 1.668, 1.667, 1.665, 1.663, 1.661, 1.659, 1.657, 1.651,\n+                    1.646, 1.649, 1.654, 1.658, 1.661, 1.662, 1.664, 1.665, 1.666, 1.664, 1.662, 1.661, 1.659, 1.657, 1.651, 1.648,\n+                    1.645, 1.646, 1.651, 1.653, 1.655, 1.657, 1.659, 1.659, 1.659, 1.658, 1.657, 1.656, 1.653, 1.653, 1.649, 1.648\n                 ]\n             }\n         ],\n         \"luminance_lut\":\n         [\n-            1.308, 1.293, 1.228, 1.175, 1.139, 1.108, 1.092, 1.082, 1.082, 1.086, 1.097, 1.114, 1.149, 1.199, 1.279, 1.303,\n-            1.293, 1.249, 1.199, 1.162, 1.136, 1.109, 1.087, 1.077, 1.072, 1.081, 1.095, 1.103, 1.133, 1.172, 1.225, 1.282,\n-            1.251, 1.212, 1.186, 1.159, 1.129, 1.114, 1.102, 1.088, 1.088, 1.088, 1.095, 1.117, 1.123, 1.158, 1.198, 1.249,\n-            1.223, 1.192, 1.177, 1.163, 1.147, 1.139, 1.132, 1.112, 1.111, 1.107, 1.113, 1.118, 1.139, 1.155, 1.186, 1.232,\n-            1.207, 1.186, 1.171, 1.162, 1.168, 1.163, 1.153, 1.138, 1.129, 1.128, 1.132, 1.136, 1.149, 1.167, 1.189, 1.216,\n-            1.198, 1.186, 1.176, 1.176, 1.177, 1.185, 1.171, 1.157, 1.146, 1.144, 1.146, 1.149, 1.161, 1.181, 1.201, 1.221,\n-            1.203, 1.181, 1.176, 1.178, 1.191, 1.189, 1.188, 1.174, 1.159, 1.153, 1.158, 1.161, 1.169, 1.185, 1.211, 1.227,\n-            1.211, 1.179, 1.177, 1.187, 1.194, 1.196, 1.194, 1.187, 1.176, 1.169, 1.171, 1.171, 1.175, 1.189, 1.214, 1.226,\n-            1.219, 1.182, 1.184, 1.191, 1.195, 1.199, 1.197, 1.194, 1.188, 1.185, 1.179, 1.179, 1.182, 1.194, 1.212, 1.227,\n-            1.237, 1.192, 1.194, 1.194, 1.198, 1.199, 1.198, 1.197, 1.196, 1.193, 1.189, 1.189, 1.192, 1.203, 1.214, 1.231,\n-            1.282, 1.199, 1.199, 1.197, 1.199, 1.199, 1.192, 1.193, 1.193, 1.194, 1.196, 1.197, 1.206, 1.216, 1.228, 1.244,\n-            1.309, 1.236, 1.204, 1.203, 1.202, 1.194, 1.194, 1.188, 1.192, 1.192, 1.199, 1.201, 1.212, 1.221, 1.235, 1.247\n+            1.054, 1.059, 1.063, 1.063, 1.063, 1.063, 1.062, 1.062, 1.062, 1.062, 1.061, 1.059, 1.056, 1.052, 1.045, 1.043,\n+            1.055, 1.061, 1.065, 1.064, 1.065, 1.064, 1.063, 1.062, 1.063, 1.063, 1.061, 1.059, 1.057, 1.054, 1.049, 1.045,\n+            1.057, 1.062, 1.064, 1.063, 1.072, 1.072, 1.072, 1.062, 1.062, 1.062, 1.059, 1.058, 1.056, 1.054, 1.051, 1.047,\n+            1.058, 1.061, 1.063, 1.061, 1.062, 1.073, 1.073, 1.059, 1.058, 1.057, 1.057, 1.056, 1.055, 1.053, 1.051, 1.047,\n+            1.057, 1.059, 1.061, 1.059, 1.059, 1.059, 1.054, 1.054, 1.056, 1.056, 1.056, 1.055, 1.054, 1.052, 1.049, 1.043,\n+            1.055, 1.057, 1.059, 1.057, 1.056, 1.052, 1.049, 1.049, 1.053, 1.054, 1.054, 1.052, 1.051, 1.049, 1.043, 1.041,\n+            1.049, 1.053, 1.054, 1.055, 1.052, 1.049, 1.045, 1.043, 1.044, 1.047, 1.047, 1.046, 1.047, 1.044, 1.039, 1.035,\n+            1.045, 1.048, 1.049, 1.053, 1.047, 1.045, 1.041, 1.039, 1.041, 1.042, 1.042, 1.042, 1.041, 1.038, 1.033, 1.028,\n+            1.032, 1.045, 1.047, 1.047, 1.042, 1.039, 1.036, 1.035, 1.036, 1.037, 1.039, 1.039, 1.039, 1.034, 1.028, 1.021,\n+            1.022, 1.031, 1.038, 1.038, 1.035, 1.034, 1.033, 1.032, 1.031, 1.031, 1.037, 1.038, 1.041, 1.033, 1.021, 1.013,\n+            1.012, 1.021, 1.025, 1.027, 1.027, 1.028, 1.028, 1.027, 1.025, 1.024, 1.024, 1.029, 1.038, 1.028, 1.012, 1.004,\n+            1.011, 1.012, 1.017, 1.021, 1.021, 1.022, 1.021, 1.021, 1.021, 1.019, 1.017, 1.023, 1.028, 1.013, 1.004, 1.001\n         ],\n-        \"sigma\": 0.005,\n-        \"sigma_Cb\": 0.005\n+        \"sigma\": 0.00063,\n+        \"sigma_Cb\": 0.00089\n     },\n     \"rpi.contrast\":\n     {\n@@ -185,6 +291,66 @@\n             65535, 65535\n         ]\n     },\n+    \"rpi.ccm\":\n+    {\n+        \"ccms\":\n+        [\n+            {\n+                \"ct\": 2861, \"ccm\":\n+                [\n+                    1.61339, -0.55137, -0.06202, -0.24235, 1.42738, -0.18503, 0.07817, -0.77121, 1.69304\n+                ]\n+            },\n+            {\n+                \"ct\": 2915, \"ccm\":\n+                [\n+                    1.64366, -0.57014, -0.07352, -0.27249, 1.48118, -0.20869, 0.08973, -0.78375, 1.69402\n+                ]\n+            },\n+            {\n+                \"ct\": 2916, \"ccm\":\n+                [\n+                    1.59805, -0.49622, -0.10183, -0.17981, 1.25627, -0.07646, -0.00104, -0.62299, 1.62404\n+                ]\n+            },\n+            {\n+                \"ct\": 2922, \"ccm\":\n+                [\n+                    1.61099, -0.52067, -0.09032, -0.19271, 1.28084, -0.08813, 0.01453, -0.65247, 1.63794\n+                ]\n+            },\n+            {\n+                \"ct\": 2934, \"ccm\":\n+                [\n+                    1.60849, -0.51603, -0.09246, -0.19148, 1.28129, -0.08981, 0.01142, -0.64365, 1.63224\n+                ]\n+            },\n+            {\n+                \"ct\": 3626, \"ccm\":\n+                [\n+                    1.62525, -0.59206, -0.03319, -0.20241, 1.42135, -0.21895, 0.05845, -0.66941, 1.61096\n+                ]\n+            },\n+            {\n+                \"ct\": 4617, \"ccm\":\n+                [\n+                    1.62324, -0.66976, 0.04652, -0.16629, 1.56915, -0.40287, 0.07878, -0.73116, 1.65238\n+                ]\n+            },\n+            {\n+                \"ct\": 5674, \"ccm\":\n+                [\n+                    1.66733, -0.68927, 0.02194, -0.13995, 1.47994, -0.33998, 0.04474, -0.61721, 1.57247\n+                ]\n+            },\n+            {\n+                \"ct\": 7617, \"ccm\":\n+                [\n+                    1.53155, -0.66311, 0.13157, -0.03271, 1.65915, -0.62645, 0.07635, -1.01009, 1.93374\n+                ]\n+            }\n+        ]\n+    },\n     \"rpi.sharpen\":\n     {\n     }\n","prefixes":["libcamera-devel","1/1"]}