Show a patch.

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

{
    "id": 24180,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/24180/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/24180/",
    "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-6-david.plowman@raspberrypi.com>",
    "date": "2025-08-22T12:37:08",
    "name": "[5/6] utils: raspberrypi: ctt: Update vc4 tuning defaults",
    "commit_ref": "1120c028c587f735b46361e55df804cc7179c6c2",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "fad23076f40fe3c3c4b5f6dc1132d0c77421ae96",
    "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/24180/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/24180/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/24180/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 1B32BC332A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 22 Aug 2025 12:37:28 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6A5D7692F3;\n\tFri, 22 Aug 2025 14:37:27 +0200 (CEST)",
            "from mail-wm1-x334.google.com (mail-wm1-x334.google.com\n\t[IPv6:2a00:1450:4864:20::334])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BCF52692F0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Aug 2025 14:37:17 +0200 (CEST)",
            "by mail-wm1-x334.google.com with SMTP id\n\t5b1f17b1804b1-45a1b0990b2so15583275e9.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Aug 2025 05:37:17 -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.16\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 22 Aug 2025 05:37:16 -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=\"L+N5pcjN\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1755866237; x=1756471037;\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=SJOetcTaoIM32bYiVeYyfUMatXlRcufMYGMd2pqtsgw=;\n\tb=L+N5pcjNyU7TtU2Zvjbp9K5fGxp6KOQqe6zF/ZTUFNOhq7pRO9rDKlSYPfOH/7ClHC\n\toCzICLMnNHbdfuO99EWbTguhdPP1bxXkDg0VzNrkM4wRelX3fJHSAlaDiI/AwjN+RH+n\n\tM7TDXES5kHqyGlw0sol/daid0FQQwDclfLcjq84j/vOiLhIZOgnOzxDG2QmsmTu/ydwi\n\tFp0/2N94LF61enPCKfFvXz51Mp8wuAccD/m5Pin0oS1fv970D82XcEWSGtkpN/s17xkX\n\t9n2cnrn1CPNPoZOW0KYmN4nbnQXbK32sxDv1o1G2FlMTFKjnWvsfSbtOzBlWKy2oyIqE\n\tsWRg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1755866237; x=1756471037;\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=SJOetcTaoIM32bYiVeYyfUMatXlRcufMYGMd2pqtsgw=;\n\tb=ZcqjcRh+ZNg+27slL8ViJiHX00ZEowMpBZv2y/9jOXeX1BnvEeyLbg5IqO17GkRbmD\n\tJXx1A32Oyq2ZXxi0OCruH6DTGEU/TVGnwK9MX39zX06bCWoIJGlRNCjEOE3qp0zew2rR\n\tvJSLL9YnNSm5lsZnfI+4a6L7KDKoyx43/JkEKxTIGQOhVpCi6RqcHYxzCiH0WOnGut7L\n\tVtBESsYyhVeg/sn1Eouje5ka2xvZUiSLou+LYMpT85KsL4oO2L7ofPOan+votvT5p8uE\n\t3DOV3tqMjrOAAS3f5vgFJX1qn9a0kvlykOu4MaRoHXClkQTiuQYJG0+twhve9ybrHMx7\n\t/+zw==",
        "X-Gm-Message-State": "AOJu0YzbsgOM6HkKFn+5Qtarf+OjcGYsClCB6KFwreHr+3nUcogMEV3i\n\tw08IKr59CrZwCW9pBs64KEzS46Y8uPHMmLPA+vEBAaR74EilhOw/x3hvwW/I8gIUTW+75/X29wP\n\t2HuaD",
        "X-Gm-Gg": "ASbGncuuuiLDsLCaAErifXMj3zz5e4+t7X0iEg1ekgfTsNCfkYV1MFi3IDgewGkJhKL\n\t6/GsytipggPC8h6oH5LKKSGQy/OcNbakqfWEK7JEFYLDcVHoUfqM2weceNQ95DIvhtazSIlYCox\n\ta+Dvid6MfjFvxvMqdPO0zW7Xn29XAplLdFdj7UWaajgdpVOWobIWLTcP9TCWVTcKZyhAg4MJ5uL\n\thHlFL/Gl0109L8woua4lik1ohKrrjtOuQ9A4LHHMBuE2P9EqGk+S6kWqnjton47k3Z+mZvy7T+V\n\tLPaOKEEOmwp4kfeXp6JTgKOIevfRFG5RJO5/4qi4LezLM0uA0iVHZz3IbHaZanQQ/oTbJ1yNs6V\n\tpVS1IxFVW4L87Q0lxD+0QQtiqpoS1gYYjtb5VO8aYdHLGMb0xkxK/goyD1Pc7glALYrAPIzxVls\n\t2Aus1nbWI3OiVx9EdKnrNYg2Zd9/xwMMWi5+oaIZM=",
        "X-Google-Smtp-Source": "AGHT+IFHR2h3x3G/mT0FkZ/cQyu+ayHN1nU2b5e7e23JJlJ1FwGJ1G/noxar6yCHwrhh6Y0P5Rty9w==",
        "X-Received": "by 2002:a05:600c:4715:b0:459:db54:5f34 with SMTP id\n\t5b1f17b1804b1-45b517d902bmr26111955e9.31.1755866236748; \n\tFri, 22 Aug 2025 05:37:16 -0700 (PDT)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "David Plowman <david.plowman@raspberrypi.com>",
        "Subject": "[PATCH 5/6] utils: raspberrypi: ctt: Update vc4 tuning defaults",
        "Date": "Fri, 22 Aug 2025 13:37:08 +0100",
        "Message-Id": "<20250822123709.16966-6-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": "The sharpening default values are updated to be slightly less\naggressive, and exposure profiles are made slightly more\nconsistent. This now matches the latest tuning changes.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n utils/raspberrypi/ctt/ctt_vc4.py | 15 +++++++++++----\n 1 file changed, 11 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/utils/raspberrypi/ctt/ctt_vc4.py b/utils/raspberrypi/ctt/ctt_vc4.py\nindex 7154e110..dd0c5414 100755\n--- a/utils/raspberrypi/ctt/ctt_vc4.py\n+++ b/utils/raspberrypi/ctt/ctt_vc4.py\n@@ -55,12 +55,16 @@ json_template = {\n         },\n         \"exposure_modes\": {\n             \"normal\": {\n-                \"shutter\": [100, 10000, 30000, 60000, 120000],\n-                \"gain\": [1.0, 2.0, 4.0, 6.0, 6.0]\n+                \"shutter\": [100, 10000, 30000, 60000, 66666],\n+                \"gain\": [1.0, 2.0, 4.0, 6.0, 8.0]\n             },\n             \"short\": {\n-                \"shutter\": [100, 5000, 10000, 20000, 120000],\n-                \"gain\": [1.0, 2.0, 4.0, 6.0, 6.0]\n+                \"shutter\": [100, 5000, 10000, 20000, 66666],\n+                \"gain\": [1.0, 2.0, 4.0, 6.0, 8.0]\n+            },\n+            \"long\": {\n+                \"shutter\": [ 100, 10000, 30000, 60000, 120000 ],\n+                \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n             }\n         },\n         \"constraint_modes\": {\n@@ -120,6 +124,9 @@ json_template = {\n     \"rpi.ccm\": {\n     },\n     \"rpi.sharpen\": {\n+        \"threshold\": 0.75,\n+        \"limit\": 0.5,\n+        \"strength\": 1.0\n     }\n }\n \n",
    "prefixes": [
        "5/6"
    ]
}