From patchwork Wed Sep 11 15:35:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 21232 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 8AA91C324C for ; Wed, 11 Sep 2024 15:35:34 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2A09F63500; Wed, 11 Sep 2024 17:35:33 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="cgU+cvnn"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E6BAB618F2 for ; Wed, 11 Sep 2024 17:35:29 +0200 (CEST) Received: from pyrite.hamster-moth.ts.net (213-229-8-243.static.upcbusiness.at [213.229.8.243]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 065AABEB; Wed, 11 Sep 2024 17:34:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1726068852; bh=1Qy7GbcsUO10KQtO0WdUKawoy7lr8qbQvP9d0/ZlLqE=; h=From:To:Cc:Subject:Date:From; b=cgU+cvnn/pzQ6gm65EbQUIQWMp6LUijq87H8wI+G4rudt3ot2suLE8xWSb2+oNVtb scM7bVhnQGUp3IdesRRT5L8Wf1tQ4xb122xCuFt/EPPOIMUk3aNiO0uGjBwAWxuPOk 5i4Rq8modW/Gh4S2V6GUBWjig1zvxKAiZUc07e6Q= From: Paul Elder To: libcamera-devel@lists.libcamera.org Cc: Paul Elder Subject: [PATCH 0/2] Add array information to ControlId Date: Wed, 11 Sep 2024 17:35:21 +0200 Message-Id: <20240911153523.1756554-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 v3 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. [1] https://patchwork.libcamera.org/project/libcamera/list/?series=4579 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 | 5 +++++ src/libcamera/controls.cpp | 16 ++++++++++++++-- 3 files changed, 35 insertions(+), 3 deletions(-)