From patchwork Mon Jan 21 23:06:36 2019 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: 316 Return-Path: Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 321C860B1D for ; Tue, 22 Jan 2019 00:07:15 +0100 (CET) X-Halon-ID: 461c4a3c-1dd1-11e9-874f-005056917f90 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA id 461c4a3c-1dd1-11e9-874f-005056917f90; Tue, 22 Jan 2019 00:07:11 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Tue, 22 Jan 2019 00:06:36 +0100 Message-Id: <20190121230640.8783-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [RFC 0/4] libcamera: add base for applications to configure cameras X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 23:07:15 -0000 Hi, This is a RFC series which aims to add a API to the Camera object to allow applications to configure a Camera, include multiple streams. The RFC takes a lot of shortcuts and more work is needed with the integration with the PipelineHandler object to make it useful. I plan to keep working on this and hope to soon provide a example usage using the cam utility. Laurent Pinchart (1): libcamera: camera: Add acquire() and release() Niklas Söderlund (3): libcamera: stream: add basic stream class libcamera: streamformat: add basic class for stream formats libcamera: camera: integrate streams and configuration include/libcamera/camera.h | 14 ++++++ include/libcamera/libcamera.h | 2 + include/libcamera/meson.build | 2 + include/libcamera/stream.h | 25 ++++++++++ include/libcamera/stream_format.h | 32 ++++++++++++ src/libcamera/camera.cpp | 79 +++++++++++++++++++++++++++++ src/libcamera/meson.build | 2 + src/libcamera/stream.cpp | 58 ++++++++++++++++++++++ src/libcamera/stream_format.cpp | 82 +++++++++++++++++++++++++++++++ 9 files changed, 296 insertions(+) create mode 100644 include/libcamera/stream.h create mode 100644 include/libcamera/stream_format.h create mode 100644 src/libcamera/stream.cpp create mode 100644 src/libcamera/stream_format.cpp