From patchwork Mon Jan 21 17:26:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 301 Return-Path: Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E37FE60C80 for ; Mon, 21 Jan 2019 18:27:02 +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 relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 651671BF214; Mon, 21 Jan 2019 17:27:02 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Mon, 21 Jan 2019 18:26:59 +0100 Message-Id: <20190121172705.19985-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/6] libcamera: Augment V4L2 device 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: Mon, 21 Jan 2019 17:27:03 -0000 Hello, a few patches to add to V4L2 device a few feature: - create V4L2 device from a MediaEntity - set controls on a V4L2 Device - Add support infrastructure to operate on single/multi plane - Create V4L2 device for the CIO2 capture devices. Finally, a library wide rename s/devnode/deviceNode to close pending comments received on previous patch series. Thanks j Jacopo Mondi (6): libcamera: v4l2_device: Add MediaEntity contructor libcamera: v4l2_device: Add setControl function libcamera: v4l2_device: Identify single/multiplane libcamera: v4l2_device: Add single/multiplane formats libcamera: ipu3: Create CIO2 V4L2 devices libcamera: Global s/devnode/deviceNode rename src/libcamera/include/media_device.h | 6 +- src/libcamera/include/media_object.h | 6 +- src/libcamera/include/v4l2_device.h | 48 +++++- src/libcamera/media_device.cpp | 14 +- src/libcamera/media_object.cpp | 14 +- src/libcamera/pipeline/ipu3/ipu3.cpp | 36 +++- src/libcamera/v4l2_device.cpp | 158 ++++++++++++++++-- test/media_device/media_device_link_test.cpp | 2 +- test/media_device/media_device_print_test.cpp | 12 +- test/pipeline/ipu3/ipu3_pipeline_test.cpp | 6 +- 10 files changed, 255 insertions(+), 47 deletions(-) --- 2.20.1