{"id":1421,"url":"https://patchwork.libcamera.org/api/covers/1421/?format=json","web_url":"https://patchwork.libcamera.org/cover/1421/","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":"<20190613074955.14512-1-jacopo@jmondi.org>","date":"2019-06-13T07:49:53","name":"[libcamera-devel,v4,0/2] libcamera: Introduce V4L2Device base class","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/1421/mbox/","series":[{"id":356,"url":"https://patchwork.libcamera.org/api/series/356/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=356","date":"2019-06-13T07:49:53","name":"libcamera: Introduce V4L2Device base class","version":4,"mbox":"https://patchwork.libcamera.org/series/356/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/1421/comments/","headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net\n\t[217.70.183.201])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8C28261BE2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Jun 2019 09:48:49 +0200 (CEST)","from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 0401D1BF207;\n\tThu, 13 Jun 2019 07:48:47 +0000 (UTC)"],"X-Originating-IP":"2.224.242.101","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 13 Jun 2019 09:49:53 +0200","Message-Id":"<20190613074955.14512-1-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.21.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v4 0/2] libcamera: Introduce V4L2Device\n\tbase class","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":"Thu, 13 Jun 2019 07:48:49 -0000"},"content":"Addressed Niklas' comments on 2/2\n- s/int V4L2Device::close()/void V4L2Device::close()/\n- call base class close() from V4L2VideoDev::close()\n- remove V4L2Device::fd_ documentation\n\nThanks\n   j\n\nJacopo Mondi (2):\n  libcamera: Rename V4L2Device to V4L2VideoDevice\n  libcamera: Introduce V4L2Device base class\n\n include/libcamera/buffer.h                    |   2 +-\n src/libcamera/include/v4l2_device.h           | 166 +--\n src/libcamera/include/v4l2_subdevice.h        |   6 +-\n src/libcamera/include/v4l2_videodevice.h      | 183 ++++\n src/libcamera/meson.build                     |   2 +\n src/libcamera/pipeline/ipu3/ipu3.cpp          |  24 +-\n src/libcamera/pipeline/rkisp1/rkisp1.cpp      |   6 +-\n src/libcamera/pipeline/uvcvideo.cpp           |   6 +-\n src/libcamera/pipeline/vimc.cpp               |   6 +-\n src/libcamera/v4l2_device.cpp                 | 979 +-----------------\n src/libcamera/v4l2_subdevice.cpp              |  71 +-\n src/libcamera/v4l2_videodevice.cpp            | 979 ++++++++++++++++++\n test/meson.build                              |   2 +-\n .../buffer_sharing.cpp                        |  18 +-\n .../capture_async.cpp                         |   6 +-\n .../double_open.cpp                           |   8 +-\n .../formats.cpp                               |   8 +-\n .../meson.build                               |   8 +-\n .../request_buffers.cpp                       |   6 +-\n .../stream_on_off.cpp                         |   6 +-\n .../v4l2_videodevice_test.cpp}                |   8 +-\n .../v4l2_videodevice_test.h}                  |   8 +-\n 22 files changed, 1300 insertions(+), 1208 deletions(-)\n create mode 100644 src/libcamera/include/v4l2_videodevice.h\n create mode 100644 src/libcamera/v4l2_videodevice.cpp\n rename test/{v4l2_device => v4l2_videodevice}/buffer_sharing.cpp (90%)\n rename test/{v4l2_device => v4l2_videodevice}/capture_async.cpp (91%)\n rename test/{v4l2_device => v4l2_videodevice}/double_open.cpp (75%)\n rename test/{v4l2_device => v4l2_videodevice}/formats.cpp (85%)\n rename test/{v4l2_device => v4l2_videodevice}/meson.build (74%)\n rename test/{v4l2_device => v4l2_videodevice}/request_buffers.cpp (77%)\n rename test/{v4l2_device => v4l2_videodevice}/stream_on_off.cpp (78%)\n rename test/{v4l2_device/v4l2_device_test.cpp => v4l2_videodevice/v4l2_videodevice_test.cpp} (90%)\n rename test/{v4l2_device/v4l2_device_test.h => v4l2_videodevice/v4l2_videodevice_test.h} (81%)\n\n--\n2.21.0"}