From patchwork Thu Nov 30 14:26:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 19255 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 C500AC31E9 for ; Thu, 30 Nov 2023 14:27:21 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 77B2A629CD; Thu, 30 Nov 2023 15:27:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1701354441; bh=4CCSvlhLZ5jk5H/U1ayl3lWIDGDRFnLHZjJJaVyYAb4=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=fBsIjcFxzS8zDFdAG0Dj1pKkZBr5cd2BdLEQKIiZWEK0YGbw5BN4dkMYCrgcUFLjn O89/+xCGFTi/ub3/8GhTsbex4r4QfadqvmBN63/dOyzW2AcoppIYQkTgynvbfAqGfH qrHl+295mQH5V7YZaP0bmwAXYAnzDylMTHPeVh9OVpaeqN63W8UfFcW9HH4T5gop2b C1XgjOgc12OVYNf7twA77V//ZMskw71t/3z2ILljeQ52INhXwZo/Daqi7UnK4t3UgW bz9SCxunhe/A+zFJ27IEJRISWQlhrF3p7mIJg73e6oQ1f+bMEpD/cJU7SAbuLaLN7o 6i0HLt1z7lYxw== Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2606261DA0 for ; Thu, 30 Nov 2023 15:27:20 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="MAJqCuAY"; dkim-atps=neutral Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-5d33574f64eso8252477b3.3 for ; Thu, 30 Nov 2023 06:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1701354439; x=1701959239; darn=lists.libcamera.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Afw3qA517lAJwtiVSVMOUGaJeM3lkE6EQjU+Zak9MBs=; b=MAJqCuAYg5RydbBw46wBmSum5DY/UBPQ4BmK5OuUzKjORuvqkAHcdipb5US8xdOcA6 0C+58rNgbtcMHC0mfgM8xUk1TqyxJ1GaMCdhg3H03l70AnaQYWLP7GpPxIN3vl8sVoVv dwNLbx/ZVEYR2mImlF2HXUdJ4w1Z1FpG6g/nohkW9Q+dB4XBABY13M2aX0/5Hj5npyX5 lPib9BzRE5E6lhaICG7EuDb/dY31ZHjMzYzKKAPB3Vo9oRBejClDQDPzRQdvgAAwXViy 6XA8HcNG9z3TYvpr3s85a+9YRNiVFdnj6SWgU1YmPv1AP0GnoLd4bkKBqW+7APSSAREO DJHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701354439; x=1701959239; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Afw3qA517lAJwtiVSVMOUGaJeM3lkE6EQjU+Zak9MBs=; b=LG0QuBuLqAwIqhyZOCMpBu9KBabp7uAp7lXV1O3HcKDV7I4vdSf49Nrwz1tVpAhaqJ GuzkGPNFPStA4scX/7ZPVROLb3UCloPl7g8/Z1Ht8D2ahInOGPDEVV8KHhmgif8D2Lk+ +xPHRrU6LBza/zY+jKcOIHUxqeG7EPYvBzxiLKUlbOCPOC+yN0+TROAWIVnIeUEtgNiB Dy3zbvSv6ufMVgNSCAe+KhryTDCJm7iXV4rSoaHOnGJsscZfsMBmfvhK177o1ovK1W7t oS00mW07kUGburUe0SpBaOhXXETDQBZ3G60YwmPAUlL7SoTOZCxvrRgsfbB271q+Qltg CGIg== X-Gm-Message-State: AOJu0YxSIWLlfAkUhaOMShpFVz/7xdIEuJhsbippk0VGloZZMKsIc3tK bWve99TjwHgmqJm3kQJotcGWNo+xMJkx++CShID34iUvqq0J9RFlcLbqiQ== X-Google-Smtp-Source: AGHT+IHvtKz3cuErdS40nWuGDbpvtOBUQVGWwbcIiJFGic4ro21Qg4WqG7e47cuB+HrlTKi/fPmfRCsxelVW5JLBqjI= X-Received: by 2002:a05:690c:360a:b0:5ce:1eeb:9dc7 with SMTP id ft10-20020a05690c360a00b005ce1eeb9dc7mr5298645ywb.28.1701354438889; Thu, 30 Nov 2023 06:27:18 -0800 (PST) MIME-Version: 1.0 Date: Thu, 30 Nov 2023 14:26:44 +0000 Message-ID: To: 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 cbfbab48a7c0b479c2281cceaf11fcd2afed1093: documentation: Document vendor specific controls and properties handling (2023-11-30 13:59:28 +0000) ---------------------------------------------------------------- Naushir Patuck (6): 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 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 | 55 ++++++++++++++++--- 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_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 ++++++++++++++++++++++++++++++++++--------------- 20 files changed, 595 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_ranges.yaml rename src/libcamera/{property_ids.yaml => property_ids_core.yaml} (96%) create mode 100644 src/libcamera/property_ids_draft.yaml