{"id":17921,"url":"https://patchwork.libcamera.org/api/patches/17921/?format=json","web_url":"https://patchwork.libcamera.org/patch/17921/","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":"<20221130125840.2719-1-david.plowman@raspberrypi.com>","date":"2022-11-30T12:58:40","name":"[libcamera-devel] ipa: raspberrypi: imx477: Update tuning file for the latest camera modules","commit_ref":"ea8ae5afff226f9373c82c1a3185e532d5d6eda0","pull_url":null,"state":"accepted","archived":false,"hash":"b6f553697dec9c3fb23d9e651196503dd643a24c","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/17921/mbox/","series":[{"id":3651,"url":"https://patchwork.libcamera.org/api/series/3651/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3651","date":"2022-11-30T12:58:40","name":"[libcamera-devel] ipa: raspberrypi: imx477: Update tuning file for the latest camera modules","version":1,"mbox":"https://patchwork.libcamera.org/series/3651/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/17921/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/17921/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 7A27BBDE6B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 30 Nov 2022 12:58:46 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9471263336;\n\tWed, 30 Nov 2022 13:58:45 +0100 (CET)","from mail-wm1-x333.google.com (mail-wm1-x333.google.com\n\t[IPv6:2a00:1450:4864:20::333])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 84F0161F23\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 30 Nov 2022 13:58:44 +0100 (CET)","by mail-wm1-x333.google.com with SMTP id\n\tc65-20020a1c3544000000b003cfffd00fc0so1351402wma.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 30 Nov 2022 04:58:44 -0800 (PST)","from pi4-davidp.pitowers.org\n\t([2a00:1098:3142:14:e4a2:3070:eea4:e434])\n\tby smtp.gmail.com with ESMTPSA id\n\tp12-20020adfce0c000000b002366dd0e030sm1526521wrn.68.2022.11.30.04.58.42\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 30 Nov 2022 04:58:43 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1669813125;\n\tbh=0NT5q3Q5FFDyP649zDumandWeAAEoVnxB3S9UfD4O5g=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=SV3XFFsXzm2m3Qdd5EuDj96x/UdeLo+P5shbxijcFc2JqvI2gkgx2ggmBoefDugN+\n\tUWiq5l5OdtNOk1aK5GtS81Py/4xu8chymvvEYmwKTWYDVnwEtAczx8OuHfkqzq7NqT\n\tfdhFW1dGkfaK0p0vSCqlhpU7MhwgJpbx1/9mEIgzJcZkMGgBfLvxYAXGdTOsbzzobR\n\tAuW02xlRh4oQgIcKRhZ1z58Ma8bPX82h6YZp/djHL0Cp/xvCjbSavAby4w3R3zMTh7\n\tqPDuZLgYvF30DR1v7DJVhFQkT8PfKFJWJlubt92o6OG8L8bby2IKQhLkXNPYUK/wXJ\n\tG4TXMEG27nS/g==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=r6PHHyG0ArzG0Y45o+00w/S+uVdQ35VX+ulf6Cn85lQ=;\n\tb=mjUGN6hzjmmf6m4CJAicY4B6Vyrw/quV0ZEtfSOEYzWq9nLFqCEMe3brSdTmZ8N8Sr\n\t7fXBARrt7FBZz7EEVyLkZP3LuBzMFxTyhPMqxzQGvTv1cUQwSmxTUz2zA6k7jjrc5J6H\n\tecmFKShWH19MXQQR991DXJYaivq22464Z2wA1RL5EdFAcSaEaaQL6CBUjlti1TQ4rXWf\n\taHp8hpO7s4/V+flYFMzZfP75Cg6iwA73P5A1PETunUf/h4L8cu2faFPWN+TbLUAlk3uw\n\tFLOx8g/008o3UBDcvXMrr+iEhd1TR8nq3IUrkrAlSX7gtie2t7ekFyM6nPF4iYnnaNS9\n\tmkQA=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"mjUGN6hz\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=r6PHHyG0ArzG0Y45o+00w/S+uVdQ35VX+ulf6Cn85lQ=;\n\tb=VZ9SYZKwL1Sm3Ydi8atMB44hpQIWazwbQyI9qmOMkGT7cAWFzZhco/uumdZ9MM7xpp\n\tMX2qMpcLoU2+GyG0+gwgu+Dw9TU19Cn/2M5o+gWhkpoT1KkH7TffjE0iIRp1JRBMqcvw\n\t0cKFxX7icriVk+uvDi2m0Xuta9+NPibkdnIoUPzET8vbfOv1wR2UCEDJN8MjYEcz76M4\n\tVd6rNYgTczAYjjSSSNsmWT1Bmen78V7GQihrNZTfy0mOU6DJn5OzbRVs/NvTQ4Zz9oRI\n\tUHrg9q/kRWBhX6qeuaXs6P3VljNTwzuKBritIwEKaWWvgjuwJ1TZeDgbJiRuwKfsbI8v\n\tWWcA==","X-Gm-Message-State":"ANoB5plhndHnOXJWVtQKwmnkhfdX3ZN2U8AgZIovtU9BI3U7/8be4/Va\n\t8CWLzumlu/uiKdrTvmhlqvtxWkVbru9CEA==","X-Google-Smtp-Source":"AA0mqf5QoPAJLplCJBd/o45ZhY0X+TvUcSZLv45qoLD+zYfZmzbRRh8KnZ0l8vDb6AlknS35pMZxwA==","X-Received":"by 2002:a05:600c:5118:b0:3d0:7026:49eb with SMTP id\n\to24-20020a05600c511800b003d0702649ebmr2925664wms.53.1669813123582; \n\tWed, 30 Nov 2022 04:58:43 -0800 (PST)","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 30 Nov 2022 12:58:40 +0000","Message-Id":"<20221130125840.2719-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.30.2","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH] ipa: raspberrypi: imx477: Update tuning\n\tfile for the latest camera modules","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":"David Plowman via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"David Plowman <david.plowman@raspberrypi.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The latest camera modules have a very slightly different IR filter, so\nthe tuning file is slightly revised to give best results with both old\nand new camera modules.\n\nThe original tuning file is retained as imx477_v1.json in case anyone\nshould wish to continue using it.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/ipa/raspberrypi/data/imx477.json    |  20 +-\n src/ipa/raspberrypi/data/imx477_v1.json | 519 ++++++++++++++++++++++++\n 2 files changed, 530 insertions(+), 9 deletions(-)\n create mode 100644 src/ipa/raspberrypi/data/imx477_v1.json","diff":"diff --git a/src/ipa/raspberrypi/data/imx477.json b/src/ipa/raspberrypi/data/imx477.json\nindex 5bcaac67..bfc0774f 100644\n--- a/src/ipa/raspberrypi/data/imx477.json\n+++ b/src/ipa/raspberrypi/data/imx477.json\n@@ -115,15 +115,17 @@\n                 \"ct_curve\":\n                 [\n                     2360.0, 0.6009, 0.3093,\n-                    2870.0, 0.5047, 0.3936,\n-                    2970.0, 0.4782, 0.4221,\n-                    3700.0, 0.4212, 0.4923,\n-                    3870.0, 0.4037, 0.5166,\n-                    4000.0, 0.3965, 0.5271,\n-                    4400.0, 0.3703, 0.5666,\n-                    4715.0, 0.3411, 0.6147,\n-                    5920.0, 0.3108, 0.6687,\n-                    9050.0, 0.2524, 0.7856\n+                    2848.0, 0.5071, 0.4000,\n+                    2903.0, 0.4905, 0.4392,\n+                    3628.0, 0.4261, 0.5564,\n+                    3643.0, 0.4228, 0.5623,\n+                    4660.0, 0.3529, 0.6800,\n+                    5579.0, 0.3227, 0.7000,\n+                    6125.0, 0.3129, 0.7100,\n+                    6671.0, 0.3065, 0.7200,\n+                    7217.0, 0.3014, 0.7300,\n+                    7763.0, 0.2950, 0.7400,\n+                    9505.0, 0.2524, 0.7856\n                 ],\n                 \"sensitivity_r\": 1.05,\n                 \"sensitivity_b\": 1.05,\ndiff --git a/src/ipa/raspberrypi/data/imx477_v1.json b/src/ipa/raspberrypi/data/imx477_v1.json\nnew file mode 100644\nindex 00000000..5bcaac67\n--- /dev/null\n+++ b/src/ipa/raspberrypi/data/imx477_v1.json\n@@ -0,0 +1,519 @@\n+{\n+    \"version\": 2.0,\n+    \"target\": \"bcm2835\",\n+    \"algorithms\": [\n+        {\n+            \"rpi.black_level\":\n+            {\n+                \"black_level\": 4096\n+            }\n+        },\n+        {\n+            \"rpi.dpc\": { }\n+        },\n+        {\n+            \"rpi.lux\":\n+            {\n+                \"reference_shutter_speed\": 27242,\n+                \"reference_gain\": 1.0,\n+                \"reference_aperture\": 1.0,\n+                \"reference_lux\": 830,\n+                \"reference_Y\": 17755\n+            }\n+        },\n+        {\n+            \"rpi.noise\":\n+            {\n+                \"reference_constant\": 0,\n+                \"reference_slope\": 2.767\n+            }\n+        },\n+        {\n+            \"rpi.geq\":\n+            {\n+                \"offset\": 204,\n+                \"slope\": 0.01078\n+            }\n+        },\n+        {\n+            \"rpi.sdn\": { }\n+        },\n+        {\n+            \"rpi.awb\":\n+            {\n+                \"priors\": [\n+                    {\n+                        \"lux\": 0,\n+                        \"prior\":\n+                        [\n+                            2000, 1.0,\n+                            3000, 0.0,\n+                            13000, 0.0\n+                        ]\n+                    },\n+                    {\n+                        \"lux\": 800,\n+                        \"prior\":\n+                        [\n+                            2000, 0.0,\n+                            6000, 2.0,\n+                            13000, 2.0\n+                        ]\n+                    },\n+                    {\n+                        \"lux\": 1500,\n+                        \"prior\":\n+                        [\n+                            2000, 0.0,\n+                            4000, 1.0,\n+                            6000, 6.0,\n+                            6500, 7.0,\n+                            7000, 1.0,\n+                            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+                    2360.0, 0.6009, 0.3093,\n+                    2870.0, 0.5047, 0.3936,\n+                    2970.0, 0.4782, 0.4221,\n+                    3700.0, 0.4212, 0.4923,\n+                    3870.0, 0.4037, 0.5166,\n+                    4000.0, 0.3965, 0.5271,\n+                    4400.0, 0.3703, 0.5666,\n+                    4715.0, 0.3411, 0.6147,\n+                    5920.0, 0.3108, 0.6687,\n+                    9050.0, 0.2524, 0.7856\n+                ],\n+                \"sensitivity_r\": 1.05,\n+                \"sensitivity_b\": 1.05,\n+                \"transverse_pos\": 0.0238,\n+                \"transverse_neg\": 0.04429\n+            }\n+        },\n+        {\n+            \"rpi.agc\":\n+            {\n+                \"metering_modes\":\n+                {\n+                    \"centre-weighted\":\n+                    {\n+                        \"weights\": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]\n+                    },\n+                    \"spot\":\n+                    {\n+                        \"weights\": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]\n+                    },\n+                    \"matrix\":\n+                    {\n+                        \"weights\": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]\n+                    }\n+                },\n+                \"exposure_modes\":\n+                {\n+                    \"normal\":\n+                    {\n+                        \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n+                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n+                    },\n+                    \"short\":\n+                    {\n+                        \"shutter\": [ 100, 5000, 10000, 20000, 33333 ],\n+                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n+                    },\n+                    \"long\":\n+                    {\n+                        \"shutter\": [ 100, 10000, 30000, 60000, 120000 ],\n+                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]\n+                    }\n+                },\n+                \"constraint_modes\":\n+                {\n+                    \"normal\": [\n+                        {\n+                            \"bound\": \"LOWER\",\n+                            \"q_lo\": 0.98,\n+                            \"q_hi\": 1.0,\n+                            \"y_target\":\n+                            [\n+                                0, 0.3,\n+                                1000, 0.3\n+                            ]\n+                        }\n+                    ],\n+                    \"highlight\": [\n+                        {\n+                            \"bound\": \"LOWER\",\n+                            \"q_lo\": 0.98,\n+                            \"q_hi\": 1.0,\n+                            \"y_target\":\n+                            [\n+                                0, 0.3,\n+                                1000, 0.3\n+                            ]\n+                        },\n+                        {\n+                            \"bound\": \"UPPER\",\n+                            \"q_lo\": 0.98,\n+                            \"q_hi\": 1.0,\n+                            \"y_target\":\n+                            [\n+                                0, 0.8,\n+                                1000, 0.8\n+                            ]\n+                        }\n+                    ],\n+                    \"shadows\": [\n+                        {\n+                            \"bound\": \"LOWER\",\n+                            \"q_lo\": 0.0,\n+                            \"q_hi\": 0.5,\n+                            \"y_target\":\n+                            [\n+                                0, 0.17,\n+                                1000, 0.17\n+                            ]\n+                        }\n+                    ]\n+                },\n+                \"y_target\":\n+                [\n+                    0, 0.16,\n+                    1000, 0.165,\n+                    10000, 0.17\n+                ]\n+            }\n+        },\n+        {\n+            \"rpi.alsc\":\n+            {\n+                \"omega\": 1.3,\n+                \"n_iter\": 100,\n+                \"luminance_strength\": 0.5,\n+                \"calibrations_Cr\": [\n+                    {\n+                        \"ct\": 2960,\n+                        \"table\":\n+                        [\n+                            2.088, 2.086, 2.082, 2.081, 2.077, 2.071, 2.068, 2.068, 2.072, 2.073, 2.075, 2.078, 2.084, 2.092, 2.095, 2.098,\n+                            2.086, 2.084, 2.079, 2.078, 2.075, 2.068, 2.064, 2.063, 2.068, 2.071, 2.072, 2.075, 2.081, 2.089, 2.092, 2.094,\n+                            2.083, 2.081, 2.077, 2.072, 2.069, 2.062, 2.059, 2.059, 2.063, 2.067, 2.069, 2.072, 2.079, 2.088, 2.089, 2.089,\n+                            2.081, 2.077, 2.072, 2.068, 2.065, 2.058, 2.055, 2.054, 2.057, 2.062, 2.066, 2.069, 2.077, 2.084, 2.086, 2.086,\n+                            2.078, 2.075, 2.069, 2.065, 2.061, 2.055, 2.052, 2.049, 2.051, 2.056, 2.062, 2.065, 2.072, 2.079, 2.081, 2.079,\n+                            2.079, 2.075, 2.069, 2.064, 2.061, 2.053, 2.049, 2.046, 2.049, 2.051, 2.057, 2.062, 2.069, 2.075, 2.077, 2.075,\n+                            2.082, 2.079, 2.072, 2.065, 2.061, 2.054, 2.049, 2.047, 2.049, 2.051, 2.056, 2.061, 2.066, 2.073, 2.073, 2.069,\n+                            2.086, 2.082, 2.075, 2.068, 2.062, 2.054, 2.051, 2.049, 2.051, 2.052, 2.056, 2.061, 2.066, 2.073, 2.073, 2.072,\n+                            2.088, 2.086, 2.079, 2.074, 2.066, 2.057, 2.051, 2.051, 2.054, 2.055, 2.056, 2.061, 2.067, 2.072, 2.073, 2.072,\n+                            2.091, 2.087, 2.079, 2.075, 2.068, 2.057, 2.052, 2.052, 2.056, 2.055, 2.055, 2.059, 2.066, 2.072, 2.072, 2.072,\n+                            2.093, 2.088, 2.081, 2.077, 2.069, 2.059, 2.054, 2.054, 2.057, 2.056, 2.056, 2.058, 2.066, 2.072, 2.073, 2.073,\n+                            2.095, 2.091, 2.084, 2.078, 2.075, 2.067, 2.057, 2.057, 2.059, 2.059, 2.058, 2.059, 2.068, 2.073, 2.075, 2.078\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 4850,\n+                        \"table\":\n+                        [\n+                            2.973, 2.968, 2.956, 2.943, 2.941, 2.932, 2.923, 2.921, 2.924, 2.929, 2.931, 2.939, 2.953, 2.965, 2.966, 2.976,\n+                            2.969, 2.962, 2.951, 2.941, 2.934, 2.928, 2.919, 2.918, 2.919, 2.923, 2.927, 2.933, 2.945, 2.957, 2.962, 2.962,\n+                            2.964, 2.956, 2.944, 2.932, 2.929, 2.924, 2.915, 2.914, 2.915, 2.919, 2.924, 2.928, 2.941, 2.952, 2.958, 2.959,\n+                            2.957, 2.951, 2.939, 2.928, 2.924, 2.919, 2.913, 2.911, 2.911, 2.915, 2.919, 2.925, 2.936, 2.947, 2.952, 2.953,\n+                            2.954, 2.947, 2.935, 2.924, 2.919, 2.915, 2.908, 2.906, 2.906, 2.907, 2.914, 2.921, 2.932, 2.941, 2.943, 2.942,\n+                            2.953, 2.946, 2.932, 2.921, 2.916, 2.911, 2.904, 2.902, 2.901, 2.904, 2.909, 2.919, 2.926, 2.937, 2.939, 2.939,\n+                            2.953, 2.947, 2.932, 2.918, 2.915, 2.909, 2.903, 2.901, 2.901, 2.906, 2.911, 2.918, 2.924, 2.936, 2.936, 2.932,\n+                            2.956, 2.948, 2.934, 2.919, 2.916, 2.908, 2.903, 2.901, 2.902, 2.907, 2.909, 2.917, 2.926, 2.936, 2.939, 2.939,\n+                            2.957, 2.951, 2.936, 2.923, 2.917, 2.907, 2.904, 2.901, 2.902, 2.908, 2.911, 2.919, 2.929, 2.939, 2.942, 2.942,\n+                            2.961, 2.951, 2.936, 2.922, 2.918, 2.906, 2.904, 2.901, 2.901, 2.907, 2.911, 2.921, 2.931, 2.941, 2.942, 2.944,\n+                            2.964, 2.954, 2.936, 2.924, 2.918, 2.909, 2.905, 2.905, 2.905, 2.907, 2.912, 2.923, 2.933, 2.942, 2.944, 2.944,\n+                            2.964, 2.958, 2.943, 2.927, 2.921, 2.914, 2.909, 2.907, 2.907, 2.912, 2.916, 2.928, 2.936, 2.944, 2.947, 2.952\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 5930,\n+                        \"table\":\n+                        [\n+                            3.312, 3.308, 3.301, 3.294, 3.288, 3.277, 3.268, 3.261, 3.259, 3.261, 3.267, 3.273, 3.285, 3.301, 3.303, 3.312,\n+                            3.308, 3.304, 3.294, 3.291, 3.283, 3.271, 3.263, 3.259, 3.257, 3.258, 3.261, 3.268, 3.278, 3.293, 3.299, 3.299,\n+                            3.302, 3.296, 3.288, 3.282, 3.276, 3.267, 3.259, 3.254, 3.252, 3.253, 3.256, 3.261, 3.273, 3.289, 3.292, 3.292,\n+                            3.296, 3.289, 3.282, 3.276, 3.269, 3.263, 3.256, 3.251, 3.248, 3.249, 3.251, 3.257, 3.268, 3.279, 3.284, 3.284,\n+                            3.292, 3.285, 3.279, 3.271, 3.264, 3.257, 3.249, 3.243, 3.241, 3.241, 3.246, 3.252, 3.261, 3.274, 3.275, 3.273,\n+                            3.291, 3.285, 3.276, 3.268, 3.259, 3.251, 3.242, 3.239, 3.236, 3.238, 3.244, 3.248, 3.258, 3.268, 3.269, 3.265,\n+                            3.294, 3.288, 3.275, 3.266, 3.257, 3.248, 3.239, 3.238, 3.237, 3.238, 3.243, 3.246, 3.255, 3.264, 3.264, 3.257,\n+                            3.297, 3.293, 3.279, 3.268, 3.258, 3.249, 3.238, 3.237, 3.239, 3.239, 3.243, 3.245, 3.255, 3.264, 3.264, 3.263,\n+                            3.301, 3.295, 3.281, 3.271, 3.259, 3.248, 3.237, 3.237, 3.239, 3.241, 3.243, 3.246, 3.257, 3.265, 3.266, 3.264,\n+                            3.306, 3.295, 3.279, 3.271, 3.261, 3.247, 3.235, 3.234, 3.239, 3.239, 3.243, 3.247, 3.258, 3.265, 3.265, 3.264,\n+                            3.308, 3.297, 3.279, 3.272, 3.261, 3.249, 3.239, 3.239, 3.241, 3.243, 3.245, 3.248, 3.261, 3.265, 3.266, 3.265,\n+                            3.309, 3.301, 3.286, 3.276, 3.267, 3.256, 3.246, 3.242, 3.244, 3.244, 3.249, 3.253, 3.263, 3.267, 3.271, 3.274\n+                        ]\n+                    }\n+                ],\n+                \"calibrations_Cb\": [\n+                    {\n+                        \"ct\": 2960,\n+                        \"table\":\n+                        [\n+                            2.133, 2.134, 2.139, 2.143, 2.148, 2.155, 2.158, 2.158, 2.158, 2.161, 2.161, 2.162, 2.159, 2.156, 2.152, 2.151,\n+                            2.132, 2.133, 2.135, 2.142, 2.147, 2.153, 2.158, 2.158, 2.158, 2.158, 2.159, 2.159, 2.157, 2.154, 2.151, 2.148,\n+                            2.133, 2.133, 2.135, 2.142, 2.149, 2.154, 2.158, 2.158, 2.157, 2.156, 2.158, 2.157, 2.155, 2.153, 2.148, 2.146,\n+                            2.133, 2.133, 2.138, 2.145, 2.149, 2.154, 2.158, 2.159, 2.158, 2.155, 2.157, 2.156, 2.153, 2.149, 2.146, 2.144,\n+                            2.133, 2.134, 2.139, 2.146, 2.149, 2.154, 2.158, 2.159, 2.159, 2.156, 2.154, 2.154, 2.149, 2.145, 2.143, 2.139,\n+                            2.135, 2.135, 2.139, 2.146, 2.151, 2.155, 2.158, 2.159, 2.158, 2.156, 2.153, 2.151, 2.146, 2.143, 2.139, 2.136,\n+                            2.135, 2.135, 2.138, 2.145, 2.151, 2.154, 2.157, 2.158, 2.157, 2.156, 2.153, 2.151, 2.147, 2.143, 2.141, 2.137,\n+                            2.135, 2.134, 2.135, 2.141, 2.149, 2.154, 2.157, 2.157, 2.157, 2.157, 2.157, 2.153, 2.149, 2.146, 2.142, 2.139,\n+                            2.132, 2.133, 2.135, 2.139, 2.148, 2.153, 2.158, 2.159, 2.159, 2.161, 2.161, 2.157, 2.154, 2.149, 2.144, 2.141,\n+                            2.132, 2.133, 2.135, 2.141, 2.149, 2.155, 2.161, 2.161, 2.162, 2.162, 2.163, 2.159, 2.154, 2.149, 2.144, 2.138,\n+                            2.136, 2.136, 2.137, 2.143, 2.149, 2.156, 2.162, 2.163, 2.162, 2.163, 2.164, 2.161, 2.157, 2.152, 2.146, 2.138,\n+                            2.137, 2.137, 2.141, 2.147, 2.152, 2.157, 2.162, 2.162, 2.159, 2.161, 2.162, 2.162, 2.157, 2.152, 2.148, 2.148\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 4850,\n+                        \"table\":\n+                        [\n+                            1.463, 1.464, 1.471, 1.478, 1.479, 1.483, 1.484, 1.486, 1.486, 1.484, 1.483, 1.481, 1.478, 1.475, 1.471, 1.468,\n+                            1.463, 1.463, 1.468, 1.476, 1.479, 1.482, 1.484, 1.487, 1.486, 1.484, 1.483, 1.482, 1.478, 1.473, 1.469, 1.468,\n+                            1.463, 1.464, 1.468, 1.476, 1.479, 1.483, 1.484, 1.486, 1.486, 1.485, 1.484, 1.482, 1.477, 1.473, 1.469, 1.468,\n+                            1.463, 1.464, 1.469, 1.477, 1.481, 1.483, 1.485, 1.487, 1.487, 1.485, 1.485, 1.482, 1.478, 1.474, 1.469, 1.468,\n+                            1.465, 1.465, 1.471, 1.478, 1.481, 1.484, 1.486, 1.488, 1.488, 1.487, 1.485, 1.482, 1.477, 1.472, 1.468, 1.467,\n+                            1.465, 1.466, 1.472, 1.479, 1.482, 1.485, 1.486, 1.488, 1.488, 1.486, 1.484, 1.479, 1.475, 1.472, 1.468, 1.466,\n+                            1.466, 1.466, 1.472, 1.478, 1.482, 1.484, 1.485, 1.488, 1.487, 1.485, 1.483, 1.479, 1.475, 1.472, 1.469, 1.468,\n+                            1.465, 1.466, 1.469, 1.476, 1.481, 1.485, 1.485, 1.486, 1.486, 1.485, 1.483, 1.479, 1.477, 1.474, 1.471, 1.469,\n+                            1.464, 1.465, 1.469, 1.476, 1.481, 1.484, 1.485, 1.487, 1.487, 1.486, 1.485, 1.481, 1.478, 1.475, 1.471, 1.469,\n+                            1.463, 1.464, 1.469, 1.477, 1.481, 1.485, 1.485, 1.488, 1.488, 1.487, 1.486, 1.481, 1.478, 1.475, 1.471, 1.468,\n+                            1.464, 1.465, 1.471, 1.478, 1.482, 1.486, 1.486, 1.488, 1.488, 1.487, 1.486, 1.481, 1.478, 1.475, 1.472, 1.468,\n+                            1.465, 1.466, 1.472, 1.481, 1.483, 1.487, 1.487, 1.488, 1.488, 1.486, 1.485, 1.481, 1.479, 1.476, 1.473, 1.472\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 5930,\n+                        \"table\":\n+                        [\n+                            1.443, 1.444, 1.448, 1.453, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.466, 1.462, 1.457, 1.454, 1.451,\n+                            1.443, 1.444, 1.445, 1.451, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.451,\n+                            1.444, 1.444, 1.445, 1.451, 1.459, 1.463, 1.466, 1.468, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.449,\n+                            1.444, 1.444, 1.447, 1.452, 1.459, 1.464, 1.467, 1.469, 1.471, 1.469, 1.467, 1.466, 1.461, 1.456, 1.452, 1.449,\n+                            1.444, 1.445, 1.448, 1.452, 1.459, 1.465, 1.469, 1.471, 1.471, 1.471, 1.468, 1.465, 1.461, 1.455, 1.451, 1.449,\n+                            1.445, 1.446, 1.449, 1.453, 1.461, 1.466, 1.469, 1.471, 1.472, 1.469, 1.467, 1.465, 1.459, 1.455, 1.451, 1.447,\n+                            1.446, 1.446, 1.449, 1.453, 1.461, 1.466, 1.469, 1.469, 1.469, 1.469, 1.467, 1.465, 1.459, 1.455, 1.452, 1.449,\n+                            1.446, 1.446, 1.447, 1.451, 1.459, 1.466, 1.469, 1.469, 1.469, 1.469, 1.467, 1.465, 1.461, 1.457, 1.454, 1.451,\n+                            1.444, 1.444, 1.447, 1.451, 1.459, 1.466, 1.469, 1.469, 1.471, 1.471, 1.468, 1.466, 1.462, 1.458, 1.454, 1.452,\n+                            1.444, 1.444, 1.448, 1.453, 1.459, 1.466, 1.469, 1.471, 1.472, 1.472, 1.468, 1.466, 1.462, 1.458, 1.454, 1.449,\n+                            1.446, 1.447, 1.449, 1.454, 1.461, 1.466, 1.471, 1.471, 1.471, 1.471, 1.468, 1.466, 1.462, 1.459, 1.455, 1.449,\n+                            1.447, 1.447, 1.452, 1.457, 1.462, 1.468, 1.472, 1.472, 1.471, 1.471, 1.468, 1.466, 1.462, 1.459, 1.456, 1.455\n+                        ]\n+                    }\n+                ],\n+                \"luminance_lut\":\n+                [\n+                    1.548, 1.499, 1.387, 1.289, 1.223, 1.183, 1.164, 1.154, 1.153, 1.169, 1.211, 1.265, 1.345, 1.448, 1.581, 1.619,\n+                    1.513, 1.412, 1.307, 1.228, 1.169, 1.129, 1.105, 1.098, 1.103, 1.127, 1.157, 1.209, 1.272, 1.361, 1.481, 1.583,\n+                    1.449, 1.365, 1.257, 1.175, 1.124, 1.085, 1.062, 1.054, 1.059, 1.079, 1.113, 1.151, 1.211, 1.293, 1.407, 1.488,\n+                    1.424, 1.324, 1.222, 1.139, 1.089, 1.056, 1.034, 1.031, 1.034, 1.049, 1.075, 1.115, 1.164, 1.241, 1.351, 1.446,\n+                    1.412, 1.297, 1.203, 1.119, 1.069, 1.039, 1.021, 1.016, 1.022, 1.032, 1.052, 1.086, 1.135, 1.212, 1.321, 1.439,\n+                    1.406, 1.287, 1.195, 1.115, 1.059, 1.028, 1.014, 1.012, 1.015, 1.026, 1.041, 1.074, 1.125, 1.201, 1.302, 1.425,\n+                    1.406, 1.294, 1.205, 1.126, 1.062, 1.031, 1.013, 1.009, 1.011, 1.019, 1.042, 1.079, 1.129, 1.203, 1.302, 1.435,\n+                    1.415, 1.318, 1.229, 1.146, 1.076, 1.039, 1.019, 1.014, 1.017, 1.031, 1.053, 1.093, 1.144, 1.219, 1.314, 1.436,\n+                    1.435, 1.348, 1.246, 1.164, 1.094, 1.059, 1.036, 1.032, 1.037, 1.049, 1.072, 1.114, 1.167, 1.257, 1.343, 1.462,\n+                    1.471, 1.385, 1.278, 1.189, 1.124, 1.084, 1.064, 1.061, 1.069, 1.078, 1.101, 1.146, 1.207, 1.298, 1.415, 1.496,\n+                    1.522, 1.436, 1.323, 1.228, 1.169, 1.118, 1.101, 1.094, 1.099, 1.113, 1.146, 1.194, 1.265, 1.353, 1.474, 1.571,\n+                    1.578, 1.506, 1.378, 1.281, 1.211, 1.156, 1.135, 1.134, 1.139, 1.158, 1.194, 1.251, 1.327, 1.427, 1.559, 1.611\n+                ],\n+                \"sigma\": 0.00121,\n+                \"sigma_Cb\": 0.00115\n+            }\n+        },\n+        {\n+            \"rpi.contrast\":\n+            {\n+                \"ce_enable\": 1,\n+                \"gamma_curve\":\n+                [\n+                    0, 0,\n+                    1024, 5040,\n+                    2048, 9338,\n+                    3072, 12356,\n+                    4096, 15312,\n+                    5120, 18051,\n+                    6144, 20790,\n+                    7168, 23193,\n+                    8192, 25744,\n+                    9216, 27942,\n+                    10240, 30035,\n+                    11264, 32005,\n+                    12288, 33975,\n+                    13312, 35815,\n+                    14336, 37600,\n+                    15360, 39168,\n+                    16384, 40642,\n+                    18432, 43379,\n+                    20480, 45749,\n+                    22528, 47753,\n+                    24576, 49621,\n+                    26624, 51253,\n+                    28672, 52698,\n+                    30720, 53796,\n+                    32768, 54876,\n+                    36864, 57012,\n+                    40960, 58656,\n+                    45056, 59954,\n+                    49152, 61183,\n+                    53248, 62355,\n+                    57344, 63419,\n+                    61440, 64476,\n+                    65535, 65535\n+                ]\n+            }\n+        },\n+        {\n+            \"rpi.ccm\":\n+            {\n+                \"ccms\": [\n+                    {\n+                        \"ct\": 2360,\n+                        \"ccm\":\n+                        [\n+                            1.66078, -0.23588, -0.42491,\n+                            -0.47456, 1.82763, -0.35307,\n+                            -0.00545, -1.44729, 2.45273\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 2870,\n+                        \"ccm\":\n+                        [\n+                            1.78373, -0.55344, -0.23029,\n+                            -0.39951, 1.69701, -0.29751,\n+                            0.01986, -1.06525, 2.04539\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 2970,\n+                        \"ccm\":\n+                        [\n+                            1.73511, -0.56973, -0.16537,\n+                            -0.36338, 1.69878, -0.33539,\n+                            -0.02354, -0.76813, 1.79168\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 3000,\n+                        \"ccm\":\n+                        [\n+                            2.06374, -0.92218, -0.14156,\n+                            -0.41721, 1.69289, -0.27568,\n+                            -0.00554, -0.92741, 1.93295\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 3700,\n+                        \"ccm\":\n+                        [\n+                            2.13792, -1.08136, -0.05655,\n+                            -0.34739, 1.58989, -0.24249,\n+                            -0.00349, -0.76789, 1.77138\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 3870,\n+                        \"ccm\":\n+                        [\n+                            1.83834, -0.70528, -0.13307,\n+                            -0.30499, 1.60523, -0.30024,\n+                            -0.05701, -0.58313, 1.64014\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 4000,\n+                        \"ccm\":\n+                        [\n+                            2.15741, -1.10295, -0.05447,\n+                            -0.34631, 1.61158, -0.26528,\n+                            -0.02723, -0.70288, 1.73011\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 4400,\n+                        \"ccm\":\n+                        [\n+                            2.05729, -0.95007, -0.10723,\n+                            -0.41712, 1.78606, -0.36894,\n+                            -0.11899, -0.55727, 1.67626\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 4715,\n+                        \"ccm\":\n+                        [\n+                            1.90255, -0.77478, -0.12777,\n+                            -0.31338, 1.88197, -0.56858,\n+                            -0.06001, -0.61785, 1.67786\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 5920,\n+                        \"ccm\":\n+                        [\n+                            1.98691, -0.84671, -0.14019,\n+                            -0.26581, 1.70615, -0.44035,\n+                            -0.09532, -0.47332, 1.56864\n+                        ]\n+                    },\n+                    {\n+                        \"ct\": 9050,\n+                        \"ccm\":\n+                        [\n+                            2.09255, -0.76541, -0.32714,\n+                            -0.28973, 2.27462, -0.98489,\n+                            -0.17299, -0.61275, 1.78574\n+                        ]\n+                    }\n+                ]\n+            }\n+        },\n+        {\n+            \"rpi.sharpen\": { }\n+        },\n+        {\n+            \"rpi.focus\": { }\n+        }\n+    ]\n+}\n\\ No newline at end of file\n","prefixes":["libcamera-devel"]}