From patchwork Thu Jan 31 18:18:47 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: 453 Return-Path: Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8215260C6A for ; Thu, 31 Jan 2019 19:19:10 +0100 (CET) X-Halon-ID: ae4320b2-2584-11e9-b5ae-0050569116f7 Authorized-sender: niklas@soderlund.pp.se Received: from wyvern.c.hoisthospitality.com (unknown [217.64.245.162]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id ae4320b2-2584-11e9-b5ae-0050569116f7; Thu, 31 Jan 2019 19:19:08 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Thu, 31 Jan 2019 19:18:47 +0100 Message-Id: <20190131181853.23739-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v6 0/6] libcamera: add basic support for streams and format configuration MIME-Version: 1.0 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: Thu, 31 Jan 2019 18:19:10 -0000 Hi, This series aims to add support of Streams to the Camera object. A Stream is a single video stream origination from a video source, multiple video streams might form the same Camera is possible as long as they all originate from the same video source. Laurent Pinchart (1): libcamera: camera: Add acquire() and release() Niklas Söderlund (5): libcamera: stream: add initial Stream class libcamera: stream: add initial StreamConfiguration structure libcamera: camera: extend camera object to support streams libcamera: pipeline: extend pipelines to support stream configuration libcamera: camera: extend camera object to support configuration of streams include/libcamera/camera.h | 18 +++- include/libcamera/libcamera.h | 1 + include/libcamera/meson.build | 1 + include/libcamera/stream.h | 24 +++++ src/libcamera/camera.cpp | 129 ++++++++++++++++++++++- src/libcamera/include/pipeline_handler.h | 7 ++ src/libcamera/meson.build | 1 + src/libcamera/pipeline/ipu3/ipu3.cpp | 44 +++++++- src/libcamera/pipeline/uvcvideo.cpp | 37 ++++++- src/libcamera/pipeline/vimc.cpp | 40 ++++++- src/libcamera/pipeline_handler.cpp | 34 ++++++ src/libcamera/stream.cpp | 76 +++++++++++++ 12 files changed, 403 insertions(+), 9 deletions(-) create mode 100644 include/libcamera/stream.h create mode 100644 src/libcamera/stream.cpp