[PATCH 0/8] Port xf86-video-v4l driver to V4L2 version 2
Mauro Carvalho Chehab
mchehab at redhat.com
Fri Feb 11 07:54:25 PST 2011
This is the second version of my backport patches. To avoid spending
people's time on looking at lines that have only whitespace changes,
I broke the patch I submitted two days ago into two patches:
the first one with just the logical changes, and the second one with
just CodingStyle (whitespace) fixes.
Reworking on a driver with whitespace and identation problems is hard,
as it makes harder for people to work with the source code.
So, the first two patches have basically the same content as the patch
I submitted earlier.
The fix patch I submited for xserver is still needed, otherwise
loading the v4l driver with a video driver that doesn't support overlay
will cause a server crash.
The remaining patches on this series fix some bugs found on the tests
I made with:
1) a Nvidia FX5200 and the nv driver, and a bttv Encore FM board;
2) a Nvidia 6600 and nouveau driver, and a Kworld SBTV-D board
(to test it on an environment where Xv overlay is not available).
And by some tests made by Dmitry Butskoy with a bttv AVerMedia TVPhone98
board, with a Radeon RV100, using an old version of the Radeon driver.
As I said before, the intention now is to port it to work with textured
video. Help is wanted to point us how to use a textured video from the
To make easier for people to test and review, the same patches are also
available on a git repository at:
PS.: I'm c/c just this message to the media devel ML, for people there
to be aware of the changes. There's not much sense to submit the
remaining patches there.
Mauro Carvalho Chehab (8):
Port xf86-video-v4l driver to V4L2
Coding style Cleanup
Use the fourcc header instead of redefining it inside the code
Fix Get/Set Port Attribute logic
Return BadMatch if a Port Attribute is not found
Provide a more consistent message if FBUF fails
Fix arguments for v4l_check_yuv
Fix standard video size detection
src/v4l.c | 1549 ++++++++++++++++++++++++++-------------------
src/videodev.h | 254 --------
src/videodev2.h | 1929 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 2831 insertions(+), 901 deletions(-)
delete mode 100644 src/videodev.h
create mode 100644 src/videodev2.h
More information about the xorg-devel