]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[media] documentation: update some files to reflect the V4L1 compat removal
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 25 Dec 2010 10:15:22 +0000 (07:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:07 +0000 (08:17 -0200)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/meye.txt
Documentation/video4linux/videobuf

index bf3af5fe558f09e37b5ad2d7e06e6c36ca63c2c1..34e2842c70aee9f645a2c83435b286ad03b804cb 100644 (file)
@@ -45,8 +45,6 @@ module argument syntax (<param>=<value> when passing the option to the
 module or meye.<param>=<value> on the kernel boot line when meye is
 statically linked into the kernel). Those options are:
 
-       forcev4l1:      force use of V4L1 API instead of V4L2
-
        gbuffers:       number of capture buffers, default is 2 (32 max)
 
        gbufsize:       size of each capture buffer, default is 614400
@@ -79,9 +77,8 @@ Usage:
 Private API:
 ------------
 
-       The driver supports frame grabbing with the video4linux API
-       (either v4l1 or v4l2), so all video4linux tools (like xawtv)
-       should work with this driver.
+       The driver supports frame grabbing with the video4linux API,
+       so all video4linux tools (like xawtv) should work with this driver.
 
        Besides the video4linux interface, the driver has a private interface
        for accessing the Motion Eye extended parameters (camera sharpness,
@@ -123,7 +120,4 @@ Private API:
 Bugs / Todo:
 ------------
 
-       - the driver could be much cleaned up by removing the v4l1 support.
-         However, this means all v4l1-only applications will stop working.
-
        - 'motioneye' still uses the meye private v4l1 API extensions.
index 17a1f9abf260f39a44dee35bf7b72a0c66fd71fc..1d00d7f15b8f730ee4de10ca2f9f28d5a529eadc 100644 (file)
@@ -247,8 +247,6 @@ calls.  The relevant helper functions are:
                       int nonblocking);
     int videobuf_streamon(struct videobuf_queue *q);
     int videobuf_streamoff(struct videobuf_queue *q);
-    int videobuf_cgmbuf(struct videobuf_queue *q, struct video_mbuf *mbuf,
-                       int count);
 
 So, for example, a VIDIOC_REQBUFS call turns into a call to the driver's
 vidioc_reqbufs() callback which, in turn, usually only needs to locate the
@@ -258,10 +256,7 @@ boilerplate in a lot of V4L2 drivers.
 
 The vidioc_streamon() and vidioc_streamoff() functions will be a bit more
 complex, of course, since they will also need to deal with starting and
-stopping the capture engine.  videobuf_cgmbuf(), called from the driver's
-vidiocgmbuf() function, only exists if the V4L1 compatibility module has
-been selected with CONFIG_VIDEO_V4L1_COMPAT, so its use must be surrounded
-with #ifdef directives.
+stopping the capture engine.
 
 Buffer allocation