{"id":13069,"url":"https://patchwork.libcamera.org/api/1.1/patches/13069/?format=json","web_url":"https://patchwork.libcamera.org/patch/13069/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20210721115220.5090-4-david.plowman@raspberrypi.com>","date":"2021-07-21T11:52:20","name":"[libcamera-devel,3/3] ipa: raspberrypi: Add support for imx378 sensor","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"844655cfcfb62778a5ea0dbe4927d4f5c99b1ddd","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/1.1/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/13069/mbox/","series":[{"id":2265,"url":"https://patchwork.libcamera.org/api/1.1/series/2265/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2265","date":"2021-07-21T11:52:17","name":"Raspberry Pi: support imx378 sensor","version":1,"mbox":"https://patchwork.libcamera.org/series/2265/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/13069/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/13069/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 74C69C322B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 21 Jul 2021 11:52:36 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2E7766854F;\n\tWed, 21 Jul 2021 13:52:36 +0200 (CEST)","from mail-wr1-x430.google.com (mail-wr1-x430.google.com\n\t[IPv6:2a00:1450:4864:20::430])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B039268549\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 21 Jul 2021 13:52:32 +0200 (CEST)","by mail-wr1-x430.google.com with SMTP id l7so1872256wrv.7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 21 Jul 2021 04:52:32 -0700 (PDT)","from pi4-davidp.pitowers.org\n\t([2a00:1098:3142:14:1ce1:9965:4328:89c4])\n\tby smtp.gmail.com with ESMTPSA id\n\te11sm32876268wrt.0.2021.07.21.04.52.31\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 21 Jul 2021 04:52:31 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"cYvpP7Cw\"; dkim-atps=neutral","DKIM-Signature":"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=OiJDpjncdJ3JH5ABZG/T9W1vwg9XlzFjctwNbLBxPNM=;\n\tb=cYvpP7CwI5e2Lgp+XNJ07ndHd6ztgdOSBJ/L/Ixw2BF3qYcNpBjTNRyA4pg0tMuGTt\n\txg6EJSff6zzpVi/WCotXEXJ1mjtnofMOpvj3hx/WHcEcsgPbwuZauuC+yup0rmwXaRPJ\n\tbkhcmVrsVTqeMZA9LBfzW4LV5p0CpMQrZ4hloS33quS4e/x3Glnc6srYiIfxjc1qxTWJ\n\tSwZ5YB/G4+/eY5kU4yOVpzt+gjO2uQuTTvSAfvSR01SltILfrdcGzkylU4I2Rmar+sH9\n\tWlRfv3B+v/avI++KTrfHlMJ0u0BB7rGRaNVyhg881YGKALsdA3An6NKfgYrHYSwtISwc\n\tApaw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\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=OiJDpjncdJ3JH5ABZG/T9W1vwg9XlzFjctwNbLBxPNM=;\n\tb=av3+G/DnlXbYwcXMxnASGRK7bR+ttEyEZnA80WZ1j9/pdS8EKUEnc31L5yRSzLQDRk\n\tO4a6Go7fnJHdgyqOqcl5N1dY7J8PUeLjhVTCIx39zNj26E4GcuHjploj/nLT1cizdp8K\n\twTgVn0BrSnt7pxifAcIH7xjeQuO2VdvZj7KELLn3wHwHmZzT017kGPvbJuoc4fVxksy7\n\tqOS6/7QsK5iS0nk6y1fo7vxJ7zerCXe01Hbl0KesPIPfgwFTCcyz7T8CvHfGQ1shtihq\n\tsqo1O4wqaV6ILzWYF+R7sSBkQbgAAw9c0Y343nRAbcmY8WhlJQw778QbFlxqDpHiWCXa\n\txi9w==","X-Gm-Message-State":"AOAM5316JJxXYeesF41xYCEX81EivtTpKWJZ22ah5F+p/Qk4Fr4LIz6a\n\tbnXAXlW7oXNygcXKFcK6b1Z0aDghP7y6QQ==","X-Google-Smtp-Source":"ABdhPJyeLxWWeBIokorbujFumoWYTJtme3cePINkxVnNfKzY3hAdH49ysesxA+nD6HN7QJBpay5T6A==","X-Received":"by 2002:a5d:654b:: with SMTP id\n\tz11mr43319825wrv.115.1626868352003; \n\tWed, 21 Jul 2021 04:52:32 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 21 Jul 2021 12:52:20 +0100","Message-Id":"<20210721115220.5090-4-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","In-Reply-To":"<20210721115220.5090-1-david.plowman@raspberrypi.com>","References":"<20210721115220.5090-1-david.plowman@raspberrypi.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 3/3] ipa: raspberrypi: Add support for\n\timx378 sensor","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":"This commit adds a tuning file for the 12MP imx378 sensor. The sensor\nactually shares the same driver (and CamHelper) as the imx477 so only\na new tuning file is required. The default choice of imx477.json can\nbe overridden by pointing LIBCAMERA_RPI_TUNING_FILE at a version of\nthe new imx378.json file.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/ipa/raspberrypi/data/imx378.json | 338 +++++++++++++++++++++++++++\n src/ipa/raspberrypi/data/meson.build |   1 +\n 2 files changed, 339 insertions(+)\n create mode 100644 src/ipa/raspberrypi/data/imx378.json","diff":"diff --git a/src/ipa/raspberrypi/data/imx378.json b/src/ipa/raspberrypi/data/imx378.json\nnew file mode 100644\nindex 00000000..3c2164e2\n--- /dev/null\n+++ b/src/ipa/raspberrypi/data/imx378.json\n@@ -0,0 +1,338 @@\n+{\n+    \"rpi.black_level\":\n+    {\n+        \"black_level\": 4096\n+    },\n+    \"rpi.dpc\":\n+    {\n+    },\n+    \"rpi.lux\":\n+    {\n+        \"reference_shutter_speed\": 9999,\n+        \"reference_gain\": 1.95,\n+        \"reference_aperture\": 1.0,\n+        \"reference_lux\": 1000,\n+        \"reference_Y\": 12996\n+    },\n+    \"rpi.noise\":\n+    {\n+        \"reference_constant\": 0,\n+        \"reference_slope\": 2.641\n+    },\n+    \"rpi.geq\":\n+    {\n+        \"offset\": 235,\n+        \"slope\": 0.00902\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\": 8100\n+            }\n+        },\n+        \"bayes\": 1,\n+        \"ct_curve\":\n+        [\n+            2850.0, 0.6361, 0.3911, 3550.0, 0.5386, 0.5077, 4500.0, 0.4472, 0.6171, 5600.0, 0.3906, 0.6848, 8000.0, 0.3412, 0.7441\n+        ],\n+        \"sensitivity_r\": 1.0,\n+        \"sensitivity_b\": 1.0,\n+        \"transverse_pos\": 0.01667,\n+        \"transverse_neg\": 0.01195\n+    },\n+    \"rpi.agc\":\n+    {\n+        \"metering_modes\":\n+        {\n+            \"centre-weighted\":\n+            {\n+                \"weights\":\n+                [\n+                    3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0\n+                ]\n+            },\n+            \"spot\":\n+            {\n+                \"weights\":\n+                [\n+                    2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0\n+                ]\n+            },\n+            \"matrix\":\n+            {\n+                \"weights\":\n+                [\n+                    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1\n+                ]\n+            }\n+        },\n+        \"exposure_modes\":\n+        {\n+            \"normal\":\n+            {\n+                \"shutter\":\n+                [\n+                    100, 10000, 30000, 60000, 120000\n+                ],\n+                \"gain\":\n+                [\n+                    1.0, 2.0, 4.0, 6.0, 6.0\n+                ]\n+            },\n+            \"short\":\n+            {\n+                \"shutter\":\n+                [\n+                    100, 5000, 10000, 20000, 120000\n+                ],\n+                \"gain\":\n+                [\n+                    1.0, 2.0, 4.0, 6.0, 6.0\n+                ]\n+            }\n+        },\n+        \"constraint_modes\":\n+        {\n+            \"normal\":\n+            [\n+                {\n+                    \"bound\": \"LOWER\", \"q_lo\": 0.98, \"q_hi\": 1.0, \"y_target\":\n+                    [\n+                        0, 0.5, 1000, 0.5\n+                    ]\n+                }\n+            ],\n+            \"highlight\":\n+            [\n+                {\n+                    \"bound\": \"LOWER\", \"q_lo\": 0.98, \"q_hi\": 1.0, \"y_target\":\n+                    [\n+                        0, 0.5, 1000, 0.5\n+                    ]\n+                },\n+                {\n+                    \"bound\": \"UPPER\", \"q_lo\": 0.98, \"q_hi\": 1.0, \"y_target\":\n+                    [\n+                        0, 0.8, 1000, 0.8\n+                    ]\n+                }\n+            ]\n+        },\n+        \"y_target\":\n+        [\n+            0, 0.16, 1000, 0.165, 10000, 0.17\n+        ]\n+    },\n+    \"rpi.alsc\":\n+    {\n+        \"omega\": 1.3,\n+        \"n_iter\": 100,\n+        \"luminance_strength\": 0.5,\n+        \"calibrations_Cr\":\n+        [\n+            {\n+                \"ct\": 2800, \"table\":\n+                [\n+                    1.604, 1.601, 1.593, 1.581, 1.568, 1.561, 1.561, 1.561, 1.561, 1.567, 1.582, 1.596, 1.609, 1.622, 1.632, 1.636,\n+                    1.601, 1.594, 1.586, 1.571, 1.555, 1.546, 1.543, 1.543, 1.547, 1.555, 1.572, 1.584, 1.599, 1.614, 1.625, 1.632,\n+                    1.599, 1.586, 1.571, 1.555, 1.542, 1.528, 1.518, 1.518, 1.523, 1.537, 1.555, 1.572, 1.589, 1.607, 1.622, 1.629,\n+                    1.597, 1.579, 1.561, 1.542, 1.528, 1.512, 1.493, 1.493, 1.499, 1.523, 1.537, 1.563, 1.582, 1.601, 1.619, 1.629,\n+                    1.597, 1.577, 1.557, 1.535, 1.512, 1.493, 1.481, 1.479, 1.492, 1.499, 1.524, 1.555, 1.578, 1.599, 1.619, 1.629,\n+                    1.597, 1.577, 1.557, 1.534, 1.508, 1.483, 1.476, 1.476, 1.481, 1.496, 1.522, 1.554, 1.578, 1.599, 1.619, 1.629,\n+                    1.597, 1.578, 1.557, 1.534, 1.508, 1.483, 1.481, 1.479, 1.481, 1.496, 1.522, 1.554, 1.579, 1.601, 1.619, 1.631,\n+                    1.597, 1.581, 1.562, 1.539, 1.517, 1.504, 1.483, 1.481, 1.496, 1.511, 1.531, 1.561, 1.585, 1.607, 1.623, 1.632,\n+                    1.601, 1.589, 1.569, 1.554, 1.539, 1.517, 1.504, 1.504, 1.511, 1.531, 1.553, 1.573, 1.596, 1.614, 1.629, 1.636,\n+                    1.609, 1.601, 1.586, 1.569, 1.554, 1.542, 1.535, 1.535, 1.541, 1.553, 1.573, 1.592, 1.608, 1.625, 1.637, 1.645,\n+                    1.617, 1.611, 1.601, 1.586, 1.574, 1.565, 1.564, 1.564, 1.571, 1.579, 1.592, 1.608, 1.622, 1.637, 1.646, 1.654,\n+                    1.619, 1.617, 1.611, 1.601, 1.588, 1.585, 1.585, 1.585, 1.588, 1.592, 1.607, 1.622, 1.637, 1.645, 1.654, 1.655\n+                ]\n+            },\n+            {\n+                \"ct\": 5500, \"table\":\n+                [\n+                    2.664, 2.658, 2.645, 2.629, 2.602, 2.602, 2.602, 2.606, 2.617, 2.628, 2.649, 2.677, 2.699, 2.722, 2.736, 2.747,\n+                    2.658, 2.653, 2.629, 2.605, 2.576, 2.575, 2.577, 2.592, 2.606, 2.618, 2.629, 2.651, 2.678, 2.707, 2.727, 2.741,\n+                    2.649, 2.631, 2.605, 2.576, 2.563, 2.552, 2.552, 2.557, 2.577, 2.604, 2.619, 2.641, 2.669, 2.698, 2.721, 2.741,\n+                    2.643, 2.613, 2.583, 2.563, 2.552, 2.531, 2.527, 2.527, 2.551, 2.577, 2.604, 2.638, 2.665, 2.694, 2.721, 2.741,\n+                    2.643, 2.606, 2.575, 2.558, 2.531, 2.516, 2.504, 2.516, 2.527, 2.551, 2.596, 2.635, 2.665, 2.694, 2.721, 2.741,\n+                    2.643, 2.606, 2.575, 2.558, 2.531, 2.503, 2.501, 2.502, 2.522, 2.551, 2.592, 2.635, 2.669, 2.696, 2.727, 2.744,\n+                    2.648, 2.611, 2.579, 2.558, 2.532, 2.511, 2.502, 2.511, 2.522, 2.552, 2.592, 2.642, 2.673, 2.702, 2.731, 2.752,\n+                    2.648, 2.619, 2.589, 2.571, 2.556, 2.532, 2.519, 2.522, 2.552, 2.568, 2.605, 2.648, 2.683, 2.715, 2.743, 2.758,\n+                    2.659, 2.637, 2.613, 2.589, 2.571, 2.556, 2.555, 2.555, 2.568, 2.605, 2.641, 2.671, 2.699, 2.729, 2.758, 2.776,\n+                    2.679, 2.665, 2.637, 2.613, 2.602, 2.599, 2.599, 2.606, 2.619, 2.641, 2.671, 2.698, 2.723, 2.754, 2.776, 2.787,\n+                    2.695, 2.684, 2.671, 2.646, 2.636, 2.636, 2.641, 2.648, 2.661, 2.681, 2.698, 2.723, 2.751, 2.776, 2.788, 2.803,\n+                    2.702, 2.699, 2.684, 2.671, 2.664, 2.664, 2.664, 2.668, 2.681, 2.698, 2.723, 2.751, 2.773, 2.788, 2.803, 2.805\n+                ]\n+            }\n+        ],\n+        \"calibrations_Cb\":\n+        [\n+            {\n+                \"ct\": 2800, \"table\":\n+                [\n+                    2.876, 2.868, 2.863, 2.851, 2.846, 2.846, 2.847, 2.851, 2.851, 2.857, 2.867, 2.875, 2.889, 2.899, 2.913, 2.926,\n+                    2.863, 2.861, 2.856, 2.846, 2.846, 2.847, 2.848, 2.851, 2.857, 2.859, 2.875, 2.882, 2.886, 2.896, 2.909, 2.917,\n+                    2.861, 2.856, 2.846, 2.841, 2.841, 2.855, 2.867, 2.875, 2.888, 2.888, 2.885, 2.883, 2.886, 2.889, 2.901, 2.913,\n+                    2.858, 2.851, 2.846, 2.846, 2.855, 2.867, 2.884, 2.895, 2.902, 2.902, 2.901, 2.891, 2.891, 2.894, 2.901, 2.909,\n+                    2.858, 2.851, 2.846, 2.846, 2.867, 2.884, 2.895, 2.902, 2.909, 2.915, 2.911, 2.901, 2.895, 2.898, 2.904, 2.909,\n+                    2.858, 2.851, 2.849, 2.853, 2.874, 2.888, 2.901, 2.909, 2.917, 2.922, 2.917, 2.911, 2.901, 2.899, 2.905, 2.908,\n+                    2.861, 2.855, 2.853, 2.855, 2.874, 2.888, 2.901, 2.913, 2.918, 2.922, 2.921, 2.911, 2.901, 2.901, 2.907, 2.908,\n+                    2.862, 2.859, 2.855, 2.856, 2.872, 2.885, 2.899, 2.906, 2.915, 2.917, 2.911, 2.907, 2.907, 2.907, 2.908, 2.909,\n+                    2.863, 2.863, 2.859, 2.864, 2.871, 2.881, 2.885, 2.899, 2.905, 2.905, 2.904, 2.904, 2.907, 2.909, 2.913, 2.913,\n+                    2.866, 2.865, 2.865, 2.867, 2.868, 2.872, 2.881, 2.885, 2.889, 2.894, 2.895, 2.902, 2.906, 2.913, 2.914, 2.917,\n+                    2.875, 2.875, 2.871, 2.871, 2.871, 2.871, 2.869, 2.869, 2.878, 2.889, 2.894, 2.895, 2.906, 2.914, 2.917, 2.921,\n+                    2.882, 2.879, 2.876, 2.874, 2.871, 2.871, 2.869, 2.869, 2.869, 2.878, 2.891, 2.894, 2.905, 2.914, 2.919, 2.921\n+                ]\n+            },\n+            {\n+                \"ct\": 5500, \"table\":\n+                [\n+                    1.488, 1.488, 1.488, 1.488, 1.491, 1.492, 1.492, 1.491, 1.491, 1.491, 1.492, 1.495, 1.497, 1.499, 1.499, 1.503,\n+                    1.482, 1.485, 1.485, 1.487, 1.489, 1.492, 1.492, 1.492, 1.492, 1.492, 1.494, 1.494, 1.492, 1.491, 1.493, 1.494,\n+                    1.482, 1.482, 1.484, 1.485, 1.487, 1.492, 1.496, 1.498, 1.499, 1.498, 1.494, 1.492, 1.491, 1.491, 1.491, 1.491,\n+                    1.481, 1.481, 1.482, 1.485, 1.491, 1.496, 1.498, 1.499, 1.501, 1.499, 1.498, 1.493, 1.491, 1.488, 1.488, 1.488,\n+                    1.481, 1.481, 1.481, 1.483, 1.491, 1.497, 1.498, 1.499, 1.501, 1.499, 1.498, 1.492, 1.488, 1.485, 1.483, 1.483,\n+                    1.479, 1.479, 1.481, 1.482, 1.489, 1.495, 1.497, 1.498, 1.499, 1.499, 1.495, 1.492, 1.485, 1.482, 1.482, 1.481,\n+                    1.479, 1.479, 1.479, 1.481, 1.489, 1.494, 1.496, 1.497, 1.497, 1.496, 1.495, 1.489, 1.482, 1.481, 1.479, 1.477,\n+                    1.478, 1.478, 1.479, 1.481, 1.487, 1.491, 1.494, 1.496, 1.496, 1.495, 1.492, 1.487, 1.482, 1.479, 1.478, 1.476,\n+                    1.478, 1.478, 1.479, 1.482, 1.486, 1.488, 1.491, 1.493, 1.493, 1.492, 1.487, 1.484, 1.481, 1.479, 1.476, 1.476,\n+                    1.477, 1.479, 1.481, 1.483, 1.485, 1.486, 1.488, 1.488, 1.487, 1.487, 1.484, 1.483, 1.481, 1.479, 1.476, 1.476,\n+                    1.477, 1.479, 1.482, 1.483, 1.484, 1.485, 1.484, 1.482, 1.482, 1.484, 1.483, 1.482, 1.481, 1.479, 1.477, 1.476,\n+                    1.477, 1.479, 1.482, 1.483, 1.484, 1.484, 1.482, 1.482, 1.482, 1.482, 1.482, 1.481, 1.479, 1.479, 1.479, 1.479\n+                ]\n+            }\n+        ],\n+        \"luminance_lut\":\n+        [\n+            2.764, 2.654, 2.321, 2.043, 1.768, 1.594, 1.558, 1.558, 1.558, 1.568, 1.661, 1.904, 2.193, 2.497, 2.888, 3.043,\n+            2.654, 2.373, 2.049, 1.819, 1.569, 1.446, 1.381, 1.356, 1.356, 1.403, 1.501, 1.679, 1.939, 2.218, 2.586, 2.888,\n+            2.376, 2.154, 1.819, 1.569, 1.438, 1.301, 1.246, 1.224, 1.224, 1.263, 1.349, 1.501, 1.679, 1.985, 2.359, 2.609,\n+            2.267, 1.987, 1.662, 1.438, 1.301, 1.235, 1.132, 1.105, 1.105, 1.164, 1.263, 1.349, 1.528, 1.808, 2.184, 2.491,\n+            2.218, 1.876, 1.568, 1.367, 1.235, 1.132, 1.087, 1.022, 1.023, 1.104, 1.164, 1.278, 1.439, 1.695, 2.066, 2.429,\n+            2.218, 1.832, 1.533, 1.341, 1.206, 1.089, 1.013, 1.002, 1.013, 1.026, 1.122, 1.246, 1.399, 1.642, 2.004, 2.426,\n+            2.218, 1.832, 1.533, 1.341, 1.206, 1.089, 1.011, 1.001, 1.009, 1.026, 1.122, 1.246, 1.399, 1.642, 2.004, 2.426,\n+            2.224, 1.896, 1.584, 1.382, 1.248, 1.147, 1.088, 1.016, 1.026, 1.118, 1.168, 1.283, 1.444, 1.697, 2.066, 2.428,\n+            2.292, 2.019, 1.689, 1.462, 1.322, 1.247, 1.147, 1.118, 1.118, 1.168, 1.275, 1.358, 1.532, 1.809, 2.189, 2.491,\n+            2.444, 2.204, 1.856, 1.606, 1.462, 1.322, 1.257, 1.234, 1.234, 1.275, 1.358, 1.516, 1.686, 1.993, 2.371, 2.622,\n+            2.748, 2.444, 2.108, 1.856, 1.606, 1.476, 1.399, 1.376, 1.376, 1.422, 1.516, 1.686, 1.968, 2.238, 2.611, 2.935,\n+            2.862, 2.748, 2.395, 2.099, 1.811, 1.621, 1.582, 1.582, 1.582, 1.592, 1.677, 1.919, 2.223, 2.534, 2.935, 3.078\n+        ],\n+        \"sigma\": 0.00428,\n+        \"sigma_Cb\": 0.00363\n+    },\n+    \"rpi.contrast\":\n+    {\n+        \"ce_enable\": 1,\n+        \"gamma_curve\":\n+        [\n+            0, 0, 1024, 5040, 2048, 9338, 3072, 12356, 4096, 15312, 5120, 18051, 6144, 20790, 7168, 23193,\n+            8192, 25744, 9216, 27942, 10240, 30035, 11264, 32005, 12288, 33975, 13312, 35815, 14336, 37600, 15360, 39168,\n+            16384, 40642, 18432, 43379, 20480, 45749, 22528, 47753, 24576, 49621, 26624, 51253, 28672, 52698, 30720, 53796,\n+            32768, 54876, 36864, 57012, 40960, 58656, 45056, 59954, 49152, 61183, 53248, 62355, 57344, 63419, 61440, 64476,\n+            65535, 65535\n+        ]\n+    },\n+    \"rpi.ccm\":\n+    {\n+        \"ccms\":\n+        [\n+            {\n+                \"ct\": 2850, \"ccm\":\n+                [\n+                    1.42601, -0.20537, -0.22063, -0.47682, 1.81987, -0.34305, 0.01854, -0.86036, 1.84181\n+                ]\n+            },\n+            {\n+                \"ct\": 2900, \"ccm\":\n+                [\n+                    1.29755, 0.04602, -0.34356, -0.41491, 1.73477, -0.31987, -0.01345, -0.97115, 1.98459\n+                ]\n+            },\n+            {\n+                \"ct\": 3550, \"ccm\":\n+                [\n+                    1.49811, -0.33412, -0.16398, -0.40869, 1.72995, -0.32127, -0.01924, -0.62181, 1.64105\n+                ]\n+            },\n+            {\n+                \"ct\": 4500, \"ccm\":\n+                [\n+                    1.47015, -0.29229, -0.17786, -0.36561, 1.88919, -0.52358, -0.03552, -0.56717, 1.60269\n+                ]\n+            },\n+            {\n+                \"ct\": 5600, \"ccm\":\n+                [\n+                    1.60962, -0.47434, -0.13528, -0.32701, 1.73797, -0.41096, -0.07626, -0.40171, 1.47796\n+                ]\n+            },\n+            {\n+                \"ct\": 8000, \"ccm\":\n+                [\n+                    1.54642, -0.20396, -0.34246, -0.31748, 2.22559, -0.90811, -0.10035, -0.65877, 1.75912\n+                ]\n+            }\n+        ]\n+    },\n+    \"rpi.sharpen\":\n+    {\n+    }\n+}\ndiff --git a/src/ipa/raspberrypi/data/meson.build b/src/ipa/raspberrypi/data/meson.build\nindex abb1f928..68433fc2 100644\n--- a/src/ipa/raspberrypi/data/meson.build\n+++ b/src/ipa/raspberrypi/data/meson.build\n@@ -3,6 +3,7 @@\n conf_files = files([\n     'imx219.json',\n     'imx290.json',\n+    'imx378.json',\n     'imx477.json',\n     'ov5647.json',\n     'ov9281.json',\n","prefixes":["libcamera-devel","3/3"]}