changeset 23046:82216ef041e0

updated vidix files headers whenever it's possible to have a clear GPL statement
author ben
date Sun, 22 Apr 2007 14:05:41 +0000
parents 212bbe3789e7
children 702085652768
files vidix/cyberblade_vid.c vidix/dha.c vidix/dha.h vidix/drivers.c vidix/drivers.h vidix/fourcc.h vidix/mach64.h vidix/mach64_vid.c vidix/mga_vid.c vidix/mtrr.c vidix/nvidia_vid.c vidix/pm2_vid.c vidix/pm3_vid.c vidix/radeon.h vidix/radeon_vid.c vidix/savage_vid.c vidix/sis_bridge.c vidix/sis_vid.c vidix/unichrome_vid.c vidix/vidix.h vidix/vidixlib.c vidix/vidixlib.h
diffstat 22 files changed, 538 insertions(+), 346 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/cyberblade_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/cyberblade_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,40 +1,40 @@
 /*
-    Driver for CyberBlade/i1 - Version 0.1.4
-
-    Copyright (C) 2002 by Alastair M. Robinson.
-    Official homepage: http://www.blackfiveservices.co.uk/EPIAVidix.shtml
-
-    Based on Permedia 3 driver by Måns Rullgård
-
-    Thanks to Gilles Frattini for bugfixes
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-    Changes:
-    18/01/03
-      MMIO is no longer used, sidestepping cache issues on EPIA-800
-      TV-Out modes are now better supported - this should be the end
-        of the magenta stripes :)
-      Brightness/Contrast controls disabled for the time being - they were
-        seriously degrading picture quality, especially with TV-Out.
-
-    To Do:
-    Implement Hue/Saturation controls
-    Support / Test multiple frames
-    Test colour-key code more extensively
-*/
+ * VIDIX driver for VIA Cyberblade/i1 chipsets.
+ * Copyright (C) 2002 Alastair M. Robinson
+ * http://www.blackfiveservices.co.uk/EPIAVidix.shtml
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Based on Permedia 3 driver by Måns Rullgård
+ * Thanks to Gilles Frattini for bugfixes.
+ *
+ * Changes:
+ *   18/01/03
+ *     MMIO is no longer used, sidestepping cache issues on EPIA-800
+ *     TV-Out modes are now better supported - this should be the end
+ *       of the magenta stripes :)
+ *     Brightness/Contrast controls disabled for the time being - they were
+ *       seriously degrading picture quality, especially with TV-Out.
+ *
+ * To Do:
+ *   Implement Hue/Saturation controls
+ *   Support / Test multiple frames
+ *   Test colour-key code more extensively
+ */
 
 #include <errno.h>
 #include <stdio.h>
--- a/vidix/dha.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/dha.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,21 +1,37 @@
 /*
-    libgha.c - Library for direct hardware access
-    Copyrights:
-    1996/10/27	- Robin Cutshaw (robin@xfree86.org)
-		  XFree86 3.3.3 implementation
-    1999	- Øyvind Aabling.
-    		  Modified for GATOS/win/gfxdump.
-		  
-    2002	- library implementation by Nick Kurshev
-		- dhahelper and some changes by Alex Beregszaszi
-    
-    supported O/S's:	SVR4, UnixWare, SCO, Solaris,
-			FreeBSD, NetBSD, 386BSD, BSDI BSD/386,
-			Linux, Mach/386, ISC
-			DOS (WATCOM 9.5 compiler), Win9x (with mapdev.vxd)
-    Licence: GPL
-    Original location: www.linuxvideo.org/gatos
-*/
+ * VIDIX Direct Hardware Access (DHA).
+ * Copyright (C) 2002 Nick Kurshev
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ *   1996/10/27	- Robin Cutshaw (robin@xfree86.org)
+ *		  XFree86 3.3.3 implementation
+ *   1999	- Øyvind Aabling.
+ *   		  Modified for GATOS/win/gfxdump.
+ *		  
+ *   2002	- library implementation by Nick Kurshev
+ *		- dhahelper and some changes by Alex Beregszaszi
+ *   
+ *   Supported O/S's:	SVR4, UnixWare, SCO, Solaris,
+ *			FreeBSD, NetBSD, 386BSD, BSDI BSD/386,
+ *			Linux, Mach/386, ISC
+ *			DOS (WATCOM 9.5 compiler), Win9x (with mapdev.vxd)
+ *   Original location: www.linuxvideo.org/gatos
+ */
 
 #include "config.h"
 
--- a/vidix/dha.h	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/dha.h	Sun Apr 22 14:05:41 2007 +0000
@@ -1,18 +1,38 @@
 /*
-    libgha.h - Library for direct hardware access
-    Copyrights:
-    1996/10/27	- Robin Cutshaw (robin@xfree86.org)
-		  XFree86 3.3.3 implementation
-    1999	- Øyvind Aabling.
-    		  Modified for GATOS/win/gfxdump.
-    2002	- library implementation by Nick Kurshev
-    
-    supported O/S's:	SVR4, UnixWare, SCO, Solaris,
-			FreeBSD, NetBSD, 386BSD, BSDI BSD/386,
-			Linux, Mach/386, ISC
-			DOS (WATCOM 9.5 compiler), Win9x (with mapdev.vxd)
-    Licence: GPL
-*/
+ * VIDIX Direct Hardware Access (DHA).
+ * Copyright (C) 2002 Nick Kurshev
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ *   1996/10/27	- Robin Cutshaw (robin@xfree86.org)
+ *		  XFree86 3.3.3 implementation
+ *   1999	- Øyvind Aabling.
+ *   		  Modified for GATOS/win/gfxdump.
+ *		  
+ *   2002	- library implementation by Nick Kurshev
+ *		- dhahelper and some changes by Alex Beregszaszi
+ *   
+ *   Supported O/S's:	SVR4, UnixWare, SCO, Solaris,
+ *			FreeBSD, NetBSD, 386BSD, BSDI BSD/386,
+ *			Linux, Mach/386, ISC
+ *			DOS (WATCOM 9.5 compiler), Win9x (with mapdev.vxd)
+ *   Original location: www.linuxvideo.org/gatos
+ */
+
 #ifndef LIBDHA_H
 #define LIBDHA_H
 
--- a/vidix/drivers.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/drivers.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,20 +1,22 @@
 /*
- *  Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
- *   Vidix drivers registry handler.
+ * VIDIX Drivers Registry Handler.
+ * Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
  *
- *   This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
+ * This file is part of MPlayer.
  *
- *   This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
- *   You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software Foundation,
- *  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <stdlib.h>
--- a/vidix/drivers.h	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/drivers.h	Sun Apr 22 14:05:41 2007 +0000
@@ -1,20 +1,22 @@
 /*
- *  Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
- *   Vidix drivers registry handler.
+ * VIDIX Drivers Registry Handler.
+ * Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
  *
- *   This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
+ * This file is part of MPlayer.
  *
- *   This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
- *   You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software Foundation,
- *  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef VIDIX_DRIVERS_H
--- a/vidix/fourcc.h	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/fourcc.h	Sun Apr 22 14:05:41 2007 +0000
@@ -1,11 +1,27 @@
 /*
- * fourcc.h
- * This file is part of VIDIX
- * Copyright 2002 Nick Kurshev
- * Licence: GPL
+ * VIDIX FourCC.
+ * Copyright (C) 2002 Nick Kurshev
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
  * This interface is based on v4l2, fbvid.h, mga_vid.h projects
  * and personally my ideas.
-*/
+ */
+
 #ifndef FOURCC_H
 #define FOURCC_H
 
--- a/vidix/mach64.h	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/mach64.h	Sun Apr 22 14:05:41 2007 +0000
@@ -1,10 +1,26 @@
 /*
- * mach64.h
- * This	software has been released under the terms of the GNU Public
- * license. See	http://www.gnu.org/copyleft/gpl.html for details.
+ * VIDIX driver for ATI Mach64 and 3DRage chipsets.
+ * Copyright (C) 2002 Nick Kurshev
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
- * It's	based on radeonfb, X11,	GATOS sources
-*/
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * This file is based on sources from
+ *  radeonfb, GATOS (gatos.sf.net) and X11 (www.xfree86.org)
+ */
 
 #ifndef __MACH64_INCLUDED
 #define __MACH64_INCLUDED 1
--- a/vidix/mach64_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/mach64_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,10 +1,27 @@
 /*
-   mach64_vid - VIDIX based video driver for Mach64 and 3DRage chips
-   Copyrights 2002 Nick Kurshev. This file is based on sources from
-   GATOS (gatos.sf.net) and X11 (www.xfree86.org)
-   Licence: GPL
-   WARNING: THIS DRIVER IS IN BETTA STAGE
-*/
+ * VIDIX driver for ATI Mach64 and 3DRage chipsets.
+ * Copyright (C) 2002 Nick Kurshev
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * This file is based on sources from
+ *  GATOS (gatos.sf.net) and X11 (www.xfree86.org)
+ */
+
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/vidix/mga_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/mga_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,35 +1,34 @@
 /*
-    Matrox MGA driver
-    
-    ported to VIDIX by Alex Beregszaszi
-
-    YUY2 support (see config.format) added by A'rpi/ESP-team
-    double buffering added by A'rpi/ESP-team
-
-    Brightness/contrast support by Nick Kurshev/Dariush Pietrzak (eyck) and me
-
-    TODO:
-	* fix memory size detection (current reading pci userconfig isn't
-	    working as requested - returns the max avail. ram on arch?)
-	* translate all non-english comments to english
-*/
-
-/*
- * Original copyright:
+ * VIDIX driver for Matrox chipsets.
+ * Copyright (C) 2002 Alex Beregszaszi
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
  *
- * mga_vid.c
- *
- * Copyright (C) 1999 Aaron Holtzman
- * 
- * Module skeleton based on gutted agpgart module by Jeff Hartmann 
- * <slicer@ionet.net>
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  *
- * Matrox MGA G200/G400 YUV Video Interface module Version 0.1.0
- * 
- * BES == Back End Scaler
- * 
- * This software has been released under the terms of the GNU Public
- * license. See http://www.gnu.org/copyleft/gpl.html for details.
+ * Original sources from Aaron Holtzman (C) 1999.
+ * Module skeleton based on gutted agpgart module by Jeff Hartmann 
+ *   <slicer@ionet.net>
+ * YUY2 support added by A'rpi/ESP-team
+     double buffering added by A'rpi/ESP-team
+ * Brightness/contrast support by Nick Kurshev/Dariush Pietrzak (eyck)
+ *
+ * TODO:
+ *   - fix memory size detection (current reading pci userconfig isn't
+ *     working as requested - returns the max avail. ram on arch?)
+ *   - translate all non-english comments to english
  */
 
 //#define CRTC2
--- a/vidix/mtrr.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/mtrr.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,9 +1,24 @@
 /*
-    mtrr.c - Stuff for optimizing memory access
-    Copyrights:
-    2002	- Linux version by Nick Kurshev
-    Licence: GPL
-*/
+ * VIDIX Memory access optimization routines.
+ * Copyright (C) 2002 Nick Kurshev
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
 
 #include "config.h"
 
--- a/vidix/nvidia_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/nvidia_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,13 +1,26 @@
 /*
-   nvidia_vid - VIDIX based video driver for NVIDIA chips
-   Copyrights 2003 - 2004 Sascha Sommer. This file is based on sources from
-   RIVATV (rivatv.sf.net)
-   Licence: GPL
-   WARNING: THIS DRIVER IS IN BETA STAGE
-   
-   multi buffer support and TNT2 fixes by Dmitry Baryshkov
-*/
-
+ * VIDIX driver for nVidia chipsets.
+ * Copyright (C) 2003-2004 Sascha Sommer
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * This file is based on sources from RIVATV (rivatv.sf.net)
+ * Multi buffer support and TNT2 fixes by Dmitry Baryshkov.
+ */
 
 #include <errno.h>
 #include <stdio.h>
--- a/vidix/pm2_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/pm2_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,22 +1,23 @@
-/**
-    Driver for 3DLabs Permedia 2.
-
-    Copyright (C) 2002  Måns Rullgård
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-**/
+/*
+ * VIDIX driver for 3DLabs Permedia 2 chipsets.
+ * Copyright (C) 2002 Måns Rullgård
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
 
 #include <errno.h>
 #include <stdio.h>
--- a/vidix/pm3_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/pm3_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,22 +1,23 @@
-/**
-    Driver for 3DLabs GLINT R3 and Permedia3 chips.
-
-    Copyright (C) 2002  Måns Rullgård
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-**/
+/*
+ * VIDIX driver for 3DLabs Glint R3 and Permedia 3 chipsets.
+ * Copyright (C) 2002 Måns Rullgård
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
 
 #include <errno.h>
 #include <stdio.h>
--- a/vidix/radeon.h	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/radeon.h	Sun Apr 22 14:05:41 2007 +0000
@@ -1,12 +1,26 @@
 /*
- * radeon.h
- * This	software has been released under the terms of the GNU Public
- * license. See	http://www.gnu.org/copyleft/gpl.html for details.
+ * VIDIX driver for ATI Rage128 and Radeon chipsets.
+ * Copyright (C) 2002 Nick Kurshev
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
- * This	collection of definition was written by	Nick Kurshev
- * It's	based on radeonfb, X11,	GATOS sources
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * This file is based on radeonfb, X11,	GATOS sources
  * and partly compatible with Rage128 set (in OV0, CAP0, CAP1 parts)
-*/
+ */
 
 #ifndef	_RADEON_H
 #define	_RADEON_H
--- a/vidix/radeon_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/radeon_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,13 +1,33 @@
 /*
-   radeon_vid - VIDIX based video driver for Radeon and Rage128 chips
-   Copyrights 2002 Nick Kurshev. This file is based on sources from
-   GATOS (gatos.sf.net) and X11 (www.xfree86.org)
-   Licence: GPL
-
-   31.12.2002 added support for fglrx drivers by Marcel Naziri (zwobbl@zwobbl.de)
-   6.04.2004 fixes to allow compiling vidix without X11 (broken in original patch)
-   PPC support by Alex Beregszaszi
-*/
+ * VIDIX driver for ATI Rage128 and Radeon chipsets.
+ * Copyright (C) 2002 Nick Kurshev
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * This file is based on sources from
+ *   GATOS (gatos.sf.net) and X11 (www.xfree86.org)
+ *
+ * Changes:
+ *  - 31.12.2002
+ *    added support for fglrx drivers by Marcel Naziri (zwobbl@zwobbl.de)
+ *  - 6.04.2004
+ *    fixes to allow compiling vidix without X11 (broken in original patch)
+ *  - PowerPC support by Alex Beregszaszi
+ */
 
 #include <errno.h>
 #include <stdio.h>
--- a/vidix/savage_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/savage_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,34 +1,25 @@
 /*
-    Driver for S3 Savage Series
-
-    Copyright (C) 2004 by Reza Jelveh
-
-    Based on the X11 driver and nvidia vid 
-
-    Thanks to Alex Deucher for Support
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-    Changes:
-    2004-11-09
-      Initial version
-
-    To Do:
-			
-*/
-
+ * VIDIX driver for S3 Savage chipsets.
+ * Copyright (C) 2004 Reza Jelveh
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Thanks to Alex Deucher for Support
+ */
 
 #include <errno.h>
 #include <stdio.h>
--- a/vidix/sis_bridge.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/sis_bridge.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,26 +1,27 @@
-/**
-    Video bridge detection for SiS 300 and 310/325 series chips.
-
-    Copyright 2003 Jake Page, Sugar Media.
-
-    Based on SiS Xv driver:
-    Copyright 2002-2003 by Thomas Winischhofer, Vienna, Austria.
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-**/
+/*
+ * VIDIX driver for SiS chipsets.
+ * Video bridge detection for SiS 300 and 310/325 series.
+ * Copyright (C) 2003 Jake Page, Sugar Media.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Based on SiS Xv driver
+ * Copyright 2002-2003 by Thomas Winischhofer, Vienna, Austria.
+ */
 
 #include <stdio.h>
 #include <stdlib.h>
--- a/vidix/sis_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/sis_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,27 +1,27 @@
-/**
-    VIDIX driver for SiS 300 and 310/325 series chips.
-
-    Copyright 2003 Jake Page, Sugar Media.
-
-    Based on SiS Xv driver:
-    Copyright 2002-2003 by Thomas Winischhofer, Vienna, Austria.
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-    2003/10/08 integrated into mplayer/vidix architecture -- Alex Beregszaszi
-**/
+/*
+ * VIDIX driver for SiS chipsets.
+ * Copyright (C) 2003 Jake Page, Sugar Media.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Based on SiS Xv driver
+ * Copyright 2002-2003 by Thomas Winischhofer, Vienna, Austria.
+ * 2003/10/08 integrated into mplayer/vidix architecture -- Alex Beregszaszi
+ */
 
 #include <errno.h>
 #include <stdio.h>
--- a/vidix/unichrome_vid.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/unichrome_vid.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,36 +1,33 @@
 /*
-    Driver for VIA CLE266 Unichrome - Version 0.1.0
-
-    Copyright (C) 2004 by Timothy Lee
-
-    Based on Cyberblade/i driver by Alastair M. Robison.
-
-    Thanks to Gilles Frattini for bugfixes
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-    Changes:
-    2004-03-10
-      Initial version
-    2004-10-09
-      Added Doxygen documentation (Benjamin Zores <ben@geexbox.org>)
-    2004-11-08
-      Added h/w revision detection (Timothy Lee <timothy.lee@siriushk.com>)
-
-    To Do:
-*/
+ * VIDIX driver for VIA CLE266/Unichrome chipsets.
+ * Copyright (C) 2004 Timothy Lee
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Thanks to Gilles Frattini for bugfixes
+ * 
+ * Changes:
+ *   2004-03-10
+ *     Initial version
+ *   2004-10-09
+ *     Added Doxygen documentation (Benjamin Zores <ben@geexbox.org>)
+ *   2004-11-08
+ *     Added h/w revision detection (Timothy Lee <timothy.lee@siriushk.com>)
+ */
 
 #include <errno.h>
 #include <stdio.h>
--- a/vidix/vidix.h	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/vidix.h	Sun Apr 22 14:05:41 2007 +0000
@@ -1,18 +1,37 @@
 /*
- * vidix.h
- * VIDIX - VIDeo Interface for *niX
- *   This interface is introduced as universal one to MPEG decoder,
- *   BES == Back End Scaler and YUV2RGB hw accelerators.
+ * VIDIX - VIDeo Interface for *niX.
+ * Copyright (C) 2002 Nick Kurshev
+ * Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * This interface is introduced as universal one to MPEG decoder,
+ * Back End Scaler (BES) and YUV2RGB hw accelerators.
+ *
  * In the future it may be expanded up to capturing and audio things.
  * Main goal of this this interface imlpementation is providing DGA
  * everywhere where it's possible (unlike X11 and other).
- * Copyright 2002 Nick Kurshev, 2007 Benjamin Zores
- * Licence: GPL
+ *
  * This interface is based on v4l2, fbvid.h, mga_vid.h projects
  * and personally my ideas.
+ *
  * NOTE: This interface is introduces as driver interface.
- * Don't use it for APP.
-*/
+ */
+
 #ifndef VIDIX_H
 #define VIDIX_H
 
--- a/vidix/vidixlib.c	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/vidixlib.c	Sun Apr 22 14:05:41 2007 +0000
@@ -1,21 +1,37 @@
 /*
- * vidixlib.c
- * VIDIXLib - Library for VIDeo Interface for *niX
- *   This interface is introduced as universal one to MPEG decoder,
- *   BES == Back End Scaler and YUV2RGB hw accelerators.
+ * VIDIX - VIDeo Interface for *niX.
+ * Copyright (C) 2002 Nick Kurshev
+ * Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * This interface is introduced as universal one to MPEG decoder,
+ * Back End Scaler (BES) and YUV2RGB hw accelerators.
+ *
  * In the future it may be expanded up to capturing and audio things.
  * Main goal of this this interface imlpementation is providing DGA
  * everywhere where it's possible (unlike X11 and other).
- * Copyright 2002 Nick Kurshev, 2007 Benjamin Zores
- * Licence: GPL
+ *
  * This interface is based on v4l2, fbvid.h, mga_vid.h projects
  * and personally my ideas.
- * NOTE: This interface is introduces as APP interface.
- * Don't use it for driver.
- * It provides multistreaming. This mean that APP can handle
- * several streams simultaneously. (Example: Video capturing and video
- * playback or capturing, video playback, audio encoding and so on).
-*/
+ *
+ * NOTE: This interface is introduces as driver interface.
+ */
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
--- a/vidix/vidixlib.h	Sun Apr 22 13:28:54 2007 +0000
+++ b/vidix/vidixlib.h	Sun Apr 22 14:05:41 2007 +0000
@@ -1,21 +1,37 @@
 /*
- * vidixlib.h
- * VIDIXLib - Library for VIDeo Interface for *niX
- *   This interface is introduced as universal one to MPEG decoder,
- *   BES == Back End Scaler and YUV2RGB hw accelerators.
+ * VIDIX - VIDeo Interface for *niX.
+ * Copyright (C) 2002 Nick Kurshev
+ * Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * This interface is introduced as universal one to MPEG decoder,
+ * Back End Scaler (BES) and YUV2RGB hw accelerators.
+ *
  * In the future it may be expanded up to capturing and audio things.
  * Main goal of this this interface imlpementation is providing DGA
  * everywhere where it's possible (unlike X11 and other).
- * Copyright 2002 Nick Kurshev, 2007 Benjamin Zores
- * Licence: GPL
+ *
  * This interface is based on v4l2, fbvid.h, mga_vid.h projects
  * and personally my ideas.
- * NOTE: This interface is introduces as APP interface.
- * Don't use it for driver.
- * It provides multistreaming. This mean that APP can handle
- * several streams simultaneously. (Example: Video capturing and video
- * playback or capturing, video playback, audio encoding and so on).
-*/
+ *
+ * NOTE: This interface is introduces as driver interface.
+ */
+
 #ifndef VIDIXLIB_H
 #define VIDIXLIB_H