{"id":18539,"url":"https://patchwork.libcamera.org/api/covers/18539/?format=json","web_url":"https://patchwork.libcamera.org/cover/18539/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20230419085821.2682901-1-kieran.bingham@ideasonboard.com>","date":"2023-04-19T08:58:18","name":"[libcamera-devel,0/3] libcamera: Add new Camera devices property","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/18539/mbox/","series":[{"id":3844,"url":"https://patchwork.libcamera.org/api/series/3844/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3844","date":"2023-04-19T08:58:18","name":"libcamera: Add new Camera devices property","version":1,"mbox":"https://patchwork.libcamera.org/series/3844/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/18539/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 D2F9DBE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 19 Apr 2023 08:58:32 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 29D5D627B9;\n\tWed, 19 Apr 2023 10:58:32 +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 52112627AB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 19 Apr 2023 10:58:30 +0200 (CEST)","from Monstersaurus.tail69b4.ts.net\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 8DE7C12F;\n\tWed, 19 Apr 2023 10:58:23 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1681894712;\n\tbh=2SZV/HXm48mRKPH454165mSjxlov33HKYy+jYS8vHdM=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=ahmBRDr7HGOaLCz7Oh/p2n+A0UThHRkV6n5TvHiBKHltqx8pGxQH5oX+dOKerSIHk\n\t4HiC+xCKa8YDYAu5E09kwY5CugGGJlHh4eTJNvm7zA8fXiacwKNpzdTJSE+oA63QtB\n\t0Fvkon4nqRQkP1cWbEZSQerhIlc9Yhczd/akrYbLLMF3BVAFngv94pLh96ayO0B9/S\n\tDy5uv23ZxrWTnyWGsasAQL4iaS7uPh+zOyW6Q8CQuSNR/TZT3q8P4laQn+2or2RcFv\n\tgQOXPvMR5i5S4LJQ0hx2Zw5PULPp0YOgVPc/QnsU0Ok6YYyBJz3PwQmbVeCX2Y5hKW\n\tOrBdG3qeWb7Jw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1681894703;\n\tbh=2SZV/HXm48mRKPH454165mSjxlov33HKYy+jYS8vHdM=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=FAv9krwrcnBd0vjLHAlCt5Sl1Yk5oCAn9LUC11DLga26ziDP5MDRhzWfvDxWeq2bj\n\ttfkjmC1x+qoU6PIu6+BZ18BXgQ9vTb+RewoGwFNSCIYgBA8ulfZghPjBlAmhBBFBGh\n\tXKGlZZy94Ip/UHkn0o+jYVrI6FmeYUdlxq9pLlFY="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"FAv9krwr\"; dkim-atps=neutral","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Wed, 19 Apr 2023 09:58:18 +0100","Message-Id":"<20230419085821.2682901-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"It can be beneficial to allow reporting the devices used by a camera to\nfacilitate de-duplication of resources when handling cameras from a\ncentralised infrastructure such as PipeWire.\n\nExpose a new property on all cameras which reports a list of dev_t\nvalues representing devices used by the camera.\n\nPipelines supported by media-controller will automatically register an\nentry for any video node present in the media graphs registered with the\nPipeline Handler.\n\nKieran Bingham (3):\n  libcamera: controls: Support dev_t in an Integer32 type.\n  libcamera: properties: Provide a Devices camera property\n  libcamera: pipeline: Register device numbers with camera\n\n include/libcamera/controls.h       | 5 +++++\n src/libcamera/pipeline_handler.cpp | 8 ++++++++\n src/libcamera/property_ids.yaml    | 8 ++++++++\n 3 files changed, 21 insertions(+)"}