Patch Detail
Show a patch.
GET /api/1.1/patches/24178/?format=api
{ "id": 24178, "url": "https://patchwork.libcamera.org/api/1.1/patches/24178/?format=api", "web_url": "https://patchwork.libcamera.org/patch/24178/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20250822123709.16966-3-david.plowman@raspberrypi.com>", "date": "2025-08-22T12:37:05", "name": "[2/6] ipa: rpi: pisp: data: Improve noise and detail tuning", "commit_ref": "ecbe4b1af38c0ba2687f34dd5855cceeed25c3d9", "pull_url": null, "state": "accepted", "archived": false, "hash": "f77c5103a9e30b928a29a8ae1cffd2219c209732", "submitter": { "id": 42, "url": "https://patchwork.libcamera.org/api/1.1/people/42/?format=api", "name": "David Plowman", "email": "david.plowman@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/24178/mbox/", "series": [ { "id": 5398, "url": "https://patchwork.libcamera.org/api/1.1/series/5398/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5398", "date": "2025-08-22T12:37:03", "name": "Camera tuning updates for Raspberry Pi", "version": 1, "mbox": "https://patchwork.libcamera.org/series/5398/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/24178/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/24178/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 E199CBD87C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 22 Aug 2025 12:37:24 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 800E2692F2;\n\tFri, 22 Aug 2025 14:37:23 +0200 (CEST)", "from mail-wr1-x432.google.com (mail-wr1-x432.google.com\n\t[IPv6:2a00:1450:4864:20::432])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A916F692ED\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Aug 2025 14:37:16 +0200 (CEST)", "by mail-wr1-x432.google.com with SMTP id\n\tffacd0b85a97d-3c68ac7e1c4so149448f8f.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Aug 2025 05:37:16 -0700 (PDT)", "from raspberrypi.pitowers.org\n\t([2a00:1098:3142:1f:ffc9:aff6:7f7f:893b])\n\tby smtp.gmail.com with ESMTPSA id\n\tffacd0b85a97d-3c07487986fsm16685787f8f.1.2025.08.22.05.37.13\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 22 Aug 2025 05:37:13 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"qbKUVeGR\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1755866235; x=1756471035;\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=K/FFP3zTzHFztawzhrpPqDXxZR3P1VOOi0PudFwZkcM=;\n\tb=qbKUVeGRPs0Z/jmK5QZkRj9ZNpx5kgTQY2flvyu7xydj99dYBmTdiG6JjwmbMnm0yF\n\tg01EtPlRVYJgrpxEdKpqL0Gr29EktDygIcKzakTgpCrbDwwYgBpSFN7v8WYRKthhlP0w\n\tLAX0/Roi/MI4ZSak/q25JY0sXcIbz0ANhjV56+PXQ9+cbFjH/VnZC3/xIhPvUOwNTeDz\n\tDHk33ScMn7MloZ4PIq33Z2jVcKHX5jCfXSaPQNoPavsWFNxx476o1LxDfa/6wTFWRQc5\n\tVMtGK4n1v/h5s6NZjQAnV84vDogYy2IZdPbwNpk4OVPYoNfkeiQ08c34ZJm+Zlv9VOZp\n\tb1IA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1755866235; x=1756471035;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=K/FFP3zTzHFztawzhrpPqDXxZR3P1VOOi0PudFwZkcM=;\n\tb=YGlQzt96PBg+af4nnCrSHuXIwoMvTDZFy3D9FFshF/vvV+fOpOdeifY/aMRbtcL5tZ\n\t7PMCDFFz3juZMYAdnV+FENPrSwikpv6NhKLe0cog6lsEzqEH1XpcrUmGbtmDKqv551/E\n\tMPu/y1TljEbStVBKQUq1IQErO1wCYVkpuoULXJLQZYEcdgplVOFQ14bsq7XMTu8B2qjH\n\tDkE2XQAx//rBFhRjfKRbN+vU3BqfO/mWn/xg2XY7Z2/GkU7REAzBgYc+fFU0suNYp9rW\n\twU9f01S7ouYxxRdPLChvtLNf7lbmtqDz+pxkc7YJqsxSCaaNfj9TqEwp68RPN7wLQHx4\n\tXPIA==", "X-Gm-Message-State": "AOJu0Yybt5AQah+EHkdHtKtrwCcq7Cempb1HljN++NNZzoP08bgGnAWf\n\te+QU+/alaQPAsm0BqIEXwkqIXSLAE24MRLT5uu3R4hF1sAvKw8h4k2+NkmNpbtLtqq0JQlWjmE/\n\tKH2gr", "X-Gm-Gg": "ASbGncsbATMWI4fwfVdBipDXFXK3JovfjmsImblvZ7KK8Iej1VwyLE2KEwiUVXbP7fd\n\tgsLGMl8CgThTSRAsY9mltQ27LdsTxcsibh7klHMY/ZlhXadKNXhappsPWBHk7Qmcg03/YcW6LUO\n\t7ciZbltwKWaEpsgYJJPHqEZuqugQBQDxFeldJDC4iwPhDcy145zcwsLR9KH1llCeYPOYnJeuq+p\n\tDHNK1X94xa437y6Gfi9YL8hG7U1o83lPyY+1Bdag33Ntq4k/rKz3E12H4N9Y2SiyjBaSylmCYNT\n\tO55KJZS1JCmbzGTqlt4ebGrFCnG1nczNBO8CTjUjxfBhsk8dSswFiB0MiX3WoIL/BmuabuZ6aIp\n\tQlBAj8i5xkI1TGtekdcdtonsMI2V5XyH9vfbQIG/hf5qtKROCHmT+2d18+9TEPZt7WRtGsEIGGX\n\tJmqQNPeWX0CO6dkd7w8Aga2rMbaI1ZjyxPCQHCFhM=", "X-Google-Smtp-Source": "AGHT+IHEcHcseVm1D+kcvzB+V+Qrmy34hBgDN/QrkNsRcpHfFYaAA3GIGNXnS7wwl365z22SaJ+lSQ==", "X-Received": "by 2002:a05:6000:2f86:b0:3a4:eda1:6c39 with SMTP id\n\tffacd0b85a97d-3c5da931b49mr2073162f8f.13.1755866234387; \n\tFri, 22 Aug 2025 05:37:14 -0700 (PDT)", "From": "David Plowman <david.plowman@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "David Plowman <david.plowman@raspberrypi.com>", "Subject": "[PATCH 2/6] ipa: rpi: pisp: data: Improve noise and detail tuning", "Date": "Fri, 22 Aug 2025 13:37:05 +0100", "Message-Id": "<20250822123709.16966-3-david.plowman@raspberrypi.com>", "X-Mailer": "git-send-email 2.39.5", "In-Reply-To": "<20250822123709.16966-1-david.plowman@raspberrypi.com>", "References": "<20250822123709.16966-1-david.plowman@raspberrypi.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": "Noise and detail tuning is improved for all official Raspberry Pi\ncameras.\n\nThe old tunings left too much noise in and even sharpened some of\nit. The new tunings remove more noise, and no longer sharpen it. Some\nof the more general over-sharpening is also removed. Note that lost\ndetail can be recovered well using TDN (temporal denoise), which is\nthe recommended method to get the best results.\n\nThere are some minor adjustments to the CDN deviation, now that this\ngets backed-off as TDN ramps up.\n\nThe contrast in the gamma in the bright areas is also toned down just\na little.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/ipa/rpi/pisp/data/imx219.json | 118 +++++++++--------\n src/ipa/rpi/pisp/data/imx219_noir.json | 118 +++++++++--------\n src/ipa/rpi/pisp/data/imx296.json | 126 ++++++++++--------\n src/ipa/rpi/pisp/data/imx296_16mm.json | 126 ++++++++++--------\n src/ipa/rpi/pisp/data/imx296_6mm.json | 126 ++++++++++--------\n src/ipa/rpi/pisp/data/imx296_mono.json | 126 ++++++++++--------\n src/ipa/rpi/pisp/data/imx477.json | 128 +++++++++++--------\n src/ipa/rpi/pisp/data/imx477_16mm.json | 128 +++++++++++--------\n src/ipa/rpi/pisp/data/imx477_6mm.json | 128 +++++++++++--------\n src/ipa/rpi/pisp/data/imx477_noir.json | 128 +++++++++++--------\n src/ipa/rpi/pisp/data/imx477_scientific.json | 16 +--\n src/ipa/rpi/pisp/data/imx708.json | 128 +++++++++++--------\n src/ipa/rpi/pisp/data/imx708_noir.json | 128 +++++++++++--------\n src/ipa/rpi/pisp/data/imx708_wide.json | 128 +++++++++++--------\n src/ipa/rpi/pisp/data/imx708_wide_noir.json | 128 +++++++++++--------\n src/ipa/rpi/pisp/data/ov5647.json | 118 +++++++++--------\n src/ipa/rpi/pisp/data/ov5647_noir.json | 118 +++++++++--------\n 17 files changed, 1152 insertions(+), 864 deletions(-)", "diff": "diff --git a/src/ipa/rpi/pisp/data/imx219.json b/src/ipa/rpi/pisp/data/imx219.json\nindex 5254e60d..727f8e2d 100644\n--- a/src/ipa/rpi/pisp/data/imx219.json\n+++ b/src/ipa/rpi/pisp/data/imx219.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 3.661\n+ \"reference_slope\": 5.38\n }\n },\n {\n@@ -45,11 +45,11 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -58,7 +58,7 @@\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,11 +66,11 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -79,19 +79,19 @@\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -100,8 +100,8 @@\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -271,7 +271,7 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n \"gain\": [ 1.0, 1.5, 2.0, 4.0, 10.0 ]\n },\n \"short\":\n@@ -282,7 +282,7 @@\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 10.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1021,37 +1021,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1120,8 +1138,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx219_noir.json b/src/ipa/rpi/pisp/data/imx219_noir.json\nindex 8a8ad330..cfd2daac 100644\n--- a/src/ipa/rpi/pisp/data/imx219_noir.json\n+++ b/src/ipa/rpi/pisp/data/imx219_noir.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 3.661\n+ \"reference_slope\": 5.38\n }\n },\n {\n@@ -45,11 +45,11 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -58,7 +58,7 @@\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,11 +66,11 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -79,19 +79,19 @@\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -100,8 +100,8 @@\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -188,7 +188,7 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n \"gain\": [ 1.0, 1.5, 2.0, 4.0, 10.0 ]\n },\n \"short\":\n@@ -199,7 +199,7 @@\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 10.0 ]\n }\n },\n \"constraint_modes\":\n@@ -928,37 +928,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1045,8 +1063,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx296.json b/src/ipa/rpi/pisp/data/imx296.json\nindex d9dde898..d833c837 100644\n--- a/src/ipa/rpi/pisp/data/imx296.json\n+++ b/src/ipa/rpi/pisp/data/imx296.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.751\n+ \"reference_slope\": 3.751\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -270,18 +270,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1019,37 +1019,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1127,7 +1145,7 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.06,\n+ \"threshold\": 0.76,\n \"strength\": 0.5,\n \"limit\": 0.5\n }\ndiff --git a/src/ipa/rpi/pisp/data/imx296_16mm.json b/src/ipa/rpi/pisp/data/imx296_16mm.json\nindex 87443745..62344533 100644\n--- a/src/ipa/rpi/pisp/data/imx296_16mm.json\n+++ b/src/ipa/rpi/pisp/data/imx296_16mm.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.751\n+ \"reference_slope\": 3.751\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -270,18 +270,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1019,37 +1019,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1127,7 +1145,7 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.06,\n+ \"threshold\": 0.76,\n \"strength\": 0.5,\n \"limit\": 0.5\n }\ndiff --git a/src/ipa/rpi/pisp/data/imx296_6mm.json b/src/ipa/rpi/pisp/data/imx296_6mm.json\nindex abbcaa83..c71a0327 100644\n--- a/src/ipa/rpi/pisp/data/imx296_6mm.json\n+++ b/src/ipa/rpi/pisp/data/imx296_6mm.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.751\n+ \"reference_slope\": 3.751\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -270,18 +270,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1019,37 +1019,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1127,7 +1145,7 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.06,\n+ \"threshold\": 0.76,\n \"strength\": 0.5,\n \"limit\": 0.5\n }\ndiff --git a/src/ipa/rpi/pisp/data/imx296_mono.json b/src/ipa/rpi/pisp/data/imx296_mono.json\nindex 153f86a0..e8fb9f27 100644\n--- a/src/ipa/rpi/pisp/data/imx296_mono.json\n+++ b/src/ipa/rpi/pisp/data/imx296_mono.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.751\n+ \"reference_slope\": 3.751\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -182,18 +182,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -855,37 +855,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -893,7 +911,7 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.06,\n+ \"threshold\": 0.76,\n \"strength\": 0.5,\n \"limit\": 0.5\n }\ndiff --git a/src/ipa/rpi/pisp/data/imx477.json b/src/ipa/rpi/pisp/data/imx477.json\nindex 2fe04c21..1dce5964 100644\n--- a/src/ipa/rpi/pisp/data/imx477.json\n+++ b/src/ipa/rpi/pisp/data/imx477.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.809\n+ \"reference_slope\": 3.9\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -271,18 +271,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1020,37 +1020,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1119,8 +1137,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx477_16mm.json b/src/ipa/rpi/pisp/data/imx477_16mm.json\nindex f4e65c92..3c835341 100644\n--- a/src/ipa/rpi/pisp/data/imx477_16mm.json\n+++ b/src/ipa/rpi/pisp/data/imx477_16mm.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.809\n+ \"reference_slope\": 3.9\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -271,18 +271,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1020,37 +1020,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1119,8 +1137,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx477_6mm.json b/src/ipa/rpi/pisp/data/imx477_6mm.json\nindex 27268c23..af4f7891 100644\n--- a/src/ipa/rpi/pisp/data/imx477_6mm.json\n+++ b/src/ipa/rpi/pisp/data/imx477_6mm.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.809\n+ \"reference_slope\": 3.9\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -271,18 +271,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1020,37 +1020,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1119,8 +1137,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx477_noir.json b/src/ipa/rpi/pisp/data/imx477_noir.json\nindex defc4f4d..0c2020bb 100644\n--- a/src/ipa/rpi/pisp/data/imx477_noir.json\n+++ b/src/ipa/rpi/pisp/data/imx477_noir.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.809\n+ \"reference_slope\": 3.9\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -188,18 +188,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -937,37 +937,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1081,8 +1099,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx477_scientific.json b/src/ipa/rpi/pisp/data/imx477_scientific.json\nindex 4ec5a15b..1d9bae9b 100644\n--- a/src/ipa/rpi/pisp/data/imx477_scientific.json\n+++ b/src/ipa/rpi/pisp/data/imx477_scientific.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.809\n+ \"reference_slope\": 3.9\n }\n },\n {\n@@ -43,20 +43,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n }\n@@ -537,8 +537,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n }\ndiff --git a/src/ipa/rpi/pisp/data/imx708.json b/src/ipa/rpi/pisp/data/imx708.json\nindex 7f2e7865..d86afc2e 100644\n--- a/src/ipa/rpi/pisp/data/imx708.json\n+++ b/src/ipa/rpi/pisp/data/imx708.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 1.856\n+ \"reference_slope\": 2.856\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 3.2,\n- \"strength\": 0.75,\n+ \"deviation\": 0.2,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -270,18 +270,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1019,37 +1019,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1109,8 +1127,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx708_noir.json b/src/ipa/rpi/pisp/data/imx708_noir.json\nindex c5e6a265..d4c7cb9d 100644\n--- a/src/ipa/rpi/pisp/data/imx708_noir.json\n+++ b/src/ipa/rpi/pisp/data/imx708_noir.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 1.856\n+ \"reference_slope\": 2.856\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -188,18 +188,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -937,37 +937,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1126,8 +1144,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx708_wide.json b/src/ipa/rpi/pisp/data/imx708_wide.json\nindex 8550cdfc..7208823a 100644\n--- a/src/ipa/rpi/pisp/data/imx708_wide.json\n+++ b/src/ipa/rpi/pisp/data/imx708_wide.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.9\n+ \"reference_slope\": 2.856\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -270,18 +270,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1019,37 +1019,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1118,8 +1136,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/imx708_wide_noir.json b/src/ipa/rpi/pisp/data/imx708_wide_noir.json\nindex 069a0618..f0fa66c9 100644\n--- a/src/ipa/rpi/pisp/data/imx708_wide_noir.json\n+++ b/src/ipa/rpi/pisp/data/imx708_wide_noir.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 2.9\n+ \"reference_slope\": 2.856\n }\n },\n {\n@@ -45,20 +45,20 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,42 +66,42 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n- \"deviation\": 200,\n+ \"deviation\": 100,\n \"strength\": 0.3\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -188,18 +188,18 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"short\":\n {\n \"shutter\": [ 100, 5000, 10000, 20000, 60000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 16.0 ]\n },\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 16.0 ]\n }\n },\n \"constraint_modes\":\n@@ -937,37 +937,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1027,8 +1045,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/ov5647.json b/src/ipa/rpi/pisp/data/ov5647.json\nindex d5156767..d534af31 100644\n--- a/src/ipa/rpi/pisp/data/ov5647.json\n+++ b/src/ipa/rpi/pisp/data/ov5647.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 4.371\n+ \"reference_slope\": 5.871\n }\n },\n {\n@@ -45,11 +45,11 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -58,7 +58,7 @@\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,11 +66,11 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -79,19 +79,19 @@\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -100,8 +100,8 @@\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -271,7 +271,7 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n },\n \"short\":\n@@ -282,7 +282,7 @@\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 8.0 ]\n }\n },\n \"constraint_modes\":\n@@ -1020,37 +1020,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1119,8 +1137,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\ndiff --git a/src/ipa/rpi/pisp/data/ov5647_noir.json b/src/ipa/rpi/pisp/data/ov5647_noir.json\nindex 3e04f21b..a900af43 100644\n--- a/src/ipa/rpi/pisp/data/ov5647_noir.json\n+++ b/src/ipa/rpi/pisp/data/ov5647_noir.json\n@@ -28,7 +28,7 @@\n \"rpi.noise\":\n {\n \"reference_constant\": 0,\n- \"reference_slope\": 4.371\n+ \"reference_slope\": 5.871\n }\n },\n {\n@@ -45,11 +45,11 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -58,7 +58,7 @@\n },\n \"tdn\":\n {\n- \"deviation\": 0.8,\n+ \"deviation\": 1.0,\n \"threshold\": 0.05\n }\n },\n@@ -66,11 +66,11 @@\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -79,19 +79,19 @@\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n },\n \"night\":\n {\n \"sdn\":\n {\n- \"deviation\": 1.6,\n- \"strength\": 0.5,\n+ \"deviation\": 0.6,\n+ \"strength\": 0.95,\n \"deviation2\": 3.2,\n \"deviation_no_tdn\": 3.2,\n- \"strength_no_tdn\": 0.75\n+ \"strength_no_tdn\": 0.95\n },\n \"cdn\":\n {\n@@ -100,8 +100,8 @@\n },\n \"tdn\":\n {\n- \"deviation\": 1.3,\n- \"threshold\": 0.1\n+ \"deviation\": 1.0,\n+ \"threshold\": 0.05\n }\n }\n }\n@@ -188,7 +188,7 @@\n {\n \"normal\":\n {\n- \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n+ \"shutter\": [ 100, 10000, 30000, 50000, 66666 ],\n \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0 ]\n },\n \"short\":\n@@ -199,7 +199,7 @@\n \"long\":\n {\n \"shutter\": [ 100, 10000, 30000, 60000, 90000, 120000 ],\n- \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 12.0 ]\n+ \"gain\": [ 1.0, 1.5, 2.0, 4.0, 8.0, 8.0 ]\n }\n },\n \"constraint_modes\":\n@@ -937,37 +937,55 @@\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+ 512, 2518,\n+ 1024, 5033,\n+ 1536, 7175,\n+ 2048, 9309,\n+ 2560, 10814,\n+ 3072, 12312,\n+ 3584, 13773,\n+ 4096, 15225,\n+ 4608, 16566,\n+ 5120, 17899,\n+ 5632, 19221,\n+ 6144, 20534,\n+ 6656, 21684,\n+ 7168, 22826,\n+ 7680, 24024,\n+ 8192, 25212,\n+ 9216, 27251,\n+ 10240, 29167,\n+ 11264, 30947,\n+ 12288, 32696,\n+ 13312, 34309,\n+ 14336, 35849,\n+ 15360, 37194,\n+ 16384, 38445,\n+ 17408, 39598,\n+ 18432, 40732,\n+ 19456, 41717,\n+ 20480, 42687,\n+ 22528, 44343,\n+ 24576, 45871,\n+ 26624, 47222,\n+ 28672, 48441,\n+ 30720, 49460,\n+ 32768, 50470,\n+ 34816, 51476,\n+ 36864, 52480,\n+ 38912, 53382,\n+ 40960, 54294,\n+ 43008, 55155,\n+ 45056, 56035,\n+ 47104, 56920,\n+ 49152, 57824,\n+ 51200, 58737,\n+ 53248, 59666,\n+ 55296, 60604,\n+ 57344, 61558,\n+ 59392, 62529,\n+ 61440, 63516,\n+ 63488, 64519,\n 65535, 65535\n ]\n }\n@@ -1054,8 +1072,8 @@\n {\n \"rpi.sharpen\":\n {\n- \"threshold\": 0.25,\n- \"limit\": 1.0,\n+ \"threshold\": 0.75,\n+ \"limit\": 0.5,\n \"strength\": 1.0\n }\n },\n", "prefixes": [ "2/6" ] }