Patch Detail
Show a patch.
GET /api/1.1/patches/3890/?format=api
{ "id": 3890, "url": "https://patchwork.libcamera.org/api/1.1/patches/3890/?format=api", "web_url": "https://patchwork.libcamera.org/patch/3890/", "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": "<20200602013909.3170593-2-niklas.soderlund@ragnatech.se>", "date": "2020-06-02T01:39:00", "name": "[libcamera-devel,01/10] libcamera: stream: Initialize stride and bufferCount", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "e720e043f8744f967ee99aa58e8b757d66857a54", "submitter": { "id": 5, "url": "https://patchwork.libcamera.org/api/1.1/people/5/?format=api", "name": "Niklas Söderlund", "email": "niklas.soderlund@ragnatech.se" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/3890/mbox/", "series": [ { "id": 943, "url": "https://patchwork.libcamera.org/api/1.1/series/943/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=943", "date": "2020-06-02T01:38:59", "name": "libcamera: ipu3: Allow zero-copy RAW stream", "version": 1, "mbox": "https://patchwork.libcamera.org/series/943/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/3890/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/3890/checks/", "tags": {}, "headers": { "Return-Path": "<niklas.soderlund@ragnatech.se>", "Received": [ "from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net\n\t[195.74.38.229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3ABA061012\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 2 Jun 2020 03:39:28 +0200 (CEST)", "from bismarck.berto.se (p4fca2392.dip0.t-ipconnect.de\n\t[79.202.35.146]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA\n\tid d444b550-a471-11ea-a73e-0050569116f7;\n\tTue, 02 Jun 2020 03:38:58 +0200 (CEST)" ], "X-Halon-ID": "d444b550-a471-11ea-a73e-0050569116f7", "Authorized-sender": "niklas@soderlund.pp.se", "From": "=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 2 Jun 2020 03:39:00 +0200", "Message-Id": "<20200602013909.3170593-2-niklas.soderlund@ragnatech.se>", "X-Mailer": "git-send-email 2.26.2", "In-Reply-To": "<20200602013909.3170593-1-niklas.soderlund@ragnatech.se>", "References": "<20200602013909.3170593-1-niklas.soderlund@ragnatech.se>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 01/10] libcamera: stream: Initialize\n\tstride and bufferCount", "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, 02 Jun 2020 01:39:28 -0000" }, "content": "The two public unsigned integer fields of StreamConfiguration, stride\nand bufferCount where not initialized, fix this to match other members\nbeing initialized to their 'zero' state.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n src/libcamera/stream.cpp | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp\nindex f34348f2aea022a0..3c4f64daf69d68a4 100644\n--- a/src/libcamera/stream.cpp\n+++ b/src/libcamera/stream.cpp\n@@ -279,7 +279,7 @@ SizeRange StreamFormats::range(const PixelFormat &pixelformat) const\n * handlers provied StreamFormats.\n */\n StreamConfiguration::StreamConfiguration()\n-\t: pixelFormat(0), stream_(nullptr)\n+\t: pixelFormat(0), stride(0), bufferCount(0), stream_(nullptr)\n {\n }\n \n@@ -287,7 +287,8 @@ StreamConfiguration::StreamConfiguration()\n * \\brief Construct a configuration with stream formats\n */\n StreamConfiguration::StreamConfiguration(const StreamFormats &formats)\n-\t: pixelFormat(0), stream_(nullptr), formats_(formats)\n+\t: pixelFormat(0), stride(0), bufferCount(0), stream_(nullptr),\n+\t formats_(formats)\n {\n }\n \n", "prefixes": [ "libcamera-devel", "01/10" ] }