From patchwork Sat Mar 21 00:36:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3228 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B6C1760417 for ; Sat, 21 Mar 2020 01:36:50 +0100 (CET) Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2C54CA54; Sat, 21 Mar 2020 01:36:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584751010; bh=7hMDJRN8nLp7LVG5h/nmLxrJpbwnTTy5cRQ5n2Qk7u4=; h=From:To:Cc:Subject:Date:From; b=dSCulCFQmBgyX59QWy7/LuxQ5osVk+fmvjTGgj4JxaeK+VXRGRyfUIDCAMoGS6c26 Yz/tKFk7AlzXCjv313e+IozEEI7gz0J03nmkaFceSerGSKjQG7RPIjS2sUZGktE8Pp BLrJ76AQ9f1dYvMAkVFy3Yarw0ytBmDm34B51sJA= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Sat, 21 Mar 2020 02:36:33 +0200 Message-Id: <20200321003640.2156-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/7] Add support for V4L2 array controls 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: , X-List-Received-Date: Sat, 21 Mar 2020 00:36:50 -0000 Hello, This is the second version of Jacopo's "[PATCH 00/11] Adda support for V4L2 array control and strings". Support for string controls has since then been merged, so the series now focusses solely on V4L2 array controls. Compared to v1, a patch has been added to introduce a zero-copy set API for ControlValue (1/7). Subsequent patches have been adapted to use this new API, and review comments on v1 have been addressed. Please see individual patches for details. The series is based on the latest master branch. Jacopo Mondi (6): libcamera: v4l2_controls: Cache query control information libcamera: v4l2_device: Support writing array U8 controls libcamera: v4l2_device: Support reading U8 array controls libcamera: v4l2_controls: Support U8 array controls libcamera: v4l2_device: Enable enumeration of U8 controls test: v4l2_videodevice: Test U8 array controls Laurent Pinchart (1): libcamera: controls: Add zero-copy set API for ControlValue include/libcamera/controls.h | 4 ++ src/libcamera/control_serializer.cpp | 61 ++---------------- src/libcamera/controls.cpp | 54 ++++++++++++---- src/libcamera/include/control_serializer.h | 3 - src/libcamera/include/v4l2_device.h | 1 + src/libcamera/v4l2_controls.cpp | 9 +++ src/libcamera/v4l2_device.cpp | 75 +++++++++++++++++----- test/v4l2_videodevice/controls.cpp | 30 ++++++++- 8 files changed, 148 insertions(+), 89 deletions(-) Reviewed-by: Jacopo Mondi