Show a patch.

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

{
    "id": 25369,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/25369/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/25369/",
    "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": "<20251204213744.1110922-3-rui.wang@ideasonboard.com>",
    "date": "2025-12-04T21:37:44",
    "name": "[v3,2/2] imx219: enable DPF tuning for IMX219 sensor",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f18b8ac2854407d56bc04d25eafb442b3ba68865",
    "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/25369/mbox/",
    "series": [
        {
            "id": 5639,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5639/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5639",
            "date": "2025-12-04T21:37:42",
            "name": "rebase_dpf_refactory_patch_v3",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/5639/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/25369/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/25369/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 3F5D0BD80A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  4 Dec 2025 21:38:19 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E800D611BA;\n\tThu,  4 Dec 2025 22:38:18 +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 D14ED61186\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  4 Dec 2025 22:38:16 +0100 (CET)",
            "from localhost.localdomain (unknown [209.216.103.65])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id B37E4D7;\n\tThu,  4 Dec 2025 22:36:00 +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=\"lgdq9Mhk\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1764884161;\n\tbh=rZ0qMrC4Rjs2hrokDqG2Mp93Ahv3kwm8DiQNIEzqrM0=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=lgdq9MhkgELacQ+/3LqJdbH2cTK8NVo7Tlj1Flt0kIeurtwXY7O4o8exY/hKWCvX8\n\tqKjymMCKChSouZsvqZd07J1IisX/huUmcrAlXzlsJjH3miN7ax4mgKdbH2cv3bV5fZ\n\tcio3GG2+VkTJQDiLfDJyHW3VTY+jYwDztc6PudAY=",
        "From": "Rui Wang <rui.wang@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Rui Wang <rui.wang@ideasonboard.com>",
        "Subject": "[PATCH v3 2/2] imx219: enable DPF tuning for IMX219 sensor",
        "Date": "Thu,  4 Dec 2025 16:37:44 -0500",
        "Message-ID": "<20251204213744.1110922-3-rui.wang@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20251204213744.1110922-1-rui.wang@ideasonboard.com>",
        "References": "<20251204213744.1110922-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": "Enable the RkISP1 denoise pre-filter (DPF) for the IMX219 sensor by\nadding the required DPF tuning block to imx219.yaml.\n\nSigned-off-by: Rui Wang <rui.wang@ideasonboard.com>\n---\n src/ipa/rkisp1/data/imx219.yaml | 90 +++++++++++++++++++++++++++++++++\n 1 file changed, 90 insertions(+)",
    "diff": "diff --git a/src/ipa/rkisp1/data/imx219.yaml b/src/ipa/rkisp1/data/imx219.yaml\nindex 0d99cb52..5b0b2771 100644\n--- a/src/ipa/rkisp1/data/imx219.yaml\n+++ b/src/ipa/rkisp1/data/imx219.yaml\n@@ -111,4 +111,94 @@ algorithms:\n                1438, 1226, 1059, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1025, 1054, 1185,\n                1326, 1334, 1334,\n              ]\n+  - Dpf:\n+      filter:\n+        g:  [ 18, 13,  9,  5,  3,  1 ]\n+        rb: [ 18, 15, 12,  8,  5,  2 ]\n+      nll:\n+        coeff: [\n+          0,  14,  28,  42,  58,  76,  96, 120,\n+          148, 180, 216, 256, 300, 348, 400, 456,\n+          520\n+        ]\n+        scale-mode: \"linear\"\n+      strength:\n+        r: 80\n+        g: 80\n+        b: 80\n+      gain:\n+        gain_mode: 5\n+        r: 256\n+        b: 256\n+        gr: 256\n+        gb: 256\n+      modes:\n+        - type: \"minimal\"\n+          filter:\n+            g:  [ 14, 10,  7,  4,  2,  1 ]\n+            rb: [ 14, 11,  8,  4,  2,  1 ]\n+          nll:\n+            coeff: [ 0, 10, 20, 30, 42, 56, 72, 90, 112, 138, 168, 200, 236, 276, 320, 368, 420 ]\n+            scale-mode: \"linear\"\n+          strength:\n+            r: 60\n+            g: 60\n+            b: 60\n+          gain:\n+            gain_mode: 5\n+            r: 256\n+            b: 256\n+            gr: 256\n+            gb: 256\n+        - type: \"highquality\"\n+          filter:\n+            g:  [ 22, 18, 13,  8,  5,  2 ]\n+            rb: [ 20, 18, 16, 11,  7,  3 ]\n+          nll:\n+            coeff: [ 0, 26, 52, 78, 106, 138, 172, 208, 248, 292, 340, 392, 448, 508, 572, 640, 712 ]\n+            scale-mode: \"linear\"\n+          strength:\n+            r: 130\n+            g: 130\n+            b: 130\n+          gain:\n+            gain_mode: 5\n+            r: 256\n+            b: 256\n+            gr: 256\n+            gb: 256\n+        - type: \"fast\"\n+          filter:\n+            g:  [ 16, 12,  9,  5,  3,  1 ]\n+            rb: [ 16, 13, 10,  6,  4,  2 ]\n+          nll:\n+            coeff: [ 0, 16, 32, 48, 66, 86, 108, 132, 160, 192, 228, 268, 312, 360, 412, 468, 528 ]\n+            scale-mode: \"linear\"\n+          strength:\n+            r: 90\n+            g: 90\n+            b: 90\n+          gain:\n+            gain_mode: 5\n+            r: 256\n+            b: 256\n+            gr: 256\n+            gb: 256\n+        - type: \"zsl\"\n+          filter:\n+            g:  [ 18, 14, 10,  6,  3,  1 ]\n+            rb: [ 18, 16, 13,  9,  5,  3 ]\n+          nll:\n+            coeff: [ 0, 20, 40, 60, 82, 106, 132, 160, 192, 228, 268, 312, 360, 412, 468, 528, 592 ]\n+            scale-mode: \"linear\"\n+          strength:\n+            r: 110\n+            g: 110\n+            b: 110\n+          gain:\n+            gain_mode: 5\n+            r: 256\n+            b: 256\n+            gr: 256\n+            gb: 256\n ...\n",
    "prefixes": [
        "v3",
        "2/2"
    ]
}