From patchwork Mon Jul 13 13:24:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 8761 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id AC7A4BD792 for ; Mon, 13 Jul 2020 13:24:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2A7E26072E; Mon, 13 Jul 2020 15:24:56 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="uLTZqjuG"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 75EC3605A9 for ; Mon, 13 Jul 2020 15:24:55 +0200 (CEST) Received: from Q.local (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id CDD35C9; Mon, 13 Jul 2020 15:24:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1594646695; bh=QYLNWv5W0Mbukc1c+3+Cx/2mnqRrfBiRP8HkoO9kDms=; h=From:To:Cc:Subject:Date:From; b=uLTZqjuG9ft3OHy1TAo9s6aehWNXo4Jf5VbaZKAWsy8BIUkqqAEaGYa+x+TDjdcT/ cJDhMi25P13vCx4HHkn9r607D3Ztnngi8aGCluR9ndRLru9ZlEpa+ZHghm+D2qd2/T 97yZZ1yhMq0fDkckKWmwRrb0XYsUl1NRlOmzWj7Y= From: Kieran Bingham To: libcamera devel Date: Mon, 13 Jul 2020 14:24:42 +0100 Message-Id: <20200713132451.2944673-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [DOCUMENTATION/RFC PATCH 0/9] Introduce a new PipelineHandler 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: , Cc: Chris Ward Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This series is not intended for integration into libcamera iteself, but aims to be a set of patches we can maintain and keep rebased as a means to demonstrate how a new PipelineHandler can be added in distinct steps, and is aimed to be used as reference material with the documentation and guides for libcamera. Oddly, this series doesn't currently show a working image in qcam when zero-copy is enabled, but does correctly capture through cam, and displays correctly when zero-copy is manually disabled in qcam. This may therefore be a bug in qcam, and I'm not intending to investigate that currently as part of this series. As a first posting, and RFC I welcome all comments on overall concept, implementation, or typos :-) Kieran Bingham (9): libcamera: pipeline: Introduce skeleton Vivid Pipeline libcamera: pipeline: vivid: Match device libcamera: pipeline: vivid: Create a Camera libcamera: pipeline: vivid: Generate and validate StreamConfigurations libcamera: pipeline: vivid: Configure the device libcamera: pipeline: vivid: Buffer handling and stream control libcamera: pipeline: vivid: Queue requeusts libcamera: pipeline: vivid: Initialise key controls libcamera: pipeline: vivid: Handle controls meson_options.txt | 2 +- src/libcamera/pipeline/vivid/meson.build | 5 + src/libcamera/pipeline/vivid/vivid.cpp | 382 +++++++++++++++++++++++ 3 files changed, 388 insertions(+), 1 deletion(-) create mode 100644 src/libcamera/pipeline/vivid/meson.build create mode 100644 src/libcamera/pipeline/vivid/vivid.cpp