{"id":630,"url":"https://patchwork.libcamera.org/api/covers/630/?format=json","web_url":"https://patchwork.libcamera.org/cover/630/","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":"<20190226162641.12116-1-jacopo@jmondi.org>","date":"2019-02-26T16:26:33","name":"[libcamera-devel,v3,0/8] v4l2_(sub)dev: improvements and tests","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"mbox":"https://patchwork.libcamera.org/cover/630/mbox/","series":[{"id":193,"url":"https://patchwork.libcamera.org/api/series/193/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=193","date":"2019-02-26T16:26:33","name":"v4l2_(sub)dev: improvements and tests","version":3,"mbox":"https://patchwork.libcamera.org/series/193/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/630/comments/","headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net\n\t[217.70.183.195])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 74B72610B2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 26 Feb 2019 17:26:18 +0100 (CET)","from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E40D76000F;\n\tTue, 26 Feb 2019 16:26:17 +0000 (UTC)"],"X-Originating-IP":"2.224.242.101","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 26 Feb 2019 17:26:33 +0100","Message-Id":"<20190226162641.12116-1-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/8] v4l2_(sub)dev: improvements and\n\ttests","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, 26 Feb 2019 16:26:18 -0000"},"content":"Hello, another round for this mixed improvements and tests for v4l2 subdevice\nand v4l2 device.\n\nCompared to v2, the format enumeration has changed to handle subdevices that do\nnot implement the IOCTL and return ENOTTY when called.\n\nOther minor changes: I've added a patch to update the crop/scale rectangle and\none that makes V4L2Subdevice inherit from Loggable to add a prefix tag to\nthe log message.\n\nI have not updated the kernel headers yet, as META_OUTPUT will be added in\nv5.0 and not v4.20 as I initially though.\n\nThanks\n  j\n\nJacopo Mondi (8):\n  libcamera: v4l2_subdevice: Store media entity\n  libcamera: v4l2_subdevice: Implement ENUM_FRAME_SIZES\n  libcamera: v4l2_device: Add support for META_CAPTURE devices\n  libcamera: v4l2_subdevice: Update crop/compose rectangle\n  test: v4l2_subdevice: Add format handling test\n  test: v4l2_subdevice: Add ListFormat test\n  test: v4l2_device: Add format handling test\n  libcamera: v4l2_subdevice: Inherit from Loggable\n\n src/libcamera/include/v4l2_device.h         |   4 +\n src/libcamera/include/v4l2_subdevice.h      |  24 +++-\n src/libcamera/v4l2_device.cpp               |  38 +++---\n src/libcamera/v4l2_subdevice.cpp            | 140 +++++++++++++++++++-\n test/meson.build                            |   1 +\n test/v4l2_device/meson.build                |   1 +\n test/v4l2_device/test_formats.cpp           |  65 +++++++++\n test/v4l2_subdevice/list_formats.cpp        |  76 +++++++++++\n test/v4l2_subdevice/meson.build             |  11 ++\n test/v4l2_subdevice/test_formats.cpp        |  79 +++++++++++\n test/v4l2_subdevice/v4l2_subdevice_test.cpp |  90 +++++++++++++\n test/v4l2_subdevice/v4l2_subdevice_test.h   |  36 +++++\n 12 files changed, 540 insertions(+), 25 deletions(-)\n create mode 100644 test/v4l2_device/test_formats.cpp\n create mode 100644 test/v4l2_subdevice/list_formats.cpp\n create mode 100644 test/v4l2_subdevice/meson.build\n create mode 100644 test/v4l2_subdevice/test_formats.cpp\n create mode 100644 test/v4l2_subdevice/v4l2_subdevice_test.cpp\n create mode 100644 test/v4l2_subdevice/v4l2_subdevice_test.h\n\n--\n2.20.1"}