[{"id":27082,"web_url":"https://patchwork.libcamera.org/comment/27082/","msgid":"<168384571195.182226.538336153790780976@Monstersaurus>","date":"2023-05-11T22:55:11","subject":"Re: [libcamera-devel] [PATCH 0/3] libcamera: Add new Camera devices\n\tproperty","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Sorry everyone, two patch sets in one folder.\n\nOh what a mess.\nReposting a 'real' v2...\n\nPlease disregard this thread.\n--\nKieran\n\n\nQuoting Kieran Bingham (2023-05-11 23:48:23)\n> It can be beneficial to allow reporting the devices used by a camera to\n> facilitate de-duplication of resources when handling cameras from a\n> centralised infrastructure such as PipeWire.\n> \n> Expose a new property on all cameras which reports a list of dev_t\n> values representing devices used by the camera.\n> \n> Pipelines supported by media-controller will automatically register an\n> entry for any video node present in the media graphs registered with the\n> Pipeline Handler..\n> \n> As part of supporting this, we move the addCamera and removeCamera\n> public API calls from the CameraManager class away into an internal\n> implementation of the CameraManager with the use of the Extensible\n> class.\n> \n> Kieran Bingham (4):\n>   libcamera: camera_manager: Move private implementation to internal\n>   libcamera: camera_manager: Move {add,remove}Camera to internal\n>   libcamera: properties: Provide a Devices camera property\n>   libcamera: pipeline: Register device numbers with camera\n> \n>  include/libcamera/camera_manager.h          |   4 -\n>  include/libcamera/internal/camera_manager.h |  65 +++++++++\n>  include/libcamera/internal/meson.build      |   1 +\n>  src/libcamera/camera_manager.cpp            | 143 +++++++-------------\n>  src/libcamera/pipeline_handler.cpp          |  16 ++-\n>  src/libcamera/property_ids.yaml             |   8 ++\n>  6 files changed, 134 insertions(+), 103 deletions(-)\n>  create mode 100644 include/libcamera/internal/camera_manager.h\n> \n> -- \n> 2.34.1\n>","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 2D78FBE08B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 11 May 2023 22:55:17 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 68AAA633B5;\n\tFri, 12 May 2023 00:55:16 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0467C6039E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 May 2023 00:55:14 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net\n\t[82.37.23.78])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8AF02DDA;\n\tFri, 12 May 2023 00:55:06 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1683845716;\n\tbh=qVCxtfIFkYuYXHYvXnhUtm8NCMaWjWoej1eGfGOPHRI=;\n\th=In-Reply-To:References:To:Date:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=eqhlBS3iA82r2mkyU0V8ZiN89+i5i58LSGPO8r6/cJZh12+ItAt7jtBcsewkgf2ES\n\tduvHDNXnfkB+GmIPpvVMnfZcbkJUYQMFEdo/SRUbC06vzP5+wrLaCSK7weV391kBRu\n\tccqHim1Zk5UyX+XDYsEDiETvqClOLGbI1fC64L1HGC9k8lTsEQSvlgeuLU2rOAmVfp\n\tGSONpjeyJqXFZ/QvO69PQbGQcGrFgjN0V/BYOLadyAaHBEWwRco8KBLNu+BmKS3TVx\n\tcH5uCIxu8he2X2E8DZbHpMUO+26nvuNtAZnDH7ymPoFAqnCnEbibRSJymm5leEpu9p\n\t9AvccLfV2Ahuw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1683845706;\n\tbh=qVCxtfIFkYuYXHYvXnhUtm8NCMaWjWoej1eGfGOPHRI=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=nkC2LT6C6zShCXKeIFzqFHqHL6pXzA2eCU5J0+iUzPeab06ztdLoOajI51jRcNr00\n\tYk6dSBPXN4C+WMaLuhPQueHVDx9uJ1Kr1Obv05ZEEPu7ZQ0OEMtyKxDU74JaBy/2eN\n\t7114atUsDRZ6p3Yb5TE8fA+/OGQ4esvKL+K3fK3Y="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"nkC2LT6C\"; dkim-atps=neutral","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20230511224830.356416-1-kieran.bingham@ideasonboard.com>","References":"<20230511224830.356416-1-kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Thu, 11 May 2023 23:55:11 +0100","Message-ID":"<168384571195.182226.538336153790780976@Monstersaurus>","User-Agent":"alot/0.10","Subject":"Re: [libcamera-devel] [PATCH 0/3] libcamera: Add new Camera devices\n\tproperty","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":"Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"George Kiagiadakis <george.kiagiadakis@collabora.com>,\n\tRobert Mader <robert.mader@collabora.com>,\n\tWim Taymans <wtaymans@redhat.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]