From patchwork Thu Apr 30 00:35:59 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: 3615 Return-Path: Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BF95060AF4 for ; Thu, 30 Apr 2020 02:36:36 +0200 (CEST) X-Halon-ID: 7c64ac20-8a7a-11ea-89d0-0050569116f7 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (p4fca2392.dip0.t-ipconnect.de [79.202.35.146]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id 7c64ac20-8a7a-11ea-89d0-0050569116f7; Thu, 30 Apr 2020 02:35:43 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Thu, 30 Apr 2020 02:35:59 +0200 Message-Id: <20200430003604.2423018-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Subject: [libcamera-devel] [RFC/PATCH 0/5] qcam: Add RAW capture support 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, 30 Apr 2020 00:36:37 -0000 Hi, This series adds basic RAW capture support to cam. This series is posted as RFC foremost that DNG file support is missing. Instead a thumbnail and RAW data are written to two different files. The series depends on [1]. The series is tested using the IPU3 pipeline handler, $ qcam -c 'ov5670 4-0036 1' -s role=viewfinder -s role=stillraw The new UI button is then enabled and pushing it result of raw and jpeg files being written to disk. 1. [PATCH v2 0/5] {cam,qcam}: Unify stream option parsing Niklas Söderlund (5): qcam: Check that camera can generate configuration from roles qcam: Allow for a second raw stream to be configured qcam: Add an option to allow specifying output path qcam: Remove QFileDialog from JPEG capture qcam: Add RAW capture support src/qcam/assets/feathericons/feathericons.qrc | 1 + src/qcam/main.cpp | 3 + src/qcam/main_window.cpp | 275 ++++++++++++++---- src/qcam/main_window.h | 17 +- 4 files changed, 239 insertions(+), 57 deletions(-)