diff libvo/vo_tga.c @ 28446:7681eab10aea

Add standard license headers, unify header formatting.
author diego
date Sun, 08 Feb 2009 03:27:30 +0000
parents 46f0b4d34fa1
children f01023c524c3
line wrap: on
line diff
--- a/libvo/vo_tga.c	Sat Feb 07 17:34:45 2009 +0000
+++ b/libvo/vo_tga.c	Sun Feb 08 03:27:30 2009 +0000
@@ -1,28 +1,46 @@
-/* 
- * vo_tga.c: targa output
+/*
+ * TARGA video output
  *
- * this video output module write targa uncompressed file in 15, 24 and 32 bit bgr format.
+ * This video output module writes TARGA uncompressed files in 15, 24 and 32
+ * bit BGR format.
  *
  * to select the output format use the format filter:
  *  mplayer -vo tga -vf format=bgr15 ...
  *  mplayer -vo tga -vf format=bgr24 ...
  *  mplayer -vo tga -vf format=bgr32 ...
  *
- * The 16 bit file are loaded without problem from Gimp and ImageMagick but give an error
- * with entice (a visualizer from the enlightenment package that use the imlib2 package).
- *
- * In 32 bit mode the alpha channel is set to 255 (0xff). For big endian
- * machines, TGA_ALPHA32 changes from 0xff000000 to 0x000000ff, and TGA_SHIFT32 from 0 to 8.
+ * The 16 bit files are loaded without problem from Gimp and ImageMagick but
+ * give an error with entice (a visualizer from the enlightenment package
+ * that uses the imlib2 package).
  *
- * I need to fill the alpha channel because entice consider that alpha channel (and displays
- * nothing, only the background!), but ImageMacick (the program display) or gimp doesn't
- * care.
+ * In 32-bit mode the alpha channel is set to 255 (0xff). For big-endian
+ * machines, TGA_ALPHA32 changes from 0xff000000 to 0x000000ff, and
+ * TGA_SHIFT32 from 0 to 8.
  *
- * maybe is possible (with a compilation switch) to avoid the fill of the alpha channel
- * and work outside mplayer (if needed)
+ * I need to fill the alpha channel because entice considers that alpha
+ * channel (and displays nothing, only the background!), but ImageMagick
+ * (the program display) or gimp doesn't care.
+ *
+ * Maybe it is possible (with a compilation switch) to avoid the fill of
+ * the alpha channel and work outside MPlayer (if needed).
  *
  *    Daniele Forghieri ( guru@digitalfantasy.it )
  *
+ * 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 <stdio.h>