From patchwork Sun Sep 15 23:50:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 21275 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 42484C3257 for ; Sun, 15 Sep 2024 23:50:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0249C63500; Mon, 16 Sep 2024 01:50:54 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="UacKldZH"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A1142618F6 for ; Mon, 16 Sep 2024 01:50:51 +0200 (CEST) Received: from pyrite.hamster-moth.ts.net (unknown [IPv6:2001:4bc9:a45:b0af:31d1:7a87:7f90:977b]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 663D282A; Mon, 16 Sep 2024 01:49:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1726444170; bh=yk41FnWf9x82Qm5XdWkiWR33g3YEmSMaD4CfXEai6Gc=; h=From:To:Cc:Subject:Date:From; b=UacKldZHihc5TfONeYoA5yW+BQZB+AYN3Gi0E4ANbQbJJF3W6uE0LInsqFjMrhe1l SnNrgr4K/fwSCJEJwe/W6r68hR636PrPC4WjwtirTmpq9bQoHUmPiXzZVg6eCRm63q JsBl1SBgk2Xd6F3JWc2CagqCM7rXvBj/U11RzRpM= From: Paul Elder To: libcamera-devel@lists.libcamera.org Cc: Paul Elder , Kieran Bingham , stefan.klug@ideasonboard.com, Laurent Pinchart Subject: [PATCH v3 0/2] Add array information to ControlId Date: Mon, 16 Sep 2024 01:50:42 +0200 Message-Id: <20240915235044.2188179-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This patch series depends on v4 of "libcamera: controls: Add enum information to ControlId" [1] This patch series adds information related to array controls to ControlId, including the predicate (isArray), as well as size. It also adds a relevant printout to cam --list-controls for demonstation. v2 fixes documentation. v3 fixes line wraps and improves commit messages. [1] https://patchwork.libcamera.org/project/libcamera/list/?series=4598 Paul Elder (2): libcamera: controls: Add array information to ControlId apps: cam: Print control array sizes include/libcamera/controls.h | 17 ++++++++++++++++- src/apps/cam/camera_session.cpp | 11 +++++++++++ src/libcamera/controls.cpp | 18 ++++++++++++++++-- 3 files changed, 43 insertions(+), 3 deletions(-)