Patch Detail
Show a patch.
GET /api/1.1/patches/3110/?format=api
{ "id": 3110, "url": "https://patchwork.libcamera.org/api/1.1/patches/3110/?format=api", "web_url": "https://patchwork.libcamera.org/patch/3110/", "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": "<20200316024146.2474424-2-niklas.soderlund@ragnatech.se>", "date": "2020-03-16T02:41:41", "name": "[libcamera-devel,RFC,1/6] libcamera: stream: Add StillCaptureRaw role", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a722bfef75a2579a0d4bb06b5885672aa1477183", "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/3110/mbox/", "series": [ { "id": 722, "url": "https://patchwork.libcamera.org/api/1.1/series/722/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=722", "date": "2020-03-16T02:41:40", "name": "libcamera: Add support for a RAW still capture stream", "version": 1, "mbox": "https://patchwork.libcamera.org/series/722/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/3110/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/3110/checks/", "tags": {}, "headers": { "Return-Path": "<niklas.soderlund@ragnatech.se>", "Received": [ "from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net\n\t[195.74.38.228])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BA1F460417\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 16 Mar 2020 03:42:31 +0100 (CET)", "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 b6354c3c-672f-11ea-9f40-0050569116f7;\n\tMon, 16 Mar 2020 03:42:00 +0100 (CET)" ], "X-Halon-ID": "b6354c3c-672f-11ea-9f40-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": "Mon, 16 Mar 2020 03:41:41 +0100", "Message-Id": "<20200316024146.2474424-2-niklas.soderlund@ragnatech.se>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20200316024146.2474424-1-niklas.soderlund@ragnatech.se>", "References": "<20200316024146.2474424-1-niklas.soderlund@ragnatech.se>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [RFC 1/6] libcamera: stream: Add StillCaptureRaw\n\trole", "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": "Mon, 16 Mar 2020 02:42:32 -0000" }, "content": "Add role to be used for streams capturing frames in a raw format for\nstill capture in a low frame rate.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n include/libcamera/stream.h | 1 +\n src/libcamera/stream.cpp | 4 ++++\n 2 files changed, 5 insertions(+)", "diff": "diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h\nindex 29a8030dff71d58f..c4c0241ec9f34727 100644\n--- a/include/libcamera/stream.h\n+++ b/include/libcamera/stream.h\n@@ -58,6 +58,7 @@ private:\n \n enum StreamRole {\n \tStillCapture,\n+\tStillCaptureRaw,\n \tVideoRecording,\n \tViewfinder,\n };\ndiff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp\nindex f34ea08de03b744e..571bf41e072d00c1 100644\n--- a/src/libcamera/stream.cpp\n+++ b/src/libcamera/stream.cpp\n@@ -363,6 +363,10 @@ std::string StreamConfiguration::toString() const\n * \\var StillCapture\n * The stream is intended to capture high-resolution, high-quality still images\n * with low frame rate. The captured frames may be exposed with flash.\n+ * \\var StillCaptureRaw\n+ * The stream is intended to capture high-resolution, high-quality still images\n+ * with low frame rate in a raw format. The captured frames may be exposed with\n+ * flash.\n * \\var VideoRecording\n * The stream is intended to capture video for the purpose of recording or\n * streaming. The video stream may produce a high frame rate and may be\n", "prefixes": [ "libcamera-devel", "RFC", "1/6" ] }