[{"id":266,"web_url":"https://patchwork.libcamera.org/comment/266/","msgid":"<20190108204725.xnso4qhw5joa6njm@uno.localdomain>","date":"2019-01-08T20:47:25","subject":"Re: [libcamera-devel] [PATCH v3 0/3] MediaDevice class and\n\tMediaObject classes","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"content":"Uuuuups,\n   sent the wrong series (>.<)\n\nPlease ignore...\n\nOn Tue, Jan 08, 2019 at 09:42:38PM +0100, Jacopo Mondi wrote:\n> Hello\n>    this is 3rd version of MediaDevice and associated MediaObject classes.\n>\n> v1 available for reference here:\n> https://lists.libcamera.org/pipermail/libcamera-devel/2018-December/000120.html\n> v2 available for reference here:\n> https://lists.libcamera.org/pipermail/libcamera-devel/2018-December/000181.html\n>\n> This iteration addresses comments received from Laurent on v2.\n>\n> Notable changes:\n> - Use references to class instances and not global ids to reference\n>   MediaObjects from other MediaObjects\n> - Remove devnode path from entities: they will be reworked anyhow when\n>   integrating with DeviceEnumerator\n> - Add public method to get a list of entities in the media device\n> - Remove functions to enable MediaLinks from the MediaDevice: it requires\n>   better discussions on which API to expose.\n> - Make the media graph printout functiona part of media device tests.\n> - Expand documentation for classes and public methods, polish doxygen and\n>   remove doxygen comments from private members.\n>\n> Tested locally using the printout test on VIMC and integrated webcam media\n> devices.\n>\n> Valgrind does not report memory leaks.\n>\n> Thanks\n>    j\n>\n> Jacopo Mondi (3):\n>   libcamera: Add MediaObject class hierarchy\n>   libcamera: Add MediaDevice class\n>   test: Add media device test\n>\n>  src/libcamera/include/media_device.h    |  61 ++++\n>  src/libcamera/include/media_object.h    | 107 +++++++\n>  src/libcamera/media_device.cpp          | 370 ++++++++++++++++++++++++\n>  src/libcamera/media_object.cpp          | 281 ++++++++++++++++++\n>  src/libcamera/meson.build               |   4 +\n>  test/media_device/media_device_test.cpp | 175 +++++++++++\n>  test/media_device/meson.build           |   5 +\n>  test/meson.build                        |   4 +\n>  8 files changed, 1007 insertions(+)\n>  create mode 100644 src/libcamera/include/media_device.h\n>  create mode 100644 src/libcamera/include/media_object.h\n>  create mode 100644 src/libcamera/media_device.cpp\n>  create mode 100644 src/libcamera/media_object.cpp\n>  create mode 100644 test/media_device/media_device_test.cpp\n>  create mode 100644 test/media_device/meson.build\n>\n> --\n> 2.20.1\n>","headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net\n\t[217.70.183.194])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6DF1A60B2E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  8 Jan 2019 21:47:18 +0100 (CET)","from uno.localdomain (2-224-242-101.ip172.fastwebnet.it\n\t[2.224.242.101]) (Authenticated sender: jacopo@jmondi.org)\n\tby relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 2FDA240004\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  8 Jan 2019 20:47:17 +0000 (UTC)"],"X-Originating-IP":"2.224.242.101","Date":"Tue, 8 Jan 2019 21:47:25 +0100","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Message-ID":"<20190108204725.xnso4qhw5joa6njm@uno.localdomain>","References":"<20190108204241.10674-1-jacopo@jmondi.org>","MIME-Version":"1.0","Content-Type":"multipart/signed; micalg=pgp-sha256;\n\tprotocol=\"application/pgp-signature\"; boundary=\"3qiln6x5ppj3c4lz\"","Content-Disposition":"inline","In-Reply-To":"<20190108204241.10674-1-jacopo@jmondi.org>","User-Agent":"NeoMutt/20180716","Subject":"Re: [libcamera-devel] [PATCH v3 0/3] MediaDevice class and\n\tMediaObject classes","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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>","X-List-Received-Date":"Tue, 08 Jan 2019 20:47:18 -0000"}}]