From patchwork Tue Jun 21 15:03:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 16298 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 5BD3CBE173 for ; Tue, 21 Jun 2022 15:03:46 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 888B065635; Tue, 21 Jun 2022 17:03:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655823825; bh=kRvrZzos86vPgj1egysxJ8HJ0gcmvE8I3J95wPjTHMg=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=C23fhQqfSLc3UC1994zRh9NLFoC/+RvRlXcIFE3FHJmozeceDjU+fbnIVByOU74lf WFf4GkVCWhSPkxcn2MoLFm2kJ4sIGw9KZufuxfXJXyGXw3BvnNZ1wFQZoDm4TmeHFy X+CQQpaXI/z9InDl4Aq5aSx899XBxkwhP2R6m2yrgqo2tn/w10njDhX4iZ1gWklDh6 SQ3mvVI74PO+y3l1hck4m8fGqWvl0AQCnoYTxYKjPHt9WMFF7BSUZeMHFT5VhuKpBm Uo1X8in2P+Nx33+G0T2nK/pa5GMqkN9yfR4XEVUDfF6mWiTUqzvxYYhTHo7JtlpPlO KDS4ALfWPnbvg== Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 95E2060473 for ; Tue, 21 Jun 2022 17:03:44 +0200 (CEST) Received: (Authenticated sender: jacopo@jmondi.org) by mail.gandi.net (Postfix) with ESMTPSA id E3CC5FF808; Tue, 21 Jun 2022 15:03:43 +0000 (UTC) To: libcamera-devel@lists.libcamera.org Date: Tue, 21 Jun 2022 17:03:34 +0200 Message-Id: <20220621150337.47839-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] libcamera: Introduce internal 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-Patchwork-Original-From: Jacopo Mondi via libcamera-devel From: Jacopo Mondi Reply-To: Jacopo Mondi Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add to the enumeration of internal controls in internal_control_ids.yaml and plumb them in the buildsystem to generate: - include/libcamera/internal/control_ids.h - src/libcamera/internal_control_ids.cpp Internal controls will be used to replace V4L2 controls in the interactions between between internal library components, such as the CameraSensor class and the IPA module. Jacopo Mondi (3): libcamera: control_ids: Add 'internal' argument libcamera: control_ids: Separate the id numerical space libcamera: Introduce internal controls include/libcamera/control_ids.h.in | 6 +-- include/libcamera/internal/meson.build | 18 +++++++++ src/libcamera/control_ids.cpp.in | 12 +++--- src/libcamera/internal_control_ids.yaml | 54 +++++++++++++++++++++++++ src/libcamera/meson.build | 16 ++++++++ utils/gen-controls.py | 24 +++++++++-- 6 files changed, 118 insertions(+), 12 deletions(-) create mode 100644 src/libcamera/internal_control_ids.yaml --- 2.36.1