From patchwork Thu Mar 26 22:58:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 3345 Return-Path: Received: from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net [195.74.38.228]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 32B2A605D2 for ; Thu, 26 Mar 2020 23:58:58 +0100 (CET) X-Halon-ID: 5e51ac23-6fb5-11ea-aeed-005056917f90 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (p4fca2392.dip0.t-ipconnect.de [79.202.35.146]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA id 5e51ac23-6fb5-11ea-aeed-005056917f90; Thu, 26 Mar 2020 23:58:55 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Thu, 26 Mar 2020 23:58:38 +0100 Message-Id: <20200326225844.4117712-2-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200326225844.4117712-1-niklas.soderlund@ragnatech.se> References: <20200326225844.4117712-1-niklas.soderlund@ragnatech.se> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 1/7] libcamera: stream: Add StillCaptureRaw role X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2020 22:58:58 -0000 Add a role for capturing high resolution, low frame rate, still images in RAW format. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Jacopo Mondi --- include/libcamera/stream.h | 1 + src/libcamera/stream.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h index b1441f8ec6749fda..18142dc997bb8885 100644 --- a/include/libcamera/stream.h +++ b/include/libcamera/stream.h @@ -58,6 +58,7 @@ private: enum StreamRole { StillCapture, + StillCaptureRaw, VideoRecording, Viewfinder, }; diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp index ea3d214271ad287a..ef16aaa1b2f4586a 100644 --- a/src/libcamera/stream.cpp +++ b/src/libcamera/stream.cpp @@ -361,6 +361,9 @@ std::string StreamConfiguration::toString() const * \var StillCapture * The stream is intended to capture high-resolution, high-quality still images * with low frame rate. The captured frames may be exposed with flash. + * \var StillCaptureRaw + * The stream is intended to capture high-resolution, raw still images with low + * frame rate. * \var VideoRecording * The stream is intended to capture video for the purpose of recording or * streaming. The video stream may produce a high frame rate and may be