From patchwork Thu Jan 24 11:30:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 369 Return-Path: Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B098760C80 for ; Thu, 24 Jan 2019 12:30:12 +0100 (CET) X-Originating-IP: 2.224.242.101 Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 43705E0015; Thu, 24 Jan 2019 11:30:12 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Thu, 24 Jan 2019 12:30:18 +0100 Message-Id: <20190124113020.7203-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] Add pipeline-specific per-camera data 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, 24 Jan 2019 11:30:12 -0000 Add support for storing pipeline-specific data associated with a Camera to the pipeline handler base class and use it to store a V4L2 Device in IPU3 pipeline handler. Compared to v1, the camera data are now stored in the pipeline handler and not in the Camera class anymore, not to expose them in an application-facing API. Thanks j Jacopo Mondi (2): libcamera: pipeline_handler: Add CameraData libcamera: ipu3: Create CIO2 V4L2 devices src/libcamera/include/pipeline_handler.h | 24 +++++++- src/libcamera/pipeline/ipu3/ipu3.cpp | 50 ++++++++++++++++ src/libcamera/pipeline_handler.cpp | 73 ++++++++++++++++++++++++ 3 files changed, 146 insertions(+), 1 deletion(-) --- 2.20.1