summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-12 17:33:35 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-12 17:33:35 +0000
commit6ca3474d83203d32a04b33d9c931b42d2e34c6a7 (patch)
tree2735cb3c57c7eaf0eae6a1b2275d2527a328c6b5 /vidix
parentceb91ecb55f2241b660d86cbdcde462db038f1ce (diff)
downloadmpv-6ca3474d83203d32a04b33d9c931b42d2e34c6a7.tar.bz2
mpv-6ca3474d83203d32a04b33d9c931b42d2e34c6a7.tar.xz
consistency cosmetics: Move some parts of file headers around; typo fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26750 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/cyberblade_vid.c5
-rw-r--r--vidix/dha.c28
-rw-r--r--vidix/dha.h28
-rw-r--r--vidix/fourcc.h7
-rw-r--r--vidix/mach64.h6
-rw-r--r--vidix/mach64_vid.c6
-rw-r--r--vidix/mga_vid.c18
-rw-r--r--vidix/nvidia_vid.c6
-rw-r--r--vidix/radeon.h7
-rw-r--r--vidix/s3_vid.c8
-rw-r--r--vidix/sis_bridge.c6
-rw-r--r--vidix/sis_defs.h6
-rw-r--r--vidix/sis_regs.h6
-rw-r--r--vidix/sis_vid.c8
-rw-r--r--vidix/vidix.h25
-rw-r--r--vidix/vidixlib.c25
-rw-r--r--vidix/vidixlib.h25
17 files changed, 111 insertions, 109 deletions
diff --git a/vidix/cyberblade_vid.c b/vidix/cyberblade_vid.c
index a553c5af74..578be34980 100644
--- a/vidix/cyberblade_vid.c
+++ b/vidix/cyberblade_vid.c
@@ -5,6 +5,8 @@
*
* Copyright (C) 2002 Alastair M. Robinson
* http://www.blackfiveservices.co.uk/EPIAVidix.shtml
+ * based on Permedia 3 driver by Måns Rullgård
+ * thanks to Gilles Frattini for bugfixes
*
* This file is part of MPlayer.
*
@@ -21,9 +23,6 @@
* 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.
*/
/* To Do:
diff --git a/vidix/dha.c b/vidix/dha.c
index 832d849067..948e30bd7c 100644
--- a/vidix/dha.c
+++ b/vidix/dha.c
@@ -2,6 +2,20 @@
* VIDIX Direct Hardware Access (DHA).
* Copyright (C) 2002 Nick Kurshev
*
+ * 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 OSes: 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
+ *
* This file is part of MPlayer.
*
* MPlayer is free software; you can redistribute it and/or modify
@@ -17,20 +31,6 @@
* 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 bd92d2752b..72ede9f6d4 100644
--- a/vidix/dha.h
+++ b/vidix/dha.h
@@ -2,6 +2,20 @@
* VIDIX Direct Hardware Access (DHA).
* Copyright (C) 2002 Nick Kurshev
*
+ * 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 OSes: 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
+ *
* This file is part of MPlayer.
*
* MPlayer is free software; you can redistribute it and/or modify
@@ -17,20 +31,6 @@
* 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 MPLAYER_DHA_H
diff --git a/vidix/fourcc.h b/vidix/fourcc.h
index 82136e0bb5..1b006dc407 100644
--- a/vidix/fourcc.h
+++ b/vidix/fourcc.h
@@ -1,5 +1,9 @@
/*
* VIDIX FourCC.
+ *
+ * This interface is based on v4l2, fbvid.h, mga_vid.h projects
+ * and personally my ideas.
+ *
* Copyright (C) 2002 Nick Kurshev
*
* This file is part of MPlayer.
@@ -17,9 +21,6 @@
* 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 MPLAYER_FOURCC_H
diff --git a/vidix/mach64.h b/vidix/mach64.h
index 34227a1dab..86bc688b40 100644
--- a/vidix/mach64.h
+++ b/vidix/mach64.h
@@ -1,6 +1,9 @@
/*
* VIDIX driver for ATI Mach64 and 3DRage chipsets.
+ *
* Copyright (C) 2002 Nick Kurshev
+ * This file is based on sources from
+ * radeonfb, GATOS (gatos.sf.net) and X11 (www.xfree86.org)
*
* This file is part of MPlayer.
*
@@ -17,9 +20,6 @@
* 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 MPLAYER_MACH64_H
diff --git a/vidix/mach64_vid.c b/vidix/mach64_vid.c
index 9f65ccbdd5..8d7dfeb734 100644
--- a/vidix/mach64_vid.c
+++ b/vidix/mach64_vid.c
@@ -1,6 +1,9 @@
/*
* VIDIX driver for ATI Mach64 and 3DRage chipsets.
+ *
* Copyright (C) 2002 Nick Kurshev
+ * This file is based on sources from
+ * GATOS (gatos.sf.net) and X11 (www.xfree86.org)
*
* This file is part of MPlayer.
*
@@ -17,9 +20,6 @@
* 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>
diff --git a/vidix/mga_vid.c b/vidix/mga_vid.c
index b0cef043d5..e892fed17b 100644
--- a/vidix/mga_vid.c
+++ b/vidix/mga_vid.c
@@ -1,6 +1,12 @@
/*
* VIDIX driver for Matrox chipsets.
+ *
* Copyright (C) 2002 Alex Beregszaszi
+ * Original sources from Aaron Holtzman (C) 1999.
+ * module skeleton based on gutted agpgart module by Jeff Hartmann
+ * <slicer@ionet.net>
+ * YUY2 support and double buffering added by A'rpi/ESP-team
+ * brightness/contrast support by Nick Kurshev/Dariush Pietrzak (eyck)
*
* This file is part of MPlayer.
*
@@ -17,15 +23,9 @@
* 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
- *
- * 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:
+ */
+
+/* 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
diff --git a/vidix/nvidia_vid.c b/vidix/nvidia_vid.c
index b10b54f306..8cb1d0974d 100644
--- a/vidix/nvidia_vid.c
+++ b/vidix/nvidia_vid.c
@@ -1,6 +1,9 @@
/*
* VIDIX driver for nVidia chipsets.
+ *
* Copyright (C) 2003-2004 Sascha Sommer
+ * This file is based on sources from RIVATV (rivatv.sf.net)
+ * Multi buffer support and TNT2 fixes by Dmitry Baryshkov.
*
* This file is part of MPlayer.
*
@@ -17,9 +20,6 @@
* 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>
diff --git a/vidix/radeon.h b/vidix/radeon.h
index f22704dd53..b1dae5aa7b 100644
--- a/vidix/radeon.h
+++ b/vidix/radeon.h
@@ -1,5 +1,9 @@
/*
* VIDIX driver for ATI Rage128 and Radeon chipsets.
+ *
+ * This file is based on radeonfb, X11, GATOS sources
+ * and partly compatible with Rage128 set (in OV0, CAP0, CAP1 parts)
+ *
* Copyright (C) 2002 Nick Kurshev
*
* This file is part of MPlayer.
@@ -17,9 +21,6 @@
* 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 MPLAYER_RADEON_H
diff --git a/vidix/s3_vid.c b/vidix/s3_vid.c
index 332e765483..4271f69cba 100644
--- a/vidix/s3_vid.c
+++ b/vidix/s3_vid.c
@@ -1,6 +1,9 @@
/*
* VIDIX driver for S3 chipsets.
+ *
* Copyright (C) 2004 Reza Jelveh
+ * Thanks to Alex Deucher for Support
+ * Trio/Virge support by Michael Kostylev
*
* This file is part of MPlayer.
*
@@ -17,11 +20,6 @@
* 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
- *
- * Trio/Virge support by Michael Kostylev
- *
*/
#include <errno.h>
diff --git a/vidix/sis_bridge.c b/vidix/sis_bridge.c
index af6cf2f0a8..14242694d8 100644
--- a/vidix/sis_bridge.c
+++ b/vidix/sis_bridge.c
@@ -1,7 +1,10 @@
/*
* VIDIX driver for SiS chipsets.
* Video bridge detection for SiS 300 and 310/325 series.
+ *
* Copyright (C) 2003 Jake Page, Sugar Media.
+ * Based on SiS Xv driver
+ * Copyright 2002-2003 by Thomas Winischhofer, Vienna, Austria.
*
* This file is part of MPlayer.
*
@@ -18,9 +21,6 @@
* 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>
diff --git a/vidix/sis_defs.h b/vidix/sis_defs.h
index c083084332..826fb4d763 100644
--- a/vidix/sis_defs.h
+++ b/vidix/sis_defs.h
@@ -1,8 +1,8 @@
/*
- * SiS graphics misc definitions
+ * SiS graphics misc definitions
*
- * Taken from SiS Xv driver:
- * Copyright (C) 2002-2003 by Thomas Winischhofer, Vienna, Austria
+ * Taken from SiS Xv driver:
+ * Copyright (C) 2002-2003 by Thomas Winischhofer, Vienna, Austria
*
* This file is part of MPlayer.
*
diff --git a/vidix/sis_regs.h b/vidix/sis_regs.h
index 3472d8aee7..fb6c46091c 100644
--- a/vidix/sis_regs.h
+++ b/vidix/sis_regs.h
@@ -1,8 +1,8 @@
/*
- * SiS register definitions and access macros
- * From SiS X11 driver
+ * SiS register definitions and access macros
+ * From SiS X11 driver
*
- * Copyright (C) 2001-2003 by Thomas Winischhofer, Vienna, Austria
+ * Copyright (C) 2001-2003 by Thomas Winischhofer, Vienna, Austria
*
* This file is part of MPlayer.
*
diff --git a/vidix/sis_vid.c b/vidix/sis_vid.c
index 73fd6f5331..3d2f3da7eb 100644
--- a/vidix/sis_vid.c
+++ b/vidix/sis_vid.c
@@ -1,6 +1,10 @@
/*
* VIDIX driver for SiS chipsets.
+ * Based on SiS Xv driver
+ *
* Copyright (C) 2003 Jake Page, Sugar Media.
+ * Copyright 2002-2003 by Thomas Winischhofer, Vienna, Austria.
+ * 2003/10/08 integrated into mplayer/vidix architecture -- Alex Beregszaszi
*
* This file is part of MPlayer.
*
@@ -17,10 +21,6 @@
* 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>
diff --git a/vidix/vidix.h b/vidix/vidix.h
index b532c94ed4..ed6f2c2722 100644
--- a/vidix/vidix.h
+++ b/vidix/vidix.h
@@ -1,5 +1,18 @@
/*
* VIDIX - VIDeo Interface for *niX.
+ *
+ * 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).
+ *
+ * This interface is based on v4l2, fbvid.h, mga_vid.h projects
+ * and my personal ideas.
+ *
+ * NOTE: This interface is introduced as driver interface.
+ *
* Copyright (C) 2002 Nick Kurshev
* Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
*
@@ -18,18 +31,6 @@
* 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).
- *
- * This interface is based on v4l2, fbvid.h, mga_vid.h projects
- * and personally my ideas.
- *
- * NOTE: This interface is introduces as driver interface.
*/
#ifndef MPLAYER_VIDIX_H
diff --git a/vidix/vidixlib.c b/vidix/vidixlib.c
index ac581f0e1e..21f92f58ea 100644
--- a/vidix/vidixlib.c
+++ b/vidix/vidixlib.c
@@ -1,5 +1,18 @@
/*
* VIDIX - VIDeo Interface for *niX.
+ *
+ * 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).
+ *
+ * This interface is based on v4l2, fbvid.h, mga_vid.h projects
+ * and personally my ideas.
+ *
+ * NOTE: This interface is introduced as driver interface.
+ *
* Copyright (C) 2002 Nick Kurshev
* Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
*
@@ -18,18 +31,6 @@
* 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).
- *
- * This interface is based on v4l2, fbvid.h, mga_vid.h projects
- * and personally my ideas.
- *
- * NOTE: This interface is introduces as driver interface.
*/
#include <stdlib.h>
diff --git a/vidix/vidixlib.h b/vidix/vidixlib.h
index 4c736ece2e..a40b5ad60a 100644
--- a/vidix/vidixlib.h
+++ b/vidix/vidixlib.h
@@ -1,5 +1,18 @@
/*
* VIDIX - VIDeo Interface for *niX.
+ *
+ * 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).
+ *
+ * This interface is based on v4l2, fbvid.h, mga_vid.h projects
+ * and personally my ideas.
+ *
+ * NOTE: This interface is introduced as driver interface.
+ *
* Copyright (C) 2002 Nick Kurshev
* Copyright (C) 2007 Benjamin Zores <ben@geexbox.org>
*
@@ -18,18 +31,6 @@
* 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).
- *
- * This interface is based on v4l2, fbvid.h, mga_vid.h projects
- * and personally my ideas.
- *
- * NOTE: This interface is introduces as driver interface.
*/
#ifndef MPLAYER_VIDIXLIB_H