{"id":16096,"url":"https://patchwork.libcamera.org/api/1.1/patches/16096/?format=json","web_url":"https://patchwork.libcamera.org/patch/16096/","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":"<20220527144447.94891-26-tomi.valkeinen@ideasonboard.com>","date":"2022-05-27T14:44:42","name":"[libcamera-devel,v3,25/30] py: MappedFrameBuffer: Add 'fb' property","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"726dd0ccb80837842b8778181dc7783f6ddefa4c","submitter":{"id":109,"url":"https://patchwork.libcamera.org/api/1.1/people/109/?format=json","name":"Tomi Valkeinen","email":"tomi.valkeinen@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/16096/mbox/","series":[{"id":3146,"url":"https://patchwork.libcamera.org/api/1.1/series/3146/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3146","date":"2022-05-27T14:44:17","name":"More misc Python patches","version":3,"mbox":"https://patchwork.libcamera.org/series/3146/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16096/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16096/checks/","tags":{},"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 81FE8BD161\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 27 May 2022 14:45:39 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 378C4656B1;\n\tFri, 27 May 2022 16:45:39 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6E36365649\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 27 May 2022 16:45:17 +0200 (CEST)","from deskari.lan (91-156-85-209.elisa-laajakaista.fi\n\t[91.156.85.209])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id D3285EF2;\n\tFri, 27 May 2022 16:45:16 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1653662739;\n\tbh=WwZVdA5xllMNfedF2g2168gk5rN6XtXsc1rEUATCMxo=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=Tz/QxnlzHlbIyKRdMWUrIOGOXwZX5dLNwHCFxehI6+p5PFNEj5z939Cy1MrszZ1Cr\n\tjkoPH74/BZStu1iTjBzkblH2JHAagzD8nONRQFcu9tFDxkY23lFfQnskhjf4qmBn1C\n\t38akzt7pvrEZfXdBJ4WnDhrxLZxrv4Ci8+vWfoAqH6RWo0qZAfZtl62FFx4vo5Gl6V\n\tWZgN7F7mQbUqSwK01kz61w/qquiVDpp07aPEpj9RZbzC4c5ITdV4Dld3ignLCA0/kP\n\tW5hNkKa2zCA3WVKZOglHEnQ+vesV2LM5hgk6VadLHSDheTS+zD1EZYyH1PyAQey/Ht\n\tuk7cK0D9IGg4A==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1653662717;\n\tbh=WwZVdA5xllMNfedF2g2168gk5rN6XtXsc1rEUATCMxo=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=n4D64ak8SruUUc9XbBdMWRNdS2KQxe0O0n08MgtK+cKmNJUqEGCI81jBNUKJs+usp\n\t+OeAcQaix8zThfHJW1bsCue0UMv+x/PhBSrVrM+ndoeRfCCo57uOrUIBfod3RdEsPw\n\tyq+//BsKyPdYVcKJJGNVNmloZu5lKqdFFx9eF9ks="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"n4D64ak8\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org,\n\tDavid Plowman <david.plowman@raspberrypi.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tJacopo Mondi <jacopo@jmondi.org>","Date":"Fri, 27 May 2022 17:44:42 +0300","Message-Id":"<20220527144447.94891-26-tomi.valkeinen@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20220527144447.94891-1-tomi.valkeinen@ideasonboard.com>","References":"<20220527144447.94891-1-tomi.valkeinen@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 25/30] py: MappedFrameBuffer: Add 'fb'\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":"Tomi Valkeinen via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add 'fb' property to expose the underlying FrameBuffer.\n\nSigned-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>\n---\n src/py/libcamera/utils/MappedFrameBuffer.py | 4 ++++\n 1 file changed, 4 insertions(+)","diff":"diff --git a/src/py/libcamera/utils/MappedFrameBuffer.py b/src/py/libcamera/utils/MappedFrameBuffer.py\nindex 4b20f904..c25371c2 100644\n--- a/src/py/libcamera/utils/MappedFrameBuffer.py\n+++ b/src/py/libcamera/utils/MappedFrameBuffer.py\n@@ -99,3 +99,7 @@ class MappedFrameBuffer:\n             raise RuntimeError('MappedFrameBuffer not mmapped')\n \n         return self.__planes\n+\n+    @property\n+    def fb(self):\n+        return self.__fb\n","prefixes":["libcamera-devel","v3","25/30"]}