summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 14:05:41 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 14:05:41 +0000
commit63228019c08872367ec148269dea578569d0b751 (patch)
tree571fe09867b585fcdc7f3ef3cfed9366928e2fa4 /vidix
parentca92dfd01320d7c5b590545d787e3d58e642983f (diff)
downloadmpv-63228019c08872367ec148269dea578569d0b751.tar.bz2
mpv-63228019c08872367ec148269dea578569d0b751.tar.xz
updated vidix files headers whenever it's possible to have a clear GPL statement
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23064 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/cyberblade_vid.c72
-rw-r--r--vidix/dha.c50
-rw-r--r--vidix/dha.h48
-rw-r--r--vidix/drivers.c28
-rw-r--r--vidix/drivers.h28
-rw-r--r--vidix/fourcc.h26
-rw-r--r--vidix/mach64.h26
-rw-r--r--vidix/mach64_vid.c29
-rw-r--r--vidix/mga_vid.c53
-rw-r--r--vidix/mtrr.c25
-rw-r--r--vidix/nvidia_vid.c31
-rw-r--r--vidix/pm2_vid.c39
-rw-r--r--vidix/pm3_vid.c39
-rw-r--r--vidix/radeon.h26
-rw-r--r--vidix/radeon_vid.c38
-rw-r--r--vidix/savage_vid.c51
-rw-r--r--vidix/sis_bridge.c47
-rw-r--r--vidix/sis_vid.c48
-rw-r--r--vidix/unichrome_vid.c61
-rw-r--r--vidix/vidix.h35
-rw-r--r--vidix/vidixlib.c40
-rw-r--r--vidix/vidixlib.h40
22 files changed, 536 insertions, 344 deletions
diff --git a/vidix/cyberblade_vid.c b/vidix/cyberblade_vid.c
index 4c5c7ef623..760ee9242b 100644
--- a/vidix/cyberblade_vid.c
+++ b/vidix/cyberblade_vid.c
@@ -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>
diff --git a/vidix/dha.c b/vidix/dha.c
index 1b8436de1e..7622465709 100644
--- a/vidix/dha.c
+++ b/vidix/dha.c
@@ -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"
diff --git a/vidix/dha.h b/vidix/dha.h
index 3135b34b76..b28a5c1989 100644
--- a/vidix/dha.h
+++ b/vidix/dha.h
@@ -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
diff --git a/vidix/drivers.c b/vidix/drivers.c
index 9cd35b1385..7ea832084b 100644
--- a/vidix/drivers.c
+++ b/vidix/drivers.c
@@ -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>
diff --git a/vidix/drivers.h b/vidix/drivers.h
index 2092efec8f..f49a8a3369 100644
--- a/vidix/drivers.h
+++ b/vidix/drivers.h
@@ -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
diff --git a/vidix/fourcc.h b/vidix/fourcc.h
index 9b15245247..c7ed97573a 100644
--- a/vidix/fourcc.h
+++ b/vidix/fourcc.h
@@ -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
diff --git a/vidix/mach64.h b/vidix/mach64.h
index 085d401510..3e97a09e48 100644
--- a/vidix/mach64.h
+++ b/vidix/mach64.h
@@ -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
*
- * It's based on radeonfb, X11, GATOS sources
-*/
+ * 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
+ * radeonfb, GATOS (gatos.sf.net) and X11 (www.xfree86.org)
+ */
#ifndef __MACH64_INCLUDED
#define __MACH64_INCLUDED 1
diff --git a/vidix/mach64_vid.c b/vidix/mach64_vid.c
index fa6f3d63e4..cb99a4cc62 100644
--- a/vidix/mach64_vid.c
+++ b/vidix/mach64_vid.c
@@ -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>
diff --git a/vidix/mga_vid.c b/vidix/mga_vid.c
index 181a90f62e..016dd540d0 100644
--- a/vidix/mga_vid.c
+++ b/vidix/mga_vid.c
@@ -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
+ * 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
*
- * Copyright (C) 1999 Aaron Holtzman
- *
+ * Original sources from Aaron Holtzman (C) 1999.
* Module skeleton based on gutted agpgart module by Jeff Hartmann
- * <slicer@ionet.net>
+ * <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)
*
- * 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.
+ * 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
diff --git a/vidix/mtrr.c b/vidix/mtrr.c
index 335a8c1768..9b0d11dbfd 100644
--- a/vidix/mtrr.c
+++ b/vidix/mtrr.c
@@ -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"
diff --git a/vidix/nvidia_vid.c b/vidix/nvidia_vid.c
index b8b5313a1e..c6df7c530b 100644
--- a/vidix/nvidia_vid.c
+++ b/vidix/nvidia_vid.c
@@ -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>
diff --git a/vidix/pm2_vid.c b/vidix/pm2_vid.c
index aef5083334..dc78c1c29f 100644
--- a/vidix/pm2_vid.c
+++ b/vidix/pm2_vid.c
@@ -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>
diff --git a/vidix/pm3_vid.c b/vidix/pm3_vid.c
index bc51dd146e..0ee4e6530b 100644
--- a/vidix/pm3_vid.c
+++ b/vidix/pm3_vid.c
@@ -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>
diff --git a/vidix/radeon.h b/vidix/radeon.h
index 604e4283a1..8e9212e6b5 100644
--- a/vidix/radeon.h
+++ b/vidix/radeon.h
@@ -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 collection of definition was written by Nick Kurshev
- * It's based on radeonfb, X11, GATOS sources
+ * 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 radeonfb, X11, GATOS sources
* and partly compatible with Rage128 set (in OV0, CAP0, CAP1 parts)
-*/
+ */
#ifndef _RADEON_H
#define _RADEON_H
diff --git a/vidix/radeon_vid.c b/vidix/radeon_vid.c
index 6891bfe8ef..20cae6093c 100644
--- a/vidix/radeon_vid.c
+++ b/vidix/radeon_vid.c
@@ -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>
diff --git a/vidix/savage_vid.c b/vidix/savage_vid.c
index a948e196ab..167c1aad8c 100644
--- a/vidix/savage_vid.c
+++ b/vidix/savage_vid.c
@@ -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>
diff --git a/vidix/sis_bridge.c b/vidix/sis_bridge.c
index dd2b874d09..c2f0370a77 100644
--- a/vidix/sis_bridge.c
+++ b/vidix/sis_bridge.c
@@ -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