[PATCH 0/8] Port xf86-video-v4l driver to V4L2 version 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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[1].

[1] http://lists.x.org/archives/xorg-devel/2011-February/019042.html

The fix patch I submited for xserver is still needed[2], otherwise
loading the v4l driver with a video driver that doesn't support overlay
will cause a server crash.

[2] http://lists.x.org/archives/xorg-devel/2011-February/019048.html

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
v4l driver.

To make easier for people to test and review, the same patches are also
available on a git repository at:
	http://git.linuxtv.org/mchehab/xf86-video-v4l.git

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

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux