mirror of
https://github.com/X11Libre/xf86-video-v4l.git
synced 2026-03-24 01:25:19 +00:00
f4ccca1dec77ebc10609e23313e47504e8f19f55
V4L1 API was dropped on kernel 2.6.38. Even the emulation layer inside kernel was dropped. While it might still be possible to use X with libv4l and a LD_PRELOADER setup, the proper way is to port the driver to use the V4L2 API. This change brings some improvements to the code, as now all integer/boolean/menu controls are visible, and all video standards. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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
Languages
C
99.2%
Makefile
0.3%
Shell
0.3%
M4
0.2%