Show a patch.

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

{
    "id": 1074,
    "url": "https://patchwork.libcamera.org/api/patches/1074/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/1074/",
    "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": "<20190419101839.10337-2-jacopo@jmondi.org>",
    "date": "2019-04-19T10:18:32",
    "name": "[libcamera-devel,v7,1/8] libcamera: stream: Document protected members",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "dbcbfd54cf83a3d5b840d0767aaab1a4cd3f79cf",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/1074/mbox/",
    "series": [
        {
            "id": 261,
            "url": "https://patchwork.libcamera.org/api/series/261/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=261",
            "date": "2019-04-19T10:18:31",
            "name": "libcamera: ipu3: Multiple streams support",
            "version": 7,
            "mbox": "https://patchwork.libcamera.org/series/261/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/1074/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/1074/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<jacopo@jmondi.org>",
        "Received": [
            "from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net\n\t[217.70.183.199])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2ABFA60004\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 19 Apr 2019 12:17:52 +0200 (CEST)",
            "from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay9-d.mail.gandi.net (Postfix) with ESMTPSA id B782FFF808;\n\tFri, 19 Apr 2019 10:17:51 +0000 (UTC)"
        ],
        "X-Originating-IP": "2.224.242.101",
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 19 Apr 2019 12:18:32 +0200",
        "Message-Id": "<20190419101839.10337-2-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190419101839.10337-1-jacopo@jmondi.org>",
        "References": "<20190419101839.10337-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v7 1/8] libcamera: stream: Document\n\tprotected members",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.23",
        "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": "Fri, 19 Apr 2019 10:17:52 -0000"
    },
    "content": "Since commit: 4e1dc9004fca (\"libcamera: stream: Make Stream inheritable\")\nthe private members of the Stream class have been turned into protected,\nto allows subclasses to access them.\n\nAs Doxygen generates documentation for protected members (but not for\nprivate memebers), add documentation to the stream class for the\n'bufferMap_' and 'configuration_' members.\n\nFixes: 4e1dc9004fca (\"libcamera: stream: Make Stream inheritable\")\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/stream.cpp | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp\nindex 85cd5256ee2f..aeb56fc1cadf 100644\n--- a/src/libcamera/stream.cpp\n+++ b/src/libcamera/stream.cpp\n@@ -194,4 +194,22 @@ Stream::Stream()\n  * \\return The active configuration of the stream\n  */\n \n+/**\n+ * \\var Stream::bufferPool_\n+ * \\brief The pool of buffers associated with the stream\n+ *\n+ * The stream buffer pool is populated by the Camera class after a succesfull\n+ * stream configuration.\n+ */\n+\n+/**\n+ * \\var Stream::configuration_\n+ * \\brief The stream configuration\n+ *\n+ * The configuration for the stream is set by any successful call to\n+ * Camera::configureStreams() that includes the stream, and remains valid until\n+ * the next call to Camera::configureStreams() regardless of if it includes the\n+ * stream.\n+ */\n+\n } /* namespace libcamera */\n",
    "prefixes": [
        "libcamera-devel",
        "v7",
        "1/8"
    ]
}