From patchwork Thu Nov 30 08:24:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 19247 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 18EEFBDE6B for ; Thu, 30 Nov 2023 08:24:36 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3F13D629C2; Thu, 30 Nov 2023 09:24:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1701332675; bh=r6cvkP8E9KTaWWK230bq+ONQjwFfTu4eIJOwrD8cRP4=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=aqAGfk9xDVlpmCBOqlnkva0IBh8EN/Kbmq5glzbRoYHl1bKXlsZyPssZuXqM+vt3d V5CnEjB4RC88VOeffqibkVcYZ6M52w9WbffgFOFemteTegzMSOxekBAiLG63h4g0mb ukfQo7ca/mwnmZet0+E3rAabdHYKFnqHGBNqh5aLF9k7/Mrj6fMW+LLfD/49He5oBx etYKy0wNx/dP6HcFhlGM/rtin4VcJtJbxTKRrucL0CU1sZQXDCDcEgWAOG4eEaT0K4 vRONt6Sb4jA84gHpYMmCr8AJCg8P5rpPfnhqbnm5IvUfMwW2Gsaff1g73ZFR8jjtv8 DM+0Xy4Glsa7A== Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A1BCB629AF for ; Thu, 30 Nov 2023 09:24:32 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="nogudDvc"; dkim-atps=neutral Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5d34d85e610so3283957b3.3 for ; Thu, 30 Nov 2023 00:24:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1701332671; x=1701937471; darn=lists.libcamera.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ZAlkqu0RAhyk0O+9/1eBxH3KaXP3Wh+08upHrzQEDJ0=; b=nogudDvcXmrr4GQ5MXXB+MoENV0TWGXildzjpGzfEJdk+ABU8zR17ehQEBn9J1UdV1 399h3VCS33gGHbpHzIGCtwM9JKf7upjqipXWfS91QfCc9uaTSb/TcTgsg7ljO4xVWqo6 4AoiZuhuAo6navGhEpkyIqRplLb4uVCuhTVsSUCOnou442iwgzpGE2acEwSTY4V68LaZ waguigq0CwE6B+qnm61oJUbdVN5XFQnqxPhtzZ0fWkuMbQvWBaVP6P/F4OOIEjrH1lBi MBqbrPknoyrBFEP9TS/Tn9hMaf7x05B0QcQMtFBXmUoQQHIk7BKWfczQ681G+MQ39HOs MmNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701332671; x=1701937471; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZAlkqu0RAhyk0O+9/1eBxH3KaXP3Wh+08upHrzQEDJ0=; b=teNCsArX25H771/0R4hlB3wPjArqNfDDwTipJH23mx+zxhF9bxz3hXxZzA3Hbp3sRC veALY6AqgpOMJiKaqgrXHjQ3ybHzy9RI4P4tZC9Hl1TRdjvKoH6czgLlt7bfKUi3UDEH mNdzjcLXSDJeDUp5yaGZoS76kJtgKxUesf+IoGeBwBdI1jFN5uDNCRRPLho0cFsvP5y8 5VK7h+lX+pspGpOtfd4bJUM3UPrNjNN9txwi9xBGdb1SYcB1GGdxO3oheDW/n2wXBzTb xKy++VX61xJsvkao0QYDna1eCZTfFnyeITTN7s0ychVk4wBgHbcjZerPCZzkr9iP9GLE QUhQ== X-Gm-Message-State: AOJu0YwHulBeBpU/2EbV21Cs2ShR/CuXU0ymfN+aUOqj1f+SCsY/2RLN 2XtxEitXNyRB6vFX/TMdh7DVmqROnCkZ4aBXDVYRIQ== X-Google-Smtp-Source: AGHT+IEPhHapGbRwfzK4kmMFFxvmC/WsknaAA+iYP1g4h9C6kbXY0jdDmNiydhiblynHcKNZhRqOwkJX63dzoOugiI8= X-Received: by 2002:a81:88c3:0:b0:5ca:8f0b:8c63 with SMTP id y186-20020a8188c3000000b005ca8f0b8c63mr18894915ywf.43.1701332671388; Thu, 30 Nov 2023 00:24:31 -0800 (PST) MIME-Version: 1.0 Date: Thu, 30 Nov 2023 08:24:02 +0000 Message-ID: To: Kieran Bingham , libcamera devel Subject: [libcamera-devel] [GIT PULL] Vendor 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: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The following changes since commit 61f6b372421ad96e283220c2c7beb1cb298b1eaf: libcamera: pipeline: Fix c++20 compile warning (2023-11-29 02:50:40 +0200) are available in the Git repository at: https://github.com/naushir/libcamera.git HEAD for you to fetch changes up to ada0e9f440d19f41fa222a87b844a1701b26465f: documentation: Document vendor specific controls and properties handling (2023-11-29 09:05:41 +0000) ---------------------------------------------------------------- Naushir Patuck (7): controls: Add vendor control/property support to generation scripts controls: Update argument handling for controls generation scripts build: controls: Rework how controls and properties are generated libcamera: control: Add vendor control id range reservation libcamera: controls: Use vendor tags for draft controls and properties build: controls: Add Raspberry Pi vendor specific controls documentation: Document vendor specific controls and properties handling Documentation/guides/pipeline-handler.rst | 60 ++++++++++++++++++-- include/libcamera/control_ids.h.in | 6 +- include/libcamera/meson.build | 57 ++++++++++++++++--- include/libcamera/property_ids.h.in | 8 +-- meson.build | 2 + src/ipa/rpi/common/ipa_base.cpp | 2 +- src/ipa/rpi/vc4/vc4.cpp | 2 +- src/libcamera/control_ids.cpp.in | 14 +---- src/libcamera/{control_ids.yaml => control_ids_core.yaml} | 233 +----------------------------------------------------------------------------- src/libcamera/control_ids_draft.yaml | 230 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/libcamera/control_ids_rpi.yaml | 17 ++++++ src/libcamera/control_ranges.yaml | 18 ++++++ src/libcamera/meson.build | 25 +++++++-- src/libcamera/property_ids.cpp.in | 14 +---- src/libcamera/{property_ids.yaml => property_ids_core.yaml} | 34 +----------- src/libcamera/property_ids_draft.yaml | 39 +++++++++++++ src/py/libcamera/gen-py-controls.py | 87 +++++++++++++++++------------ src/py/libcamera/meson.build | 26 +++++---- src/py/libcamera/py_controls_generated.cpp.in | 6 +- src/py/libcamera/py_properties_generated.cpp.in | 6 +- utils/gen-controls.py | 147 ++++++++++++++++++++++++++++++++++--------------- 21 files changed, 614 insertions(+), 419 deletions(-) rename src/libcamera/{control_ids.yaml => control_ids_core.yaml} (79%) create mode 100644 src/libcamera/control_ids_draft.yaml create mode 100644 src/libcamera/control_ids_rpi.yaml create mode 100644 src/libcamera/control_ranges.yaml rename src/libcamera/{property_ids.yaml => property_ids_core.yaml} (96%) create mode 100644 src/libcamera/property_ids_draft.yaml