Show a patch.

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

{
    "id": 4140,
    "url": "https://patchwork.libcamera.org/api/patches/4140/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/4140/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20200623091404.15155-2-david.plowman@raspberrypi.com>",
    "date": "2020-06-23T09:14:01",
    "name": "[libcamera-devel,v3,1/4] libcamera: Add a sharpness strength control",
    "commit_ref": "f68c6eb17ba5b501b5406b134901116969a27cb5",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6fdf9bedf964e99be271623ac416c988229d7e51",
    "submitter": {
        "id": 42,
        "url": "https://patchwork.libcamera.org/api/people/42/?format=api",
        "name": "David Plowman",
        "email": "david.plowman@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/4140/mbox/",
    "series": [
        {
            "id": 1029,
            "url": "https://patchwork.libcamera.org/api/series/1029/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1029",
            "date": "2020-06-23T09:14:00",
            "name": "libcamera sharpness strength control",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/1029/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/4140/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/4140/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<david.plowman@raspberrypi.com>",
        "Received": [
            "from mail-wm1-x342.google.com (mail-wm1-x342.google.com\n\t[IPv6:2a00:1450:4864:20::342])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E88E5609A3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 Jun 2020 11:14:09 +0200 (CEST)",
            "by mail-wm1-x342.google.com with SMTP id q15so620648wmj.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 Jun 2020 02:14:09 -0700 (PDT)",
            "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tt125sm2931616wmf.10.2020.06.23.02.14.08\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 23 Jun 2020 02:14:08 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"JGeXiYV2\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=lwuzQcP5NtV0Djz+8ybqG+xX95tfmuqC7ARVnlPnPCk=;\n\tb=JGeXiYV2YxmyDPElWowVbMs8jlDQMufQ9Hf7hIsN8DeAJfTg6oRa/XiAvTLrHP76PD\n\ttu4CWKa4WJWVzqCAwSyDSI3B7AyvLb0S7pmt0BEdNCVtmJ/vgQOvFLCFNqYf3qqo81gZ\n\tplyyGvWd2ZitulZd3bk7Foc5yD1jW+PD6JOJ0btBxeUg7kVLn6st24OKFEPzJaP2S/I2\n\t3Ew0xuiOXsShFtmwNiVaRWAVanli4oi05Ycu2Vt6cxKorXxJbo96CZlv5ckxCddu2PUa\n\t5x25wpvuQ0/Oghfc/gMVx6uZKtho9ijPfThxpr3carHNBLPdgCGU0VhF+4wQoEfAVNNp\n\tMKgA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=lwuzQcP5NtV0Djz+8ybqG+xX95tfmuqC7ARVnlPnPCk=;\n\tb=Wq1RaX4j2yF2Eh9TNjfzAwuceLsW9uyCxeojTk+8B+PoQzoK8jw3vUSfduHFfYp5mO\n\tssmjqcD0FGRVzMDi+t7bwLcQK9uyuVUQ6ZWCBDvRPHQbQZpRlPcGnTK5zVXcT0ZeEdSn\n\t/Yfxx5t2ncDAFHvAI9V6hYE+yFJuvm1yGFF5q6iO1gZBkWJHm3Pnan4vePrWOIPbJlcI\n\tdnB5Nw/DxtTmJ+fIuWWq95OpcW6so4Da6L/TMS7iw720PDu5U8j20D2bWa8zW3d30IvN\n\tkAeRCB5scIMhUsGO7vDmBAuMKtCmyw3U3lOx3eO0oESTZfXdjOx0mhZ3Co/6+D4PHUvq\n\tRMOg==",
        "X-Gm-Message-State": "AOAM531c3IvBZarn1zMBjG2z/75SAOu0kOwkKIOS0yyhQu1gJTmmQK14\n\t58Yz1EupjfpSNqZph5NBd/DOD3I+YtE=",
        "X-Google-Smtp-Source": "ABdhPJy0Y2gA/WXEjYsXua14B06mQIbEbEG1yEm4uA/20k8ePVdn8EGk85NsH/xlfYkPIGyTKXBcKA==",
        "X-Received": "by 2002:a1c:1984:: with SMTP id\n\t126mr21784328wmz.147.1592903649383; \n\tTue, 23 Jun 2020 02:14:09 -0700 (PDT)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue, 23 Jun 2020 10:14:01 +0100",
        "Message-Id": "<20200623091404.15155-2-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20200623091404.15155-1-david.plowman@raspberrypi.com>",
        "References": "<20200623091404.15155-1-david.plowman@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 1/4] libcamera: Add a sharpness\n\tstrength control",
        "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>",
        "X-List-Received-Date": "Tue, 23 Jun 2020 09:14:10 -0000"
    },
    "content": "The control is a single float value with minimum, default and maximum\nvalues. Please read the description for more details.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 77ebc3f..8c3e4c7 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -239,4 +239,16 @@ controls:\n         pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels\n         control can only be returned in metadata.\n       size: [4]\n+\n+  - Sharpness:\n+      type: float\n+      description:  |\n+        A value of 0.0 means no sharpening. The minimum value means\n+        minimal sharpening, and shall be 0.0 unless the camera can't\n+        disable sharpening completely. The default value shall give a\n+        \"reasonable\" level of sharpening, suitable for most use cases.\n+        The maximum value may apply extremely high levels of sharpening,\n+        higher than anyone could reasonably want. Negative values are\n+        not allowed. Note also that sharpening is not applied to raw\n+        streams.\n ...\n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "1/4"
    ]
}