Messages in this thread | | | Date | Thu, 25 Sep 2003 18:43:50 +0200 | From | Gerd Knorr <> | Subject | Re: zr36120 2.6.x port (was: Re: [Mjpeg-users] DC30+ can't capture size greater than 224x168) |
| |
> * implement a zoran_vdev_release() function to free memory after it's no > longer in use (this is a hack imo, but it's the suggested way of doing > it... There was an article somewhere about it and it's also been > discussed on the v4l mailinglist... Can't find a link, though)
If you just kfree() there you don't need your own bur can simply use video_device_release() ...
> Things left to do (for you ;) ): v4l2 (sounds like a good thing, though > it'll take some time), multiple opens (if you want), and (IIRC, Gerd?) > videodev + vbidev fops should be the same. This wasn't the case in > 2.4.x, but it's the case in 2.6.x, I think.
That's a v4l vs. v4l2 API thing. The v4l2 API allows applications to switch a device handle into vbi mode via S_FMT, thus you don't need separate devices any more. For v4l1 backward comparibility this is still needed through. For v4l2 drivers /dev/video and /dev/vbi almost the same, /dev/vbi has just some other default settings after opening the device.
Gerd
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |