From 63228019c08872367ec148269dea578569d0b751 Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 22 Apr 2007 14:05:41 +0000 Subject: 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 --- vidix/cyberblade_vid.c | 72 +++++++++++++++++++++++++------------------------- vidix/dha.c | 50 +++++++++++++++++++++++------------ vidix/dha.h | 48 +++++++++++++++++++++++---------- vidix/drivers.c | 28 +++++++++++--------- vidix/drivers.h | 28 +++++++++++--------- vidix/fourcc.h | 26 ++++++++++++++---- vidix/mach64.h | 26 ++++++++++++++---- vidix/mach64_vid.c | 29 +++++++++++++++----- vidix/mga_vid.c | 53 ++++++++++++++++++------------------- vidix/mtrr.c | 25 ++++++++++++++---- vidix/nvidia_vid.c | 31 +++++++++++++++------- vidix/pm2_vid.c | 39 ++++++++++++++------------- vidix/pm3_vid.c | 39 ++++++++++++++------------- vidix/radeon.h | 26 +++++++++++++----- vidix/radeon_vid.c | 38 +++++++++++++++++++------- vidix/savage_vid.c | 51 +++++++++++++++-------------------- vidix/sis_bridge.c | 47 ++++++++++++++++---------------- vidix/sis_vid.c | 48 ++++++++++++++++----------------- vidix/unichrome_vid.c | 61 ++++++++++++++++++++---------------------- vidix/vidix.h | 35 ++++++++++++++++++------ vidix/vidixlib.c | 40 +++++++++++++++++++--------- vidix/vidixlib.h | 40 +++++++++++++++++++--------- 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 #include 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 - * Vidix drivers registry handler. + * VIDIX Drivers Registry Handler. + * Copyright (C) 2007 Benjamin Zores * - * 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 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 - * Vidix drivers registry handler. + * VIDIX Drivers Registry Handler. + * Copyright (C) 2007 Benjamin Zores * - * 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 #include #include 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 - * + * + * 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 #include 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 #include 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 #include 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 #include 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 #include 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, - 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 #include diff --git a/vidix/sis_vid.c b/vidix/sis_vid.c index 8582814331..a861bc9b44 100644 --- a/vidix/sis_vid.c +++ b/vidix/sis_vid.c @@ -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 #include diff --git a/vidix/unichrome_vid.c b/vidix/unichrome_vid.c index 8ad818dd58..44046e77bc 100644 --- a/vidix/unichrome_vid.c +++ b/vidix/unichrome_vid.c @@ -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 ) - 2004-11-08 - Added h/w revision detection (Timothy Lee ) - - 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 ) + * 2004-11-08 + * Added h/w revision detection (Timothy Lee ) + */ #include #include diff --git a/vidix/vidix.h b/vidix/vidix.h index 9496c1568c..b962bb61b6 100644 --- a/vidix/vidix.h +++ b/vidix/vidix.h @@ -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 + * + * 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 diff --git a/vidix/vidixlib.c b/vidix/vidixlib.c index 1f9e8f3f81..19c9ea3090 100644 --- a/vidix/vidixlib.c +++ b/vidix/vidixlib.c @@ -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 + * + * 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 #include #include diff --git a/vidix/vidixlib.h b/vidix/vidixlib.h index 6625ef0d0a..c3a065a28c 100644 --- a/vidix/vidixlib.h +++ b/vidix/vidixlib.h @@ -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 + * + * 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 -- cgit v1.2.3