summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/v4l/README
blob: a3c9812654dcd03dae3561a8f1fc4b8ed4ba6356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

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

		#ifdef XvExtension
		    {
		       XF86VideoAdaptorPtr *ptr;

		       int xvexts = xf86XVListGenericAdaptors(&ptr);

		       if (xvexts) {
		           xf86XVScreenInit(pScreen,ptr,v4l);
		       }
		    }
		#endif
 


$XFree86: xc/programs/Xserver/hw/xfree86/drivers/v4l/README,v 1.1 1999/03/28 15:32:50 dawes Exp $