Show a patch.

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

{
    "id": 11638,
    "url": "https://patchwork.libcamera.org/api/patches/11638/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/11638/",
    "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": "<20210322104242.31107-2-m.cichy@pengutronix.de>",
    "date": "2021-03-22T10:42:40",
    "name": "[libcamera-devel,1/3] libcamera: stream: Add controlList attribute",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "db2230bc673844e628b852ba2464841deadf455d",
    "submitter": {
        "id": 80,
        "url": "https://patchwork.libcamera.org/api/people/80/?format=api",
        "name": "Marian Cichy",
        "email": "m.cichy@pengutronix.de"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/11638/mbox/",
    "series": [
        {
            "id": 1812,
            "url": "https://patchwork.libcamera.org/api/series/1812/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1812",
            "date": "2021-03-22T10:42:39",
            "name": "Add frame duration to stream configuration",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1812/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/11638/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/11638/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 5435AC32E1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 22 Mar 2021 10:43:14 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 005F368D6F;\n\tMon, 22 Mar 2021 11:43:11 +0100 (CET)",
            "from metis.ext.pengutronix.de (metis.ext.pengutronix.de\n\t[IPv6:2001:67c:670:201:290:27ff:fe1d:cc33])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D57DC68D58\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 22 Mar 2021 11:43:08 +0100 (CET)",
            "from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28])\n\tby metis.ext.pengutronix.de with esmtps\n\t(TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92)\n\t(envelope-from <mci@pengutronix.de>)\n\tid 1lOI1c-0008Ce-2T; Mon, 22 Mar 2021 11:43:08 +0100",
            "from mci by dude02.hi.pengutronix.de with local (Exim 4.92)\n\t(envelope-from <mci@pengutronix.de>)\n\tid 1lOI1b-00087V-Q1; Mon, 22 Mar 2021 11:43:07 +0100"
        ],
        "From": "Marian Cichy <m.cichy@pengutronix.de>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 22 Mar 2021 11:42:40 +0100",
        "Message-Id": "<20210322104242.31107-2-m.cichy@pengutronix.de>",
        "X-Mailer": "git-send-email 2.29.2",
        "In-Reply-To": "<20210322104242.31107-1-m.cichy@pengutronix.de>",
        "References": "<20210322104242.31107-1-m.cichy@pengutronix.de>",
        "MIME-Version": "1.0",
        "X-SA-Exim-Connect-IP": "2001:67c:670:100:1d::28",
        "X-SA-Exim-Mail-From": "mci@pengutronix.de",
        "X-SA-Exim-Scanned": "No (on metis.ext.pengutronix.de);\n\tSAEximRunCond expanded to false",
        "X-PTX-Original-Recipient": "libcamera-devel@lists.libcamera.org",
        "Subject": "[libcamera-devel] [PATCH 1/3] libcamera: stream: Add controlList\n\tattribute",
        "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>",
        "Cc": "graphics@pengutronix.de, Marian Cichy <m.cichy@pengutronix.de>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "By adding a controlList to the stream attributes, we have access to\nseveral more configuration parameters for a stream. In this patch\nseries, it is for now only used to access the frame duration of a sensor.\n\nSigned-off-by: Marian Cichy <m.cichy@pengutronix.de>\n---\n include/libcamera/stream.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h\nindex bb47c390..a6347e31 100644\n--- a/include/libcamera/stream.h\n+++ b/include/libcamera/stream.h\n@@ -13,6 +13,7 @@\n #include <vector>\n \n #include <libcamera/buffer.h>\n+#include <libcamera/controls.h>\n #include <libcamera/geometry.h>\n #include <libcamera/pixel_format.h>\n \n@@ -44,6 +45,7 @@ struct StreamConfiguration {\n \tSize size;\n \tunsigned int stride;\n \tunsigned int frameSize;\n+\tControlList controls;\n \n \tunsigned int bufferCount;\n \n",
    "prefixes": [
        "libcamera-devel",
        "1/3"
    ]
}