Mauro Carvalho Chehab ca09693ba2 Fix standard video size detection
video width/height size can vary not only as a function of the
video standard but also in function of device capabilities. Due
to that, the code were trying to get those info from the hardware.
However, due to a driver bug, the info is not properly filled when
the video standard is changed.

While I intend to fix this inside the drivers, the current logic
doesn't work with the current stable kernels. So, use an alternative
way of getting this info, just using video standards information.

Let's keep the not working code there, in order to make easy to
return, after fixing the drivers. We'll probably need to check for
driver versions after reenabling the correct (not working) code,
or to use the new VIDIOC ioctl's to enumberate the supported
formats.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-02-11 09:24:53 -02:00
2011-02-11 09:24:53 -02:00
2005-12-19 16:25:56 +00:00
2004-06-16 09:24:09 +00:00

 Video 4 Linux adaptor driver for XFree86 v4.0

 Developed by Gerd Knorr <kraxel@goldbach.in-berlin.de> and
	David Woodhouse <David.Woodhouse@mvhi.com>

----------------------------------------------------------------------------

 This chipset driver does not provide a graphics adaptor driver, but instead
 registers a number of generic Xv adaptors which can be used with any graphics
 chipset driver.

 In order to use v4l adaptors with your favourite graphics driver, the
 graphics driver must do two things:

 1. Correctly set pScrn->memPhysBase and pScrn->fbOffset for the screens that
	it provides, to the physical address of the frame buffer memory, and
	the offset within that memory that the current mode starts,
	respectively.

 2. Use the xf86XVListGenericAdaptors() routine to list all available Xv
	adaptors which are usable with any target device, and initialise
	them on its screens with xf86XVScreenInit() as follows...

	    {
	       XF86VideoAdaptorPtr *ptr;

	       int xvexts = xf86XVListGenericAdaptors(&ptr);

	       if (xvexts) {
	           xf86XVScreenInit(pScreen, ptr, xvexts);
	       }
	    }
 


$XFree86: xc/programs/Xserver/hw/xfree86/drivers/v4l/README,v 1.2 2001/05/07 21:59:07 tsi Exp $
Description
No description provided
Readme 490 KiB
Languages
C 99.2%
Makefile 0.3%
Shell 0.3%
M4 0.2%