{"id":19248,"url":"https://patchwork.libcamera.org/api/1.1/covers/19248/?format=json","web_url":"https://patchwork.libcamera.org/cover/19248/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20231130142534.2075-1-naush@raspberrypi.com>","date":"2023-11-30T14:25:28","name":"[libcamera-devel,v4,0/6] Vendor controls and properties","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/19248/mbox/","series":[{"id":4091,"url":"https://patchwork.libcamera.org/api/1.1/series/4091/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4091","date":"2023-11-30T14:25:28","name":"Vendor controls and properties","version":4,"mbox":"https://patchwork.libcamera.org/series/4091/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/19248/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id C346AC31E9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 30 Nov 2023 14:25:42 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 15B3E629CD;\n\tThu, 30 Nov 2023 15:25:42 +0100 (CET)","from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com\n\t[IPv6:2a00:1450:4864:20::62d])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1677261DA0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 30 Nov 2023 15:25:41 +0100 (CET)","by mail-ej1-x62d.google.com with SMTP id\n\ta640c23a62f3a-a00a9c6f1e9so144375366b.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 30 Nov 2023 06:25:41 -0800 (PST)","from localhost.localdomain ([88.97.53.79])\n\tby smtp.gmail.com with ESMTPSA id\n\ta5-20020a17090640c500b009e50ea0a05asm725577ejk.99.2023.11.30.06.25.39\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 30 Nov 2023 06:25:39 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1701354342;\n\tbh=bboJ6CZl5iDXozfS4ozRvVI9p5xXmmnUVzxRz0WA9Vk=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=oTjLtX7q553j7UnMQtoWHDpaEnpIhfwyNvMHuqB/LSFXNwSMRMy5dsDeVjyRWj7oz\n\t+Om4eThX7Q/Htx8caRQ/ta/Q8zqEPI/gXdQTki4AaXrSoTr/CXicvQwyVPDcSM+7yi\n\ts/F9Wexf2+6PmpZ1cQZ+CT4WGCJHsfijE2mCOuhHRa8eI7QuDoXvg/JswkbJMGHx6j\n\tluWgFresQieF7qBG3RLv9gQQTk5JKn3DzYBYaWyIRsjKNR2hMZ+cbNwIQdKXYQaABc\n\ti/HCuCZs9xIw3nDr/lRSorY9y9JYYiTggey7as6SXjb4L2uOQe0UBmbEmFD57Jgo/9\n\tg5uLzcWaXASSg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1701354340; x=1701959140;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=rw2IimLwO4xFWNrbDAzT5f5wvQrbeBdL0bmL8cqH9ZI=;\n\tb=aIg/U5Vq/S6vw6YAvxnaYbikekaSuoKiDykAWibtg/NeYOOt8td7CS2Vd1KPgKIhQ8\n\tcKpkg8HPPrOTrNKKGDCTSHz/Ac0oa/KvaDwxMtAmOmws3w437cLE01Yv6AB+uL9YngWw\n\tiyW2lUDXSl8ETUbZETh9//4+Ek/qJgSqnHH1BvDc7+pPv8DD4FZAJUBfwgDXUIwfnjUf\n\tPSbqRkhmgF1KByvLVMCkB4tIXwtxv3rtJT7gFpCbJ1iDu9OXYr4hK7PaGiOXkJv88yLA\n\tM3NiU24hLCxrJcSbenBFsPcj56LB6Mf/aKGBt9qKsRaPc0+tH3LNCUwGjEJoEM5QE5Ab\n\t3CoQ=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"aIg/U5Vq\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1701354340; x=1701959140;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=rw2IimLwO4xFWNrbDAzT5f5wvQrbeBdL0bmL8cqH9ZI=;\n\tb=tdXzCGlzkl3tALUC94cesjxdDk/U3rkIzy1r4TixNhDNttLJ6tqfOuAwWGpu5QSVtP\n\tRvOg1EQt1zNECq48eM/IIHTkCZcl5t2nE+93P79R1SnzEwz3o7p+W29WY22sxykorTTG\n\tOZ4Pk1CL/hyMJLyk38xlm7Ksn0QO4CTc4VvIgjSAvm9IJ5+R0C39pjYIPScJnmGOlGnO\n\tz7tW79ebM2bAqyTM7vHZgT0ezQzggYIB3fAZqRzOtuoSgb0CWiP6+NPWXAwbMF68Az20\n\t/k9VepqHp8G7p1B1q0Gn/vSHtR7H+Qdkj1jv4rCI0HNnwDFJI+1rzwBxmPOwkb3+kueF\n\tqLBw==","X-Gm-Message-State":"AOJu0YwBu9b07dr1KwgrGM3cqu6OGffPySm4zlvu8mK91p2QV4BCEaGk\n\tIrHktoYhMLo44r2eMpKMU+SR8qnIFJhMgEWmxfIq+Q==","X-Google-Smtp-Source":"AGHT+IHTQKDsG96awWaxTdxZ0wiUZtnLj8XIUyamCVPh7/eATU7fpw7MU7vdYm+emHbIkghFlVPOkQ==","X-Received":"by 2002:a17:906:3fd0:b0:9b2:c583:cd71 with SMTP id\n\tk16-20020a1709063fd000b009b2c583cd71mr13414637ejj.50.1701354340224; \n\tThu, 30 Nov 2023 06:25:40 -0800 (PST)","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 30 Nov 2023 14:25:28 +0000","Message-Id":"<20231130142534.2075-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v4 0/6] Vendor controls and properties","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Naushir Patuck <naush@raspberrypi.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nVersion 4 of this series encompasses all the minor fixes and suggestions.  One\nnotable change is that I've removed the commit adding the Raspberry Pi vendor\ncontrols file.  This will be re-introduced when we merge the Pi 5 pipeline\nhandler.\n\nThanks,\nNaush\n\nNaushir Patuck (6):\n  controls: Add vendor control/property support to generation scripts\n  controls: Update argument handling for controls generation scripts\n  build: controls: Rework how controls and properties are generated\n  libcamera: control: Add vendor control id range reservation\n  libcamera: controls: Use vendor tags for draft controls and properties\n  documentation: Document vendor specific controls and properties\n    handling\n\n Documentation/guides/pipeline-handler.rst     |  60 ++++-\n include/libcamera/control_ids.h.in            |   6 +-\n include/libcamera/meson.build                 |  55 ++++-\n include/libcamera/property_ids.h.in           |   8 +-\n meson.build                                   |   2 +\n src/ipa/rpi/common/ipa_base.cpp               |   2 +-\n src/ipa/rpi/vc4/vc4.cpp                       |   2 +-\n src/libcamera/control_ids.cpp.in              |  14 +-\n ...control_ids.yaml => control_ids_core.yaml} | 233 +-----------------\n src/libcamera/control_ids_draft.yaml          | 230 +++++++++++++++++\n src/libcamera/control_ranges.yaml             |  18 ++\n src/libcamera/meson.build                     |  25 +-\n src/libcamera/property_ids.cpp.in             |  14 +-\n ...operty_ids.yaml => property_ids_core.yaml} |  34 +--\n src/libcamera/property_ids_draft.yaml         |  39 +++\n src/py/libcamera/gen-py-controls.py           |  87 ++++---\n src/py/libcamera/meson.build                  |  26 +-\n src/py/libcamera/py_controls_generated.cpp.in |   6 +-\n .../libcamera/py_properties_generated.cpp.in  |   6 +-\n utils/gen-controls.py                         | 147 +++++++----\n 20 files changed, 595 insertions(+), 419 deletions(-)\n rename src/libcamera/{control_ids.yaml => control_ids_core.yaml} (79%)\n create mode 100644 src/libcamera/control_ids_draft.yaml\n create mode 100644 src/libcamera/control_ranges.yaml\n rename src/libcamera/{property_ids.yaml => property_ids_core.yaml} (96%)\n create mode 100644 src/libcamera/property_ids_draft.yaml"}