From patchwork Tue Feb 5 00:06:55 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: 503 Return-Path: Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 44E1360B0E for ; Tue, 5 Feb 2019 01:07:52 +0100 (CET) X-Halon-ID: 0bdc5b45-28da-11e9-b530-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from localhost.localdomain (unknown [81.164.19.127]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id 0bdc5b45-28da-11e9-b530-005056917a89; Tue, 05 Feb 2019 01:07:49 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Tue, 5 Feb 2019 01:06:55 +0100 Message-Id: <20190205000702.15370-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [RFC 0/7] libcamera: extend camera and pipeline to support requests 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, 05 Feb 2019 00:07:52 -0000 Hi, This series aims to extend the library with requests and the ability to start and stop capturing from a camera. It is based on buffer and v4l2 work by Jacopo and Kieran floating around on the ML. Therefor the purpose of this submission is not to merge it but to collect review on the API to possibly merge it once all dependencies are in. Kieran Bingham (1): libcamera: pipeline: uvcvideo: Add queueRequest support Niklas Söderlund (6): libcamera: pipelines: implement start and stop of a camera libcamera: pipelines: add buffer and request support libcamera: camera: implement start and stop of a camera libcamera: camera: add request support libcamera: pipeline: uvcvideo: add allocateBuffers and freeBuffers support libcamera: pipeline: uvcvideo: add camera start and stop include/libcamera/camera.h | 11 ++ src/libcamera/camera.cpp | 150 ++++++++++++++++++++++- src/libcamera/include/pipeline_handler.h | 11 ++ src/libcamera/pipeline/ipu3/ipu3.cpp | 38 ++++++ src/libcamera/pipeline/uvcvideo.cpp | 64 ++++++++++ src/libcamera/pipeline/vimc.cpp | 38 ++++++ src/libcamera/pipeline_handler.cpp | 74 +++++++++++ 7 files changed, 385 insertions(+), 1 deletion(-)