Show a patch.

GET /api/1.1/patches/25829/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 25829,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/25829/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/25829/",
    "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": "<20260118202953.1554892-5-rui.wang@ideasonboard.com>",
    "date": "2026-01-18T20:29:53",
    "name": "[v1,4/4] ipa: rkisp1: data: Add Filter tuning configuration for sensors",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7217c8fd4f6d914df4848add33977d56dc6d50f7",
    "submitter": {
        "id": 241,
        "url": "https://patchwork.libcamera.org/api/1.1/people/241/?format=api",
        "name": "Rui Wang",
        "email": "rui.wang@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/25829/mbox/",
    "series": [
        {
            "id": 5712,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5712/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5712",
            "date": "2026-01-18T20:29:49",
            "name": "Filter algorithm refactoring and mode switching",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5712/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/25829/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/25829/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 9153DBDCBE\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 18 Jan 2026 20:30:53 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5129F61FC6;\n\tSun, 18 Jan 2026 21:30:53 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E3C3B61FC4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 18 Jan 2026 21:30:51 +0100 (CET)",
            "from rui-Precision-7560.local (unknown [209.216.103.65])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id AA96F1BA;\n\tSun, 18 Jan 2026 21:30:21 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"XY6d4nn3\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1768768222;\n\tbh=2tKHiCOXdI7XE8K/9Cjk2rsU6b/hAY8TCZtwDlVPGR0=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=XY6d4nn3RYI+zREM2acG5cPQEwMdnj7jyA3/N0k2zdE3UtW8YpAXY0OqFttML+tCC\n\tiCu3X4CRmN+zH8KTUW+fB99S9jxum2XXZswhQc1hZFE43ge/baJRlUOPEyj1WdYwJ2\n\t7DR33Gk4QZVbZomIjV7BQt6FjoBGy4hJ7fQHbAXs=",
        "From": "Rui Wang <rui.wang@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Rui Wang <rui.wang@ideasonboard.com>",
        "Subject": "[PATCH v1 4/4] ipa: rkisp1: data: Add Filter tuning configuration\n\tfor sensors",
        "Date": "Sun, 18 Jan 2026 15:29:53 -0500",
        "Message-ID": "<20260118202953.1554892-5-rui.wang@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260118202953.1554892-1-rui.wang@ideasonboard.com>",
        "References": "<20260118202953.1554892-1-rui.wang@ideasonboard.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": "Add initial Filter algorithm tuning parameters for IMX219/OV5640\nsensor, enabling filter noise reduction mode switching support.\n\nSigned-off-by: Rui Wang <rui.wang@ideasonboard.com>\n---\n src/ipa/rkisp1/data/imx219.yaml | 48 +++++++++++++++++++++++++++++++++\n src/ipa/rkisp1/data/ov5640.yaml | 47 ++++++++++++++++++++++++++++++++\n 2 files changed, 95 insertions(+)",
    "diff": "diff --git a/src/ipa/rkisp1/data/imx219.yaml b/src/ipa/rkisp1/data/imx219.yaml\nindex 0d99cb52..ff02b273 100644\n--- a/src/ipa/rkisp1/data/imx219.yaml\n+++ b/src/ipa/rkisp1/data/imx219.yaml\n@@ -111,4 +111,52 @@ algorithms:\n                1438, 1226, 1059, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1025, 1054, 1185,\n                1326, 1334, 1334,\n              ]\n+  - Filter:\n+      NoiseReductionModes:\n+      - type: \"ReductionMinimal\"\n+        mode: 1266           # 0x000004f2 in decimal\n+        lum_weight: 139328   # 0x00022040 in decimal\n+        grn_stage1: 6\n+        chr_h_mode: 3\n+        chr_v_mode: 3\n+        thresh_bl0: 8\n+        thresh_bl1: 2\n+        thresh_sh0: 18\n+        thresh_sh1: 33\n+        fac_sh0: 4\n+        fac_sh1: 4\n+        fac_mid: 4\n+        fac_bl0: 2\n+        fac_bl1: 0\n+      - type: \"ReductionHighQuality\"\n+        mode: 1266           # 0x000004f2 in decimal\n+        lum_weight: 139328   # 0x00022040 in decimal\n+        grn_stage1: 6\n+        chr_h_mode: 3\n+        chr_v_mode: 3\n+        thresh_bl0: 8\n+        thresh_bl1: 2\n+        thresh_sh0: 18\n+        thresh_sh1: 33\n+        fac_sh0: 4\n+        fac_sh1: 4\n+        fac_mid: 4\n+        fac_bl0: 2\n+        fac_bl1: 0\n+      - type: \"ReductionMinimal\"\n+        mode: 1266           # 0x000004f2 in decimal\n+        lum_weight: 139328   # 0x00022040 in decimal\n+        grn_stage1: 6\n+        chr_h_mode: 3\n+        chr_v_mode: 3\n+        thresh_bl0: 8\n+        thresh_bl1: 2\n+        thresh_sh0: 18\n+        thresh_sh1: 33\n+        fac_sh0: 4\n+        fac_sh1: 4\n+        fac_mid: 4\n+        fac_bl0: 2\n+        fac_bl1: 0\n+      ActiveMode: \"ReductionHighQuality\"\n ...\ndiff --git a/src/ipa/rkisp1/data/ov5640.yaml b/src/ipa/rkisp1/data/ov5640.yaml\nindex 4b21d412..8613380a 100644\n--- a/src/ipa/rkisp1/data/ov5640.yaml\n+++ b/src/ipa/rkisp1/data/ov5640.yaml\n@@ -247,4 +247,51 @@ algorithms:\n         g: 64\n         b: 64\n   - Filter:\n+      NoiseReductionModes:\n+      - type: \"ReductionMinimal\"\n+        mode: 1266           # 0x000004f2 in decimal\n+        lum_weight: 139328   # 0x00022040 in decimal\n+        grn_stage1: 6\n+        chr_h_mode: 3\n+        chr_v_mode: 3\n+        thresh_bl0: 8\n+        thresh_bl1: 2\n+        thresh_sh0: 18\n+        thresh_sh1: 33\n+        fac_sh0: 4\n+        fac_sh1: 4\n+        fac_mid: 4\n+        fac_bl0: 2\n+        fac_bl1: 0\n+      - type: \"ReductionHighQuality\"\n+        mode: 1266           # 0x000004f2 in decimal\n+        lum_weight: 139328   # 0x00022040 in decimal\n+        grn_stage1: 6\n+        chr_h_mode: 3\n+        chr_v_mode: 3\n+        thresh_bl0: 8\n+        thresh_bl1: 2\n+        thresh_sh0: 18\n+        thresh_sh1: 33\n+        fac_sh0: 4\n+        fac_sh1: 4\n+        fac_mid: 4\n+        fac_bl0: 2\n+        fac_bl1: 0\n+      - type: \"ReductionMinimal\"\n+        mode: 1266           # 0x000004f2 in decimal\n+        lum_weight: 139328   # 0x00022040 in decimal\n+        grn_stage1: 6\n+        chr_h_mode: 3\n+        chr_v_mode: 3\n+        thresh_bl0: 8\n+        thresh_bl1: 2\n+        thresh_sh0: 18\n+        thresh_sh1: 33\n+        fac_sh0: 4\n+        fac_sh1: 4\n+        fac_mid: 4\n+        fac_bl0: 2\n+        fac_bl1: 0\n+      ActiveMode: \"ReductionHighQuality\"\n ...\n",
    "prefixes": [
        "v1",
        "4/4"
    ]
}