From patchwork Tue Apr 2 00:54:02 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: 837 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 8B64160DB2 for ; Tue, 2 Apr 2019 02:54:33 +0200 (CEST) X-Halon-ID: dda543ca-54e1-11e9-846a-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id dda543ca-54e1-11e9-846a-005056917a89; Tue, 02 Apr 2019 02:54:31 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Tue, 2 Apr 2019 02:54:02 +0200 Message-Id: <20190402005406.25097-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] cam: Add support to specify multiple stream configurations with hints 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: Tue, 02 Apr 2019 00:54:34 -0000 Hi, This series extends the cam tool to work with usage hints and multiple streams. It depends on the usage hint series [1] and is tested on the IPU3 pipeline handler which provides good frames for two streams in the same request. The IPU3 pipeline handler still requires patches who are in flight for it to support multiple streams. 1. [RFC 0/5] libcamera: camera: Add support for stream usage hint Niklas Söderlund (4): cam: Rename --format to --stream cam: Add support to specify multiple stream configurations with hints cam: Extend request complete handler to deal with multiple streams cam: Allow cameras with more then one stream src/cam/buffer_writer.cpp | 4 +- src/cam/buffer_writer.h | 2 +- src/cam/main.cpp | 149 +++++++++++++++++++++++++++----------- 3 files changed, 108 insertions(+), 47 deletions(-)