{"id":487,"url":"https://patchwork.libcamera.org/api/covers/487/?format=json","web_url":"https://patchwork.libcamera.org/cover/487/","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":"<20190203110102.5663-1-kieran.bingham@ideasonboard.com>","date":"2019-02-03T11:00:51","name":"[libcamera-devel,RFC,00/11] libcamera: V4L2 Streams","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/487/mbox/","series":[{"id":165,"url":"https://patchwork.libcamera.org/api/series/165/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=165","date":"2019-02-03T11:00:51","name":"libcamera: V4L2 Streams","version":1,"mbox":"https://patchwork.libcamera.org/series/165/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/487/comments/","headers":{"Return-Path":"<kieran.bingham@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 03E6B60B1B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  3 Feb 2019 12:01:06 +0100 (CET)","from localhost.localdomain\n\t(218.182-78-194.adsl-static.isp.belgacom.be [194.78.182.218])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 72A3C41;\n\tSun,  3 Feb 2019 12:01:06 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1549191666;\n\tbh=pdR6aotjHURAE3nzNJ3s3f2u/ss+o95vqDp5CyLGci8=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=oVyEMLTYQ1oRQOJxbz2tMOGLdpj56/mZP0VOQ7x2fYxWo/AHlI6m9CkxZnXRkWaXD\n\tL2BKBlTsEMB11eyqM3FuZMlL4BKxcCg2gyilI1uL+eFy27hBpKR75CI9TjSC8Jzi84\n\t7WVu0O7GW9f8RP6MdDv6tQ12EaVmTDBu+q/Bhy80=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"LibCamera Devel <libcamera-devel@lists.libcamera.org>","Date":"Sun,  3 Feb 2019 12:00:51 +0100","Message-Id":"<20190203110102.5663-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.19.1","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH RFC 00/11] libcamera: V4L2 Streams","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":"Sun, 03 Feb 2019 11:01:07 -0000"},"content":"This extensive set of patches is still in development and so is marked RFC.\n\nThe recent removal of the ability to mmap buffers with an externally provided\nFD (from the V4L2 device) has now broken my tests so these tests all fail at\nmmap(). Please don't be 'too' alarmed at that if you run the tests.\n\nThis series implements first fixes up the V4L2 test base class to use the\ndevice enumerator to identify a UVCVideo device for testing with.\n\nThen support for creating a buffer pool and requesting, and queueing buffers\nis sketched out.\n\nAsynchronous support for the buffer notification is finally added with a signal\nto allow Pipeline objects (or the owner of the V4L2Device) to be able to receive\ncompleted buffers.\n\n\nKieran Bingham (10):\n  test: v4l2_device: Use DeviceEnumerator to find a UVCVideo\n  libcamera: buffer: Support v4l2_buffer construction\n  libcamera: v4l2_device: Request buffers from the device\n  libcamera: v4l2_device: Support exporting buffers\n  test: v4l2_device: Add request_buffers test\n  libcamera: v4l2_device: Implement stream{On,Off}\n  test: v4l2_device: Add StreamOn/StreamOff test\n  test: v4l2_device: Add a functional capture test\n  libcamera: v4l2_device: Add event driven buffer passing\n  test: v4l2_device: Provide asynchronous capture test\n\nNiklas Söderlund (1):\n  libcamera: v4l2device: update Buffer with information from v4l2_buffer\n    when dequeueing\n\n include/libcamera/buffer.h            |  18 +-\n src/libcamera/buffer.cpp              |  27 ++\n src/libcamera/include/v4l2_device.h   |  35 +++\n src/libcamera/v4l2_device.cpp         | 381 +++++++++++++++++++++++++-\n test/v4l2_device/capture_async.cpp    |  69 +++++\n test/v4l2_device/capture_frames.cpp   |  51 ++++\n test/v4l2_device/meson.build          |   4 +\n test/v4l2_device/request_buffers.cpp  |  28 ++\n test/v4l2_device/stream_on_off.cpp    |  29 ++\n test/v4l2_device/v4l2_device_test.cpp |  28 +-\n test/v4l2_device/v4l2_device_test.h   |   7 +\n 11 files changed, 667 insertions(+), 10 deletions(-)\n create mode 100644 test/v4l2_device/capture_async.cpp\n create mode 100644 test/v4l2_device/capture_frames.cpp\n create mode 100644 test/v4l2_device/request_buffers.cpp\n create mode 100644 test/v4l2_device/stream_on_off.cpp"}