Show a patch.

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

{
    "id": 15057,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/15057/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15057/",
    "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": "<20211206233948.1351206-2-kieran.bingham@ideasonboard.com>",
    "date": "2021-12-06T23:39:41",
    "name": "[libcamera-devel,1/8] libcamera: controls: Add SensorSequence metadata control",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "363a35cb9c47b2101bde77d9d30af51835d0c52a",
    "submitter": {
        "id": 4,
        "url": "https://patchwork.libcamera.org/api/1.1/people/4/?format=api",
        "name": "Kieran Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "delegate": {
        "id": 11,
        "url": "https://patchwork.libcamera.org/api/1.1/users/11/?format=api",
        "username": "kbingham",
        "first_name": "Kieran",
        "last_name": "Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "mbox": "https://patchwork.libcamera.org/patch/15057/mbox/",
    "series": [
        {
            "id": 2822,
            "url": "https://patchwork.libcamera.org/api/1.1/series/2822/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2822",
            "date": "2021-12-06T23:39:40",
            "name": "Request metadata: SensorSequence",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2822/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15057/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15057/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 35BF6BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  6 Dec 2021 23:39:59 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A30186087A;\n\tTue,  7 Dec 2021 00:39:57 +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 90427607DE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  7 Dec 2021 00:39:54 +0100 (CET)",
            "from Monstersaurus.local\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 23BC85B0;\n\tTue,  7 Dec 2021 00:39:54 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"k7tSre0c\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1638833994;\n\tbh=x2ujNUKNqqtxSYhUw/sSWerA77d8prx+H6BHd8JVuvU=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=k7tSre0cQjOGGvU+rQbUsuVpakuwVH2V++VNeajnVjFC5ilU7hv/0NnbTUwdWsgeg\n\tm01jsM/V+lYFsUfiiYgXn+/hj6oBWrVBPOnUJRh+yDl+9kW/xPaEkbSwdGhoPl5h72\n\tpVnqCJ8ywrgGZBhXVgIEaFrUvD4a9o7/hLSlTrP4=",
        "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "To": "libcamera devel <libcamera-devel@lists.libcamera.org>",
        "Date": "Mon,  6 Dec 2021 23:39:41 +0000",
        "Message-Id": "<20211206233948.1351206-2-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20211206233948.1351206-1-kieran.bingham@ideasonboard.com>",
        "References": "<20211206233948.1351206-1-kieran.bingham@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 1/8] libcamera: controls: Add\n\tSensorSequence metadata 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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Provide a metadata control that allows pipeline handlers to report the\nsequence number from the sensor for every request.\n\nThis can be used to monitor and validate the sequence numbers of the\ncaptured images and detect any frame drops.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/libcamera/control_ids.yaml | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 9d4638ae677e..8874fe75102c 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -381,6 +381,14 @@ controls:\n         \\todo Define how the sensor timestamp has to be used in the reprocessing\n         use case.\n \n+  - SensorSequence:\n+      type: int64_t\n+      description: |\n+        The monotonic sequence number from the sensor.\n+\n+        Any break in the sequence number is an indication of frame drop or error\n+        in the captured stream.\n+\n   # ----------------------------------------------------------------------------\n   # Draft controls section\n \n",
    "prefixes": [
        "libcamera-devel",
        "1/8"
    ]
}