* directory.c: expands a directory (directory: access plug-in)
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: directory.c,v 1.3 2003/03/24 17:15:29 gbazin Exp $
+ * $Id: directory.c,v 1.4 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
*
*****************************************************************************/
vlc_module_begin();
- set_description( _("Standard filesystem directory reading") );
+ set_description( _("Standard filesystem directory input") );
set_capability( "access", 55 );
add_shortcut( "directory" );
add_shortcut( "dir" );
* dvd.c : DVD input module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: dvd.c,v 1.5 2003/02/20 01:52:45 sigmunau Exp $
+ * $Id: dvd.c,v 1.6 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_string_from_list( "dvdcss-method", NULL, cssmethod_list, NULL,
CSSMETHOD_TEXT, CSSMETHOD_LONGTEXT, VLC_TRUE );
#ifdef GOD_DAMN_DMCA
- set_description( _("DVD input module, uses libdvdcss if installed") );
+ set_description( _("DVD input (uses libdvdcss if installed)") );
i = 90;
#else
- set_description( _("DVD input module, uses libdvdcss") );
+ set_description( _("DVD input (uses libdvdcss)") );
i = 100;
#endif
add_shortcut( "dvdold" );
+ add_shortcut( "dvdsimple" );
add_submodule();
set_capability( "access", i );
set_callbacks( E_(DVDOpen), E_(DVDClose) );
*****************************************************************************
*
* Copyright (C) 2001 VideoLAN
- * $Id: dvd.c,v 1.4 2003/03/30 11:54:29 sigmunau Exp $
+ * $Id: dvd.c,v 1.5 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
*****************************************************************************/
vlc_module_begin();
add_usage_hint( N_("[dvdplay:][device][@[title][,[chapter][,angle]]]") );
- set_description( _("dvdplay input module") );
+ set_description( _("DVD input with menus support") );
add_submodule();
set_capability( "access", 120 );
set_callbacks( E_(OpenDVD), E_(CloseDVD) );
* dvdread.c : DvdRead input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: dvdread.c,v 1.5 2003/03/29 13:15:33 sigmunau Exp $
+ * $Id: dvdread.c,v 1.6 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("DVDRead input module") );
+ set_description( _("DVD input (using libdvdread)") );
add_submodule();
set_capability( "access", 110 );
set_callbacks( E_(OpenDVD), E_(CloseDVD) );
* file.c: file input (file: access plug-in)
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: file.c,v 1.14 2003/03/24 17:15:29 gbazin Exp $
+ * $Id: file.c,v 1.15 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
"value should be set in miliseconds units." )
vlc_module_begin();
- set_description( _("Standard filesystem file reading") );
+ set_description( _("Standard filesystem file input") );
add_category_hint( N_("file"), NULL, VLC_TRUE );
add_integer( "file-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_capability( "access", 50 );
* ftp.c:
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: ftp.c,v 1.13 2003/03/24 23:04:07 gbazin Exp $
+ * $Id: ftp.c,v 1.14 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
"value should be set in miliseconds units." )
vlc_module_begin();
- set_description( _("ftp access module") );
+ set_description( _("FTP input") );
set_capability( "access", 0 );
add_category_hint( "stream", NULL, VLC_FALSE );
add_integer( "ftp-caching", 2 * DEFAULT_PTS_DELAY / 1000, NULL,
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: http.c,v 1.31 2003/03/24 23:04:07 gbazin Exp $
+ * $Id: http.c,v 1.32 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
add_category_hint( N_("http"), NULL, VLC_FALSE );
add_string( "http-proxy", NULL, NULL, PROXY_TEXT, PROXY_LONGTEXT, VLC_FALSE );
add_integer( "http-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
- set_description( _("HTTP access module") );
+ set_description( _("HTTP input") );
set_capability( "access", 0 );
add_shortcut( "http" );
add_shortcut( "http4" );
* mms.c: MMS access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: mms.c,v 1.30 2003/03/24 20:00:51 gbazin Exp $
+ * $Id: mms.c,v 1.31 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
"value should be set in miliseconds units." )
vlc_module_begin();
- set_description( _("MMS access module") );
+ set_description( _("Microsoft Media Server (MMS) input") );
set_capability( "access", 0 );
add_category_hint( "stream", NULL, VLC_TRUE );
add_integer( "mms-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL,
LNB_LOF2_TEXT, LNB_LOF2_LONGTEXT, VLC_FALSE );
add_integer( "lnb-slof", 11700, NULL,
LNB_SLOF_TEXT, LNB_SLOF_LONGTEXT, VLC_FALSE );
- set_description( _("satellite input module") );
+ set_description( _("satellite input") );
set_capability( "access", 0 );
add_shortcut( "sat" );
set_callbacks( E_(Open), E_(Close) );
* slp.c: SLP access plugin
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: slp.c,v 1.9 2003/03/24 17:15:29 gbazin Exp $
+ * $Id: slp.c,v 1.10 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Loïc Minier <lool@videolan.org>
*
"default locale; it is used in all SLP queries"
vlc_module_begin();
- set_description( _("SLP access module") );
+ set_description( _("SLP input") );
add_category_hint( N_("slp"), NULL, VLC_TRUE );
add_string( "slp-attrids", "", NULL, ATTRIDS_TEXT, ATTRIDS_LONGTEXT, VLC_TRUE );
add_string( "slp-scopelist", "", NULL, SCOPELIST_TEXT,
* udp.c: raw UDP & RTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: udp.c,v 1.18 2003/03/24 20:00:51 gbazin Exp $
+ * $Id: udp.c,v 1.19 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Tristan Leteurtre <tooney@via.ecp.fr>
"value should be set in miliseconds units." )
vlc_module_begin();
- set_description( _("raw UDP access module") );
+ set_description( _("UDP/RTP input") );
add_category_hint( N_("udp"), NULL , VLC_TRUE );
add_integer( "udp-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_capability( "access", 0 );
* v4l.c : Video4Linux input module for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: v4l.c,v 1.3 2003/03/24 17:15:30 gbazin Exp $
+ * $Id: v4l.c,v 1.4 2003/03/30 18:14:36 gbazin Exp $
*
* Author: Samuel Hocevar <sam@zoy.org>
*
* Module descriptior
*****************************************************************************/
vlc_module_begin();
- set_description( _("Video4Linux input module") );
+ set_description( _("Video4Linux input") );
set_capability( "access", 80 );
set_callbacks( V4lOpen, V4lClose );
vlc_module_end();
* vcd.c : VCD input module for vlc
*****************************************************************************
* Copyright (C) 2000 VideoLAN
- * $Id: vcd.c,v 1.17 2003/03/24 17:15:30 gbazin Exp $
+ * $Id: vcd.c,v 1.18 2003/03/30 18:14:36 gbazin Exp $
*
* Author: Johan Bilien <jobi@via.ecp.fr>
*
* Module descriptior
*****************************************************************************/
vlc_module_begin();
- set_description( _("VCD input module") );
+ set_description( _("VCD input") );
set_capability( "access", 80 );
set_callbacks( VCDOpen, VCDClose );
add_shortcut( "svcd" );
* (http://liba52.sf.net/).
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: a52tofloat32.c,v 1.14 2003/02/24 17:06:21 jlj Exp $
+ * $Id: a52tofloat32.c,v 1.15 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Christophe Massiot <massiot@via.ecp.fr>
vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_bool( "a52-dynrng", 1, NULL, DYNRNG_TEXT, DYNRNG_LONGTEXT, VLC_FALSE );
- set_description( _("ATSC A/52 aka AC-3 audio decoder module") );
+ set_description( _("ATSC A/52 aka AC-3 audio decoder") );
set_capability( "audio filter", 100 );
set_callbacks( Create, Destroy );
vlc_module_end();
* using MAD (MPEG Audio Decoder)
*****************************************************************************
* Copyright (C) 2001 by Jean-Paul Saman
- * $Id: mpgatofixed32.c,v 1.7 2003/02/21 16:31:37 hartman Exp $
+ * $Id: mpgatofixed32.c,v 1.8 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Jean-Paul Saman <jpsaman@wxs.nl>
*****************************************************************************/
vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_TRUE );
- set_description( _("MPEG audio decoder module") );
+ set_description( _("MPEG audio decoder") );
set_capability( "audio filter", 100 );
set_callbacks( Create, Destroy );
vlc_module_end();
* float32.c : precise float32 audio mixer implementation
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: float32.c,v 1.8 2002/11/20 16:43:33 sam Exp $
+ * $Id: float32.c,v 1.9 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("float32 audio mixer module") );
+ set_description( _("float32 audio mixer") );
set_capability( "audio mixer", 10 );
set_callbacks( Create, NULL );
vlc_module_end();
* spdif.c : dummy mixer for S/PDIF output (1 input only)
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: spdif.c,v 1.8 2002/11/20 16:43:33 sam Exp $
+ * $Id: spdif.c,v 1.9 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("dummy spdif audio mixer module") );
+ set_description( _("dummy spdif audio mixer") );
set_capability( "audio mixer", 1 );
set_callbacks( Create, NULL );
vlc_module_end();
* trivial.c : trivial mixer plug-in (1 input, no downmixing)
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: trivial.c,v 1.11 2002/11/20 16:43:33 sam Exp $
+ * $Id: trivial.c,v 1.12 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("trivial audio mixer module") );
+ set_description( _("trivial audio mixer") );
set_capability( "audio mixer", 1 );
set_callbacks( Create, NULL );
vlc_module_end();
* alsa.c : alsa plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: alsa.c,v 1.24 2003/02/20 16:07:38 gbazin Exp $
+ * $Id: alsa.c,v 1.25 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Henri Fallon <henri@videolan.org> - Original Author
* Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API
add_category_hint( N_("ALSA"), NULL, VLC_FALSE );
add_string( "alsadev", DEFAULT_ALSA_DEVICE, aout_FindAndRestart,
N_("ALSA device name"), NULL, VLC_FALSE );
- set_description( _("ALSA audio module") );
+ set_description( _("ALSA audio output") );
set_capability( "audio output", 50 );
set_callbacks( Open, Close );
vlc_module_end();
* arts.c : aRts module
*****************************************************************************
* Copyright (C) 2001-2002 VideoLAN
- * $Id: arts.c,v 1.17 2003/01/29 09:54:45 sam Exp $
+ * $Id: arts.c,v 1.18 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Emmanuel Blindauer <manu@agat.net>
* Samuel Hocevar <sam@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("aRts audio module") );
+ set_description( _("aRts audio output") );
set_capability( "audio output", 50 );
set_callbacks( Open, Close );
vlc_module_end();
* directx.c: Windows DirectX audio output method
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: directx.c,v 1.15 2003/03/03 14:21:08 gbazin Exp $
+ * $Id: directx.c,v 1.16 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("DirectX audio module") );
+ set_description( _("DirectX audio output") );
set_capability( "audio output", 100 );
add_shortcut( "directx" );
set_callbacks( OpenAudio, CloseAudio );
* esd.c : EsounD module
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: esd.c,v 1.17 2003/01/28 22:52:30 sam Exp $
+ * $Id: esd.c,v 1.18 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("EsounD audio module") );
+ set_description( _("EsounD audio output") );
set_capability( "audio output", 50 );
set_callbacks( Open, Close );
add_shortcut( "esound" );
* file.c : audio output which writes the samples to a file
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: file.c,v 1.19 2003/03/30 14:24:20 gbazin Exp $
+ * $Id: file.c,v 1.20 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
add_file( "audiofile", "audiofile.wav", NULL, FILE_TEXT,
FILE_LONGTEXT, VLC_FALSE );
add_bool( "audiofile-wav", 1, NULL, WAV_TEXT, WAV_LONGTEXT, VLC_TRUE );
- set_description( N_("file audio output module") );
+ set_description( N_("file audio output") );
set_capability( "audio output", 0 );
add_shortcut( "file" );
add_shortcut( "audiofile" );
* oss.c : OSS /dev/dsp module for vlc
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
- * $Id: oss.c,v 1.54 2003/03/10 10:41:22 massiot Exp $
+ * $Id: oss.c,v 1.55 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
add_file( "dspdev", "/dev/dsp", aout_FindAndRestart,
N_("OSS dsp device"), NULL, VLC_FALSE );
add_bool( "oss-buggy", 0, NULL, BUGGY_TEXT, BUGGY_LONGTEXT, VLC_TRUE );
- set_description( _("Linux OSS /dev/dsp module") );
+ set_description( _("Linux OSS audio output") );
set_capability( "audio output", 100 );
add_shortcut( "oss" );
set_callbacks( Open, Close );
* sdl.c : SDL audio output plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
- * $Id: sdl.c,v 1.20 2003/01/13 16:58:58 massiot Exp $
+ * $Id: sdl.c,v 1.21 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Simple DirectMedia Layer audio module") );
+ set_description( _("Simple DirectMedia Layer audio output") );
set_capability( "audio output", 40 );
add_shortcut( "sdl" );
set_callbacks( Open, Close );
* waveout.c : Windows waveOut plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: waveout.c,v 1.20 2003/03/28 17:02:25 gbazin Exp $
+ * $Id: waveout.c,v 1.21 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Win32 waveOut extension module") );
+ set_description( _("Win32 waveOut extension output") );
set_capability( "audio output", 50 );
set_callbacks( Open, Close );
vlc_module_end();
* decoder.c: AAC decoder using libfaad2
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: decoder.c,v 1.21 2003/01/28 16:57:28 sam Exp $
+ * $Id: decoder.c,v 1.22 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*****************************************************************************/
vlc_module_begin();
- set_description( _("AAC decoder module (libfaad2)") );
+ set_description( _("AAC audio decoder (using libfaad2)") );
set_capability( "decoder", 60 );
set_callbacks( OpenDecoder, NULL );
vlc_module_end();
* postprocessing.c
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: postprocessing.c,v 1.2 2002/08/08 22:28:22 sam Exp $
+ * $Id: postprocessing.c,v 1.3 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*****************************************************************************/
vlc_module_begin();
#ifdef MODULE_NAME_IS_postprocessing_c
- set_description( _("C Post Processing module") );
+ set_description( _("C Post Processing") );
set_capability( "postprocessing", 50 );
add_shortcut( "c" );
#elif defined( MODULE_NAME_IS_postprocessing_mmx )
- set_description( _("MMX Post Processing module") );
+ set_description( _("MMX Post Processing") );
set_capability( "postprocessing", 100 );
add_requirement( MMX );
add_shortcut( "mmx" );
#elif defined( MODULE_NAME_IS_postprocessing_mmxext )
- set_description( _("MMXEXT Post Processing module") );
+ set_description( _("MMXEXT Post Processing") );
set_capability( "postprocessing", 150 );
add_requirement( MMXEXT );
add_shortcut( "mmxext" );
* flac.c: flac decoder module making use of libflac
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: flacdec.c,v 1.1 2003/02/23 16:31:48 sigmunau Exp $
+ * $Id: flacdec.c,v 1.2 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("flac decoder module") );
+ set_description( _("flac audio decoder") );
set_capability( "decoder", 100 );
set_callbacks( OpenDecoder, NULL );
vlc_module_end();
-/*****************************************************************************\r
- * libmpeg2.c: mpeg2 video decoder module making use of libmpeg2.\r
- *****************************************************************************\r
- * Copyright (C) 1999-2001 VideoLAN\r
- * $Id: libmpeg2.c,v 1.5 2003/03/26 22:56:39 gbazin Exp $\r
- *\r
- * Authors: Gildas Bazin <gbazin@netcourrier.com>\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- * \r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.\r
- *****************************************************************************/\r
-\r
-/*****************************************************************************\r
- * Preamble\r
- *****************************************************************************/\r
-#include <vlc/vlc.h>\r
-#include <vlc/vout.h>\r
-#include <vlc/input.h>\r
-#include <vlc/decoder.h>\r
-\r
-#include <stdlib.h> /* malloc(), free() */\r
-#include <string.h> /* memcpy(), memset() */\r
-\r
-#include <mpeg2dec/mpeg2.h>\r
-\r
-/* Aspect ratio (ISO/IEC 13818-2 section 6.3.3, table 6-3) */\r
-#define AR_SQUARE_PICTURE 1 /* square pixels */\r
-#define AR_3_4_PICTURE 2 /* 3:4 picture (TV) */\r
-#define AR_16_9_PICTURE 3 /* 16:9 picture (wide screen) */\r
-#define AR_221_1_PICTURE 4 /* 2.21:1 picture (movie) */\r
-\r
-/*****************************************************************************\r
- * dec_thread_t : libmpeg2 decoder thread descriptor\r
- *****************************************************************************/\r
-typedef struct dec_thread_t\r
-{\r
- /*\r
- * libmpeg2 properties\r
- */\r
- mpeg2dec_t *p_mpeg2dec;\r
- const mpeg2_info_t *p_info;\r
-\r
- /*\r
- * Input properties\r
- */\r
- decoder_fifo_t *p_fifo; /* stores the PES stream data */\r
- pes_packet_t *p_pes; /* current PES we are decoding */\r
- mtime_t i_pts;\r
- mtime_t i_previous_pts;\r
- mtime_t i_current_pts;\r
- mtime_t i_period_remainder;\r
-\r
- /*\r
- * Output properties\r
- */\r
- vout_thread_t *p_vout;\r
-\r
-} dec_thread_t;\r
-\r
-/*****************************************************************************\r
- * Local prototypes\r
- *****************************************************************************/\r
-static int OpenDecoder ( vlc_object_t * );\r
-static int RunDecoder ( decoder_fifo_t * );\r
-static void CloseDecoder ( dec_thread_t * );\r
-\r
-/*****************************************************************************\r
- * Module descriptor\r
- *****************************************************************************/\r
-vlc_module_begin();\r
- set_description( _("libmpeg2 decoder module") );\r
- set_capability( "decoder", 40 );\r
- set_callbacks( OpenDecoder, NULL );\r
- add_shortcut( "libmpeg2" );\r
-vlc_module_end();\r
-\r
-/*****************************************************************************\r
- * OpenDecoder: probe the decoder and return score\r
- *****************************************************************************/\r
-static int OpenDecoder( vlc_object_t *p_this )\r
-{\r
- decoder_fifo_t *p_fifo = (decoder_fifo_t*) p_this;\r
-\r
- if( p_fifo->i_fourcc != VLC_FOURCC('m','p','g','v') )\r
- {\r
- return VLC_EGENERIC;\r
- }\r
-\r
- p_fifo->pf_run = RunDecoder;\r
- return VLC_SUCCESS;\r
-}\r
-/*****************************************************************************\r
- * RunDecoder: the libmpeg2 decoder\r
- *****************************************************************************/\r
-static int RunDecoder( decoder_fifo_t *p_fifo )\r
-{\r
- dec_thread_t *p_dec;\r
- data_packet_t *p_data = NULL;\r
- mpeg2_state_t state;\r
- picture_t *p_pic;\r
- int i_aspect, i_chroma;\r
-\r
- /* Allocate the memory needed to store the thread's structure */\r
- if( (p_dec = (dec_thread_t *)malloc (sizeof(dec_thread_t)) )\r
- == NULL)\r
- {\r
- msg_Err( p_fifo, "out of memory" );\r
- goto error;\r
- }\r
-\r
- /* Initialize the thread properties */\r
- memset( p_dec, 0, sizeof(dec_thread_t) );\r
- p_dec->p_fifo = p_fifo;\r
- p_dec->p_pes = NULL;\r
- p_dec->p_vout = NULL;\r
- p_dec->p_mpeg2dec = NULL;\r
- p_dec->p_info = NULL;\r
- p_dec->i_pts = mdate() + DEFAULT_PTS_DELAY;\r
- p_dec->i_current_pts = 0;\r
- p_dec->i_previous_pts = 0;\r
- p_dec->i_period_remainder = 0;\r
-\r
- /* Initialize decoder */\r
- p_dec->p_mpeg2dec = mpeg2_init();\r
- if( p_dec->p_mpeg2dec == NULL)\r
- goto error;\r
-\r
- p_dec->p_info = mpeg2_info( p_dec->p_mpeg2dec );\r
-\r
- /* libmpeg2 decoder thread's main loop */\r
- while( (!p_dec->p_fifo->b_die) && (!p_dec->p_fifo->b_error) )\r
- {\r
- state = mpeg2_parse( p_dec->p_mpeg2dec );\r
-\r
- switch( state )\r
- {\r
- case STATE_BUFFER:\r
- /* Feed libmpeg2 a data packet at a time */\r
- if( p_data == NULL )\r
- {\r
- /* Get the next PES */\r
- if( p_dec->p_pes )\r
- input_DeletePES( p_dec->p_fifo->p_packets_mgt,\r
- p_dec->p_pes );\r
-\r
- input_ExtractPES( p_dec->p_fifo, &p_dec->p_pes );\r
- if( !p_dec->p_pes )\r
- {\r
- p_dec->p_fifo->b_error = 1;\r
- break;\r
- }\r
-\r
- if( p_dec->p_pes->i_pts )\r
- {\r
- mpeg2_pts( p_dec->p_mpeg2dec,\r
- (uint32_t)p_dec->p_pes->i_pts );\r
- p_dec->i_previous_pts = p_dec->i_current_pts;\r
- p_dec->i_current_pts = p_dec->p_pes->i_pts;\r
- }\r
- p_data = p_dec->p_pes->p_first;\r
- }\r
-\r
- if( p_data != NULL )\r
- {\r
- mpeg2_buffer( p_dec->p_mpeg2dec,\r
- p_data->p_payload_start,\r
- p_data->p_payload_end );\r
-\r
- p_data = p_data->p_next;\r
- }\r
- break;\r
-\r
- case STATE_SEQUENCE:\r
- /* Initialize video output */\r
-\r
- /* Check whether the input gives a particular aspect ratio */\r
- if( p_dec->p_fifo->p_demux_data\r
- && ( *(int*)(p_dec->p_fifo->p_demux_data) & 0x7 ) )\r
- {\r
- i_aspect = *(int*)(p_dec->p_fifo->p_demux_data);\r
- switch( i_aspect )\r
- {\r
- case AR_3_4_PICTURE:\r
- i_aspect = VOUT_ASPECT_FACTOR * 4 / 3;\r
- break;\r
- case AR_16_9_PICTURE:\r
- i_aspect = VOUT_ASPECT_FACTOR * 16 / 9;\r
- break;\r
- case AR_221_1_PICTURE:\r
- i_aspect = VOUT_ASPECT_FACTOR * 221 / 100;\r
- break;\r
- case AR_SQUARE_PICTURE:\r
- default:\r
- i_aspect = VOUT_ASPECT_FACTOR *\r
- p_dec->p_info->sequence->width /\r
- p_dec->p_info->sequence->height;\r
- break;\r
- }\r
- }\r
- else\r
- {\r
- /* Use the value provided in the MPEG sequence header */\r
- i_aspect = ((uint64_t)p_dec->p_info->sequence->width) *\r
- p_dec->p_info->sequence->pixel_width * VOUT_ASPECT_FACTOR /\r
- p_dec->p_info->sequence->height /\r
- p_dec->p_info->sequence->pixel_height;\r
- }\r
-\r
- i_chroma = VLC_FOURCC('Y','V','1','2');\r
-\r
- p_dec->p_vout = vout_Request( p_dec->p_fifo, p_dec->p_vout,\r
- p_dec->p_info->sequence->width,\r
- p_dec->p_info->sequence->height,\r
- i_chroma, i_aspect );\r
- break;\r
-\r
- case STATE_PICTURE:\r
- {\r
- uint8_t *buf[3];\r
-\r
- /* Get a new picture */\r
- while( !(p_pic = vout_CreatePicture( p_dec->p_vout, 0, 0, 0 ) ) )\r
- {\r
- if( p_dec->p_fifo->b_die || p_dec->p_fifo->b_error )\r
- break;\r
-\r
- msleep( VOUT_OUTMEM_SLEEP );\r
- }\r
- if( p_pic == NULL )\r
- break;\r
-\r
- buf[0] = p_pic->p[0].p_pixels;\r
- buf[1] = p_pic->p[1].p_pixels;\r
- buf[2] = p_pic->p[2].p_pixels;\r
- mpeg2_set_buf( p_dec->p_mpeg2dec, buf, p_pic );\r
-\r
- /* Store the date for the picture */\r
- if( p_dec->p_info->current_picture->flags & PIC_FLAG_PTS )\r
- {\r
- p_pic->date = ( p_dec->p_info->current_picture->pts ==\r
- (uint32_t)p_dec->i_current_pts ) ?\r
- p_dec->i_current_pts : p_dec->i_previous_pts;\r
- }\r
- }\r
- break;\r
-\r
- case STATE_END:\r
- case STATE_SLICE:\r
- if( p_dec->p_info->display_fbuf\r
- && p_dec->p_info->display_fbuf->id )\r
- {\r
- p_pic = (picture_t *)p_dec->p_info->display_fbuf->id;\r
-\r
- /* Date the new picture */\r
- if( p_dec->p_info->display_picture->flags & PIC_FLAG_PTS )\r
- {\r
- p_dec->i_pts = p_pic->date;\r
- p_dec->i_period_remainder = 0;\r
- }\r
- else\r
- {\r
- p_dec->i_pts += ( (p_dec->p_info->sequence->frame_period +\r
- p_dec->i_period_remainder) / 27 );\r
- p_dec->i_period_remainder =\r
- p_dec->p_info->sequence->frame_period +\r
- p_dec->i_period_remainder -\r
- ( p_dec->p_info->sequence->frame_period +\r
- p_dec->i_period_remainder ) / 27 * 27;\r
- }\r
- vout_DatePicture( p_dec->p_vout, p_pic, p_dec->i_pts );\r
-\r
- vout_DisplayPicture( p_dec->p_vout, p_pic );\r
-\r
- /* Handle pulldown by adding some delay to the pts of the next\r
- * picture. */\r
- if( p_dec->p_info->display_picture->nb_fields > 2 )\r
- {\r
- int i_repeat_fields =\r
- p_dec->p_info->display_picture->nb_fields - 2;\r
-\r
- p_dec->i_pts += ( (p_dec->p_info->sequence->frame_period +\r
- p_dec->i_period_remainder)\r
- / 27 / 2 * i_repeat_fields );\r
- p_dec->i_period_remainder =\r
- p_dec->p_info->sequence->frame_period +\r
- p_dec->i_period_remainder -\r
- ( p_dec->p_info->sequence->frame_period +\r
- p_dec->i_period_remainder ) / 27 / 2 * 27 * 2;\r
- }\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
- }\r
-\r
- /* If b_error is set, the libmpeg2 decoder thread enters the error loop */\r
- if( p_dec->p_fifo->b_error )\r
- {\r
- DecoderError( p_dec->p_fifo );\r
- }\r
-\r
- /* End of the libmpeg2 decoder thread */\r
- CloseDecoder( p_dec );\r
-\r
- return 0;\r
-\r
- error:\r
- DecoderError( p_fifo );\r
- if( p_dec )\r
- {\r
- if( p_dec->p_fifo )\r
- p_dec->p_fifo->b_error = 1;\r
-\r
- /* End of the libmpeg2 decoder thread */\r
- CloseDecoder( p_dec );\r
- }\r
-\r
- return -1;\r
-}\r
-\r
-/*****************************************************************************\r
- * CloseDecoder: libmpeg2 decoder destruction\r
- *****************************************************************************/\r
-static void CloseDecoder( dec_thread_t * p_dec )\r
-{\r
- if( p_dec )\r
- {\r
- if( p_dec->p_pes )\r
- input_DeletePES( p_dec->p_fifo->p_packets_mgt, p_dec->p_pes );\r
-\r
- vout_Request( p_dec->p_fifo, p_dec->p_vout, 0, 0, 0, 0 );\r
-\r
- if( p_dec->p_mpeg2dec ) mpeg2_close( p_dec->p_mpeg2dec );\r
-\r
- free( p_dec );\r
- }\r
-}\r
+/*****************************************************************************
+ * libmpeg2.c: mpeg2 video decoder module making use of libmpeg2.
+ *****************************************************************************
+ * Copyright (C) 1999-2001 VideoLAN
+ * $Id: libmpeg2.c,v 1.6 2003/03/30 18:14:36 gbazin Exp $
+ *
+ * Authors: Gildas Bazin <gbazin@netcourrier.com>
+ *
+ * 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, USA.
+ *****************************************************************************/
+
+/*****************************************************************************
+ * Preamble
+ *****************************************************************************/
+#include <vlc/vlc.h>
+#include <vlc/vout.h>
+#include <vlc/input.h>
+#include <vlc/decoder.h>
+
+#include <stdlib.h> /* malloc(), free() */
+#include <string.h> /* memcpy(), memset() */
+
+#include <mpeg2dec/mpeg2.h>
+
+/* Aspect ratio (ISO/IEC 13818-2 section 6.3.3, table 6-3) */
+#define AR_SQUARE_PICTURE 1 /* square pixels */
+#define AR_3_4_PICTURE 2 /* 3:4 picture (TV) */
+#define AR_16_9_PICTURE 3 /* 16:9 picture (wide screen) */
+#define AR_221_1_PICTURE 4 /* 2.21:1 picture (movie) */
+
+/*****************************************************************************
+ * dec_thread_t : libmpeg2 decoder thread descriptor
+ *****************************************************************************/
+typedef struct dec_thread_t
+{
+ /*
+ * libmpeg2 properties
+ */
+ mpeg2dec_t *p_mpeg2dec;
+ const mpeg2_info_t *p_info;
+
+ /*
+ * Input properties
+ */
+ decoder_fifo_t *p_fifo; /* stores the PES stream data */
+ pes_packet_t *p_pes; /* current PES we are decoding */
+ mtime_t i_pts;
+ mtime_t i_previous_pts;
+ mtime_t i_current_pts;
+ mtime_t i_period_remainder;
+
+ /*
+ * Output properties
+ */
+ vout_thread_t *p_vout;
+
+} dec_thread_t;
+
+/*****************************************************************************
+ * Local prototypes
+ *****************************************************************************/
+static int OpenDecoder ( vlc_object_t * );
+static int RunDecoder ( decoder_fifo_t * );
+static void CloseDecoder ( dec_thread_t * );
+
+/*****************************************************************************
+ * Module descriptor
+ *****************************************************************************/
+vlc_module_begin();
+ set_description( _("MPEG I/II video decoder (using libmpeg2)") );
+ set_capability( "decoder", 40 );
+ set_callbacks( OpenDecoder, NULL );
+ add_shortcut( "libmpeg2" );
+vlc_module_end();
+
+/*****************************************************************************
+ * OpenDecoder: probe the decoder and return score
+ *****************************************************************************/
+static int OpenDecoder( vlc_object_t *p_this )
+{
+ decoder_fifo_t *p_fifo = (decoder_fifo_t*) p_this;
+
+ if( p_fifo->i_fourcc != VLC_FOURCC('m','p','g','v') )
+ {
+ return VLC_EGENERIC;
+ }
+
+ p_fifo->pf_run = RunDecoder;
+ return VLC_SUCCESS;
+}
+/*****************************************************************************
+ * RunDecoder: the libmpeg2 decoder
+ *****************************************************************************/
+static int RunDecoder( decoder_fifo_t *p_fifo )
+{
+ dec_thread_t *p_dec;
+ data_packet_t *p_data = NULL;
+ mpeg2_state_t state;
+ picture_t *p_pic;
+ int i_aspect, i_chroma;
+
+ /* Allocate the memory needed to store the thread's structure */
+ if( (p_dec = (dec_thread_t *)malloc (sizeof(dec_thread_t)) )
+ == NULL)
+ {
+ msg_Err( p_fifo, "out of memory" );
+ goto error;
+ }
+
+ /* Initialize the thread properties */
+ memset( p_dec, 0, sizeof(dec_thread_t) );
+ p_dec->p_fifo = p_fifo;
+ p_dec->p_pes = NULL;
+ p_dec->p_vout = NULL;
+ p_dec->p_mpeg2dec = NULL;
+ p_dec->p_info = NULL;
+ p_dec->i_pts = mdate() + DEFAULT_PTS_DELAY;
+ p_dec->i_current_pts = 0;
+ p_dec->i_previous_pts = 0;
+ p_dec->i_period_remainder = 0;
+
+ /* Initialize decoder */
+ p_dec->p_mpeg2dec = mpeg2_init();
+ if( p_dec->p_mpeg2dec == NULL)
+ goto error;
+
+ p_dec->p_info = mpeg2_info( p_dec->p_mpeg2dec );
+
+ /* libmpeg2 decoder thread's main loop */
+ while( (!p_dec->p_fifo->b_die) && (!p_dec->p_fifo->b_error) )
+ {
+ state = mpeg2_parse( p_dec->p_mpeg2dec );
+
+ switch( state )
+ {
+ case STATE_BUFFER:
+ /* Feed libmpeg2 a data packet at a time */
+ if( p_data == NULL )
+ {
+ /* Get the next PES */
+ if( p_dec->p_pes )
+ input_DeletePES( p_dec->p_fifo->p_packets_mgt,
+ p_dec->p_pes );
+
+ input_ExtractPES( p_dec->p_fifo, &p_dec->p_pes );
+ if( !p_dec->p_pes )
+ {
+ p_dec->p_fifo->b_error = 1;
+ break;
+ }
+
+ if( p_dec->p_pes->i_pts )
+ {
+ mpeg2_pts( p_dec->p_mpeg2dec,
+ (uint32_t)p_dec->p_pes->i_pts );
+ p_dec->i_previous_pts = p_dec->i_current_pts;
+ p_dec->i_current_pts = p_dec->p_pes->i_pts;
+ }
+ p_data = p_dec->p_pes->p_first;
+ }
+
+ if( p_data != NULL )
+ {
+ mpeg2_buffer( p_dec->p_mpeg2dec,
+ p_data->p_payload_start,
+ p_data->p_payload_end );
+
+ p_data = p_data->p_next;
+ }
+ break;
+
+ case STATE_SEQUENCE:
+ /* Initialize video output */
+
+ /* Check whether the input gives a particular aspect ratio */
+ if( p_dec->p_fifo->p_demux_data
+ && ( *(int*)(p_dec->p_fifo->p_demux_data) & 0x7 ) )
+ {
+ i_aspect = *(int*)(p_dec->p_fifo->p_demux_data);
+ switch( i_aspect )
+ {
+ case AR_3_4_PICTURE:
+ i_aspect = VOUT_ASPECT_FACTOR * 4 / 3;
+ break;
+ case AR_16_9_PICTURE:
+ i_aspect = VOUT_ASPECT_FACTOR * 16 / 9;
+ break;
+ case AR_221_1_PICTURE:
+ i_aspect = VOUT_ASPECT_FACTOR * 221 / 100;
+ break;
+ case AR_SQUARE_PICTURE:
+ default:
+ i_aspect = VOUT_ASPECT_FACTOR *
+ p_dec->p_info->sequence->width /
+ p_dec->p_info->sequence->height;
+ break;
+ }
+ }
+ else
+ {
+ /* Use the value provided in the MPEG sequence header */
+ i_aspect = ((uint64_t)p_dec->p_info->sequence->width) *
+ p_dec->p_info->sequence->pixel_width * VOUT_ASPECT_FACTOR /
+ p_dec->p_info->sequence->height /
+ p_dec->p_info->sequence->pixel_height;
+ }
+
+ i_chroma = VLC_FOURCC('Y','V','1','2');
+
+ p_dec->p_vout = vout_Request( p_dec->p_fifo, p_dec->p_vout,
+ p_dec->p_info->sequence->width,
+ p_dec->p_info->sequence->height,
+ i_chroma, i_aspect );
+ break;
+
+ case STATE_PICTURE:
+ {
+ uint8_t *buf[3];
+
+ /* Get a new picture */
+ while( !(p_pic = vout_CreatePicture( p_dec->p_vout, 0, 0, 0 ) ) )
+ {
+ if( p_dec->p_fifo->b_die || p_dec->p_fifo->b_error )
+ break;
+
+ msleep( VOUT_OUTMEM_SLEEP );
+ }
+ if( p_pic == NULL )
+ break;
+
+ buf[0] = p_pic->p[0].p_pixels;
+ buf[1] = p_pic->p[1].p_pixels;
+ buf[2] = p_pic->p[2].p_pixels;
+ mpeg2_set_buf( p_dec->p_mpeg2dec, buf, p_pic );
+
+ /* Store the date for the picture */
+ if( p_dec->p_info->current_picture->flags & PIC_FLAG_PTS )
+ {
+ p_pic->date = ( p_dec->p_info->current_picture->pts ==
+ (uint32_t)p_dec->i_current_pts ) ?
+ p_dec->i_current_pts : p_dec->i_previous_pts;
+ }
+ }
+ break;
+
+ case STATE_END:
+ case STATE_SLICE:
+ if( p_dec->p_info->display_fbuf
+ && p_dec->p_info->display_fbuf->id )
+ {
+ p_pic = (picture_t *)p_dec->p_info->display_fbuf->id;
+
+ /* Date the new picture */
+ if( p_dec->p_info->display_picture->flags & PIC_FLAG_PTS )
+ {
+ p_dec->i_pts = p_pic->date;
+ p_dec->i_period_remainder = 0;
+ }
+ else
+ {
+ p_dec->i_pts += ( (p_dec->p_info->sequence->frame_period +
+ p_dec->i_period_remainder) / 27 );
+ p_dec->i_period_remainder =
+ p_dec->p_info->sequence->frame_period +
+ p_dec->i_period_remainder -
+ ( p_dec->p_info->sequence->frame_period +
+ p_dec->i_period_remainder ) / 27 * 27;
+ }
+ vout_DatePicture( p_dec->p_vout, p_pic, p_dec->i_pts );
+
+ vout_DisplayPicture( p_dec->p_vout, p_pic );
+
+ /* Handle pulldown by adding some delay to the pts of the next
+ * picture. */
+ if( p_dec->p_info->display_picture->nb_fields > 2 )
+ {
+ int i_repeat_fields =
+ p_dec->p_info->display_picture->nb_fields - 2;
+
+ p_dec->i_pts += ( (p_dec->p_info->sequence->frame_period +
+ p_dec->i_period_remainder)
+ / 27 / 2 * i_repeat_fields );
+ p_dec->i_period_remainder =
+ p_dec->p_info->sequence->frame_period +
+ p_dec->i_period_remainder -
+ ( p_dec->p_info->sequence->frame_period +
+ p_dec->i_period_remainder ) / 27 / 2 * 27 * 2;
+ }
+ }
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ /* If b_error is set, the libmpeg2 decoder thread enters the error loop */
+ if( p_dec->p_fifo->b_error )
+ {
+ DecoderError( p_dec->p_fifo );
+ }
+
+ /* End of the libmpeg2 decoder thread */
+ CloseDecoder( p_dec );
+
+ return 0;
+
+ error:
+ DecoderError( p_fifo );
+ if( p_dec )
+ {
+ if( p_dec->p_fifo )
+ p_dec->p_fifo->b_error = 1;
+
+ /* End of the libmpeg2 decoder thread */
+ CloseDecoder( p_dec );
+ }
+
+ return -1;
+}
+
+/*****************************************************************************
+ * CloseDecoder: libmpeg2 decoder destruction
+ *****************************************************************************/
+static void CloseDecoder( dec_thread_t * p_dec )
+{
+ if( p_dec )
+ {
+ if( p_dec->p_pes )
+ input_DeletePES( p_dec->p_fifo->p_packets_mgt, p_dec->p_pes );
+
+ vout_Request( p_dec->p_fifo, p_dec->p_vout, 0, 0, 0, 0 );
+
+ if( p_dec->p_mpeg2dec ) mpeg2_close( p_dec->p_mpeg2dec );
+
+ free( p_dec );
+ }
+}
* idct.c : C IDCT module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: idct.c,v 1.2 2002/11/20 13:37:35 sam Exp $
+ * $Id: idct.c,v 1.3 2003/03/30 18:14:36 gbazin Exp $
*
* Author: Gaël Hendryckx <jimmy@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("IDCT module") );
+ set_description( _("IDCT") );
set_capability( "idct", 50 );
add_shortcut( "c" );
set_callbacks( Open, NULL );
* idctaltivec.c : AltiVec IDCT module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: idctaltivec.c,v 1.2 2002/10/20 12:23:47 massiot Exp $
+ * $Id: idctaltivec.c,v 1.3 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Michel Lespinasse <walken@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("AltiVec IDCT module") );
+ set_description( _("AltiVec IDCT") );
set_capability( "idct", 200 );
add_shortcut( "altivec" );
add_requirement( ALTIVEC );
* idctclassic.c : Classic IDCT module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: idctclassic.c,v 1.1 2002/08/04 17:23:42 sam Exp $
+ * $Id: idctclassic.c,v 1.2 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Gaël Hendryckx <jimmy@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("classic IDCT module") );
+ set_description( _("classic IDCT") );
set_capability( "idct", 100 );
add_shortcut( "classic" );
set_callbacks( Open, NULL );
* idctmmx.c : MMX IDCT module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: idctmmx.c,v 1.3 2002/08/08 22:28:22 sam Exp $
+ * $Id: idctmmx.c,v 1.4 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("MMX IDCT module") );
+ set_description( _("MMX IDCT") );
set_capability( "idct", 150 );
add_shortcut( "mmx" );
add_requirement( MMX );
* idctmmxext.c : MMX EXT IDCT module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: idctmmxext.c,v 1.3 2002/08/08 22:28:22 sam Exp $
+ * $Id: idctmmxext.c,v 1.4 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("MMX EXT IDCT module") );
+ set_description( _("MMX EXT IDCT") );
set_capability( "idct", 200 );
add_shortcut( "mmxext" );
add_requirement( MMXEXT );
* motion.c : C motion compensation module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: motion.c,v 1.2 2002/08/08 00:35:11 sam Exp $
+ * $Id: motion.c,v 1.3 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("motion compensation module") );
+ set_description( _("motion compensation") );
set_capability( "motion compensation", 50 );
add_shortcut( "c" );
set_callbacks( Open, NULL );
* motion3dnow.c : 3D Now! motion compensation module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: motion3dnow.c,v 1.1 2002/08/04 17:23:42 sam Exp $
+ * $Id: motion3dnow.c,v 1.2 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("3D Now! motion compensation module") );
+ set_description( _("3D Now! motion compensation") );
set_capability( "motion compensation", 150 );
add_requirement( 3DNOW );
add_shortcut( "3dn" );
* motionaltivec.c : AltiVec motion compensation module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: motionaltivec.c,v 1.1 2002/08/04 17:23:42 sam Exp $
+ * $Id: motionaltivec.c,v 1.2 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Michel Lespinasse <walken@zoy.org>
* Paul Mackerras <paulus@linuxcare.com.au>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("AltiVec motion compensation module") );
+ set_description( _("AltiVec motion compensation") );
set_capability( "motion compensation", 150 );
add_requirement( ALTIVEC );
add_shortcut( "altivec" );
* motionmmx.c : MMX motion compensation module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: motionmmx.c,v 1.2 2002/08/08 00:35:11 sam Exp $
+ * $Id: motionmmx.c,v 1.3 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("MMX motion compensation module") );
+ set_description( _("MMX motion compensation") );
set_capability( "motion compensation", 150 );
add_requirement( MMX );
add_shortcut( "mmx" );
* motionmmxext.c : MMX EXT motion compensation module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: motionmmxext.c,v 1.2 2002/08/08 00:35:11 sam Exp $
+ * $Id: motionmmxext.c,v 1.3 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("MMX EXT motion compensation module") );
+ set_description( _("MMX EXT motion compensation") );
set_capability( "motion compensation", 200 );
add_requirement( MMXEXT );
add_shortcut( "mmxext" );
* video_parser.c : video parser thread
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: parser.c,v 1.11 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: parser.c,v 1.12 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
add_integer ( "vdec-smp", 0, NULL, VDEC_SMP_TEXT, VDEC_SMP_LONGTEXT, VLC_TRUE );
add_string ( "vpar-synchro", NULL, NULL, VPAR_SYNCHRO_TEXT,
VPAR_SYNCHRO_LONGTEXT, VLC_TRUE );
- set_description( _("MPEG I/II video decoder module") );
+ set_description( _("MPEG I/II video decoder") );
set_capability( "decoder", 50 );
set_callbacks( OpenDecoder, NULL );
vlc_module_end();
* spudec.c : SPU decoder thread
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: spudec.c,v 1.16 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: spudec.c,v 1.17 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_file( "spudec-font", "share/" DEFAULT_FONT, NULL,
FONT_TEXT, FONT_LONGTEXT, VLC_TRUE );
#endif
- set_description( _("subtitles decoder module") );
+ set_description( _("subtitles decoder") );
set_capability( "decoder", 50 );
set_callbacks( OpenDecoder, NULL );
vlc_module_end();
* theora.c: theora decoder module making use of libtheora.
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: theora.c,v 1.3 2002/11/28 21:00:48 gbazin Exp $
+ * $Id: theora.c,v 1.4 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Theora decoder module") );
+ set_description( _("Theora video decoder") );
set_capability( "decoder", 100 );
set_callbacks( OpenDecoder, NULL );
add_shortcut( "theora" );
* vorbis.c: vorbis decoder module making use of libvorbis.
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: vorbis.c,v 1.15 2003/03/14 00:24:08 sigmunau Exp $
+ * $Id: vorbis.c,v 1.16 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Vorbis decoder module") );
+ set_description( _("Vorbis audio decoder") );
#ifdef MODULE_NAME_IS_tremor
set_capability( "decoder", 90 );
#else
* geatures.c: control vlc with mouse gestures
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: gestures.c,v 1.3 2003/03/08 01:55:28 sigmunau Exp $
+ * $Id: gestures.c,v 1.4 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
add_integer( "gestures-threshold", 30, NULL, THRESHOLD_TEXT, THRESHOLD_LONGTEXT, VLC_TRUE );
add_string_from_list( "gestures-button", "right", button_list, NULL,
BUTTON_TEXT, BUTTON_LONGTEXT, VLC_FALSE );
- set_description( _("mouse gestures control module") );
+ set_description( _("mouse gestures control interface") );
set_capability( "interface", 0 );
set_callbacks( E_(Open), E_(Close) );
* lirc.c : lirc plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: lirc.c,v 1.5 2003/03/23 16:38:40 sigmunau Exp $
+ * $Id: lirc.c,v 1.6 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("infrared remote control module") );
+ set_description( _("infrared remote control interface") );
set_capability( "interface", 0 );
set_callbacks( Open, Close );
vlc_module_end();
* rc.c : remote control stdin/stdout plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: rc.c,v 1.29 2003/03/03 14:21:08 gbazin Exp $
+ * $Id: rc.c,v 1.30 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Peter Surda <shurdeek@panorama.sth.ac.at>
*
#ifdef HAVE_ISATTY
add_bool( "fake-tty", 0, NULL, TTY_TEXT, TTY_LONGTEXT, VLC_TRUE );
#endif
- set_description( _("remote control interface module") );
+ set_description( _("remote control interface") );
set_capability( "interface", 20 );
set_callbacks( Activate, NULL );
vlc_module_end();
* demux.c : Raw aac Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: demux.c,v 1.6 2003/03/14 00:24:07 sigmunau Exp $
+ * $Id: demux.c,v 1.7 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("AAC stream demux" ) );
+ set_description( _("AAC stream demuxer" ) );
set_capability( "demux", 0 );
set_callbacks( Activate, NULL );
add_shortcut( "aac" );
* avi.c : AVI file Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: avi.c,v 1.41 2003/03/14 00:24:07 sigmunau Exp $
+ * $Id: avi.c,v 1.42 2003/03/30 18:14:37 gbazin Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
N_("force index creation"),
N_("force index creation"), VLC_TRUE );
- set_description( N_("avi demuxer") );
+ set_description( N_("AVI demuxer") );
set_capability( "demux", 212 );
set_callbacks( AVIInit, __AVIEnd );
vlc_module_end();
* demuxdump.c : Pseudo demux module for vlc (dump raw stream)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: demuxdump.c,v 1.7 2003/03/30 14:24:20 gbazin Exp $
+ * $Id: demuxdump.c,v 1.8 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
"specify a file name to which the raw stream will be dumped." )
vlc_module_begin();
- set_description( _("Dump Demux input") );
+ set_description( _("file dump demuxer") );
set_capability( "demux", 0 );
add_category_hint( "File", NULL, VLC_FALSE );
add_file( "demuxdump-file", "stream-demux.dump", NULL, FILE_TEXT,
* audio.c : mpeg audio Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: audio.c,v 1.15 2003/03/23 12:12:32 gbazin Exp $
+ * $Id: audio.c,v 1.16 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("MPEG I/II audio stream demux" ) );
+ set_description( _("MPEG I/II audio stream demuxer" ) );
set_capability( "demux", 50 );
set_callbacks( Activate, NULL );
add_shortcut( "mpegaudio" );
* m4v.c : MPEG-4 video Stream input module for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: m4v.c,v 1.3 2003/03/14 00:24:08 sigmunau Exp $
+ * $Id: m4v.c,v 1.4 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("MPEG-4 video elementary stream demux" ) );
+ set_description( _("MPEG-4 video elementary stream demuxer" ) );
set_capability( "demux", 0 );
set_callbacks( Activate, NULL );
add_shortcut( "m4v" );
* ogg.c : ogg stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: ogg.c,v 1.21 2003/03/21 02:05:20 gbazin Exp $
+ * $Id: ogg.c,v 1.22 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("ogg stream demux" ) );
+ set_description( _("ogg stream demuxer" ) );
set_capability( "demux", 50 );
set_callbacks( Activate, Deactivate );
add_shortcut( "ogg" );
* rawdv.c : raw dv input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: rawdv.c,v 1.4 2003/02/18 19:42:57 gbazin Exp $
+ * $Id: rawdv.c,v 1.5 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("raw dv demux") );
+ set_description( _("raw dv demuxer") );
set_capability( "demux", 2 );
set_callbacks( Activate, NULL );
add_shortcut( "rawdv" );
* beos.cpp : BeOS plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: BeOS.cpp,v 1.7 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: BeOS.cpp,v 1.8 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("BeOS standard API module") );
+ set_description( _("BeOS standard API interface") );
add_submodule();
set_capability( "interface", 100 );
set_callbacks( E_(OpenIntf), E_(CloseIntf) );
* familiar.c : familiar plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: familiar.c,v 1.33 2003/03/17 18:02:10 sam Exp $
+ * $Id: familiar.c,v 1.34 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
* Marc Ariberti <marcari@videolan.org>
vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_TRUE );
add_bool( "familiar-autoplayfile", 1, GtkAutoPlayFile, AUTOPLAYFILE_TEXT, AUTOPLAYFILE_LONGTEXT, VLC_TRUE );
- set_description( _("Familiar Linux Gtk+ interface module") );
+ set_description( _("Familiar Linux Gtk+ interface") );
set_capability( "interface", 70 );
set_callbacks( Open, Close );
vlc_module_end();
* gnome.c : Gnome plugin for vlc
*****************************************************************************
* Copyright (C) 2000 VideoLAN
- * $Id: gnome.c,v 1.14 2003/03/17 18:02:10 sam Exp $
+ * $Id: gnome.c,v 1.15 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_integer( "gnome-prefs-maxh", 480, NULL,
PREFS_MAXH_TEXT, PREFS_MAXH_LONGTEXT, VLC_TRUE );
- set_description( _("GNOME interface module") );
+ set_description( _("GNOME interface") );
set_capability( "interface", i );
set_callbacks( Open, Close );
set_program( "gnome-vlc" );
* gtk.c : Gtk+ plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: gtk.c,v 1.19 2003/03/17 18:02:10 sam Exp $
+ * $Id: gtk.c,v 1.20 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_integer( "gtk-prefs-maxh", 480, NULL,
PREFS_MAXH_TEXT, PREFS_MAXH_LONGTEXT, VLC_TRUE );
- set_description( _("Gtk+ interface module") );
+ set_description( _("Gtk+ interface") );
set_capability( "interface", i );
set_callbacks( Open, Close );
add_shortcut( "gtk" );
* gnome2.c : GNOME 2 plugin for vlc
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: gnome2.c,v 1.1 2003/03/18 01:26:13 sam Exp $
+ * $Id: gnome2.c,v 1.2 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
*****************************************************************************/
vlc_module_begin();
int i = getenv( "DISPLAY" ) == NULL ? 15 : 95;
- set_description( _("Gtk2 interface module") );
+ set_description( _("Gtk2 interface") );
set_capability( "interface", i );
set_callbacks( Open, Close );
set_program( "gvlc" );
* gtk2.c : Gtk2 plugin for vlc
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: gtk2.c,v 1.1 2003/03/18 01:26:13 sam Exp $
+ * $Id: gtk2.c,v 1.2 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
*****************************************************************************/
vlc_module_begin();
int i = getenv( "DISPLAY" ) == NULL ? 15 : 95;
- set_description( _("Gtk2 interface module") );
+ set_description( _("Gtk2 interface") );
set_capability( "interface", i );
set_callbacks( Open, Close );
set_program( "gvlc" );
* kde.cpp : KDE plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: kde.cpp,v 1.9 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: kde.cpp,v 1.10 2003/03/30 18:14:37 gbazin Exp $
*
* Authors: Andres Krapf <dae@chez.com> Sun Mar 25 2001
*
int i = getenv( "DISPLAY" ) == NULL ? 8 : 85;
add_category_hint( "kde", NULL, VLC_TRUE );
add_file( "kdeuirc", DATA_PATH "/ui.rc", NULL, N_( "path to ui.rc file" ), NULL, VLC_TRUE );
- set_description( _("KDE interface module") );
+ set_description( _("KDE interface") );
set_capability( "interface", i );
set_program( "kvlc" );
set_callbacks( open, close );
* macosx.m: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
- * $Id: macosx.m,v 1.4 2003/02/23 05:53:53 jlj Exp $
+ * $Id: macosx.m,v 1.5 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Eugenio Jarosiewicz <ej0@cise.ufl.edu>
#define VDEV_TEXT N_("video device")
vlc_module_begin();
- set_description( _("MacOS X interface, sound and video module") );
+ set_description( _("MacOS X interface, sound and video") );
add_submodule();
set_capability( "interface", 100 );
set_callbacks( E_(OpenIntf), E_(CloseIntf) );
* ncurses.c : NCurses plugin for vlc
*****************************************************************************
* Copyright (C) 2001, 2002, 2003 VideoLAN
- * $Id: ncurses.c,v 1.3 2003/01/17 19:36:53 sam Exp $
+ * $Id: ncurses.c,v 1.4 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("ncurses interface module") );
+ set_description( _("ncurses interface") );
set_capability( "interface", 10 );
set_callbacks( Open, Close );
add_shortcut( "curses" );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("QNX RTOS module") );
+ set_description( _("QNX RTOS video and audio output") );
add_submodule();
set_capability( "video output", 100 );
set_callbacks( E_(OpenVideo), E_(CloseVideo) );
* qt.cpp : Qt plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: qt.cpp,v 1.1 2002/08/04 17:23:43 sam Exp $
+ * $Id: qt.cpp,v 1.2 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
#else
int i = getenv( "DISPLAY" ) == NULL ? 7 : 80;
#endif
- set_description( _("Qt interface module") );
+ set_description( _("Qt interface") );
set_capability( "interface", i );
set_program( "qvlc" );
set_callbacks( E_(Open), E_(Close) );
* skin-main.cpp: skins plugin for VLC
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: skin_main.cpp,v 1.3 2003/03/20 09:29:07 karibu Exp $
+ * $Id: skin_main.cpp,v 1.4 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
VLC_FALSE );
add_bool( "show_in_taskbar", VLC_TRUE, NULL, SKIN_TASKBAR,
SKIN_TASKBAR_LONG, VLC_FALSE );
- set_description( _("Skinnable Interface Module") );
+ set_description( _("Skinnable Interface") );
set_capability( "interface", 30 );
set_callbacks( Open, Close );
add_shortcut( "skins" );
* win32.cpp : Win32 interface plugin for vlc\r
*****************************************************************************\r
* Copyright (C) 2002-2003 VideoLAN\r
- * $Id: win32.cpp,v 1.17 2003/03/01 21:32:49 ipkiss Exp $\r
+ * $Id: win32.cpp,v 1.18 2003/03/30 18:14:38 gbazin Exp $\r
*\r
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>\r
*\r
MAX_LINES_LONGTEXT, VLC_TRUE );\r
add_bool( "intfwin-show-captions", 0, NULL, SHOW_CAPTIONS_TEXT,\r
SHOW_CAPTIONS_LONGTEXT, VLC_FALSE );\r
- set_description( _("Native Windows interface module") );\r
+ set_description( _("Native Windows interface") );\r
set_capability( "interface", 100 );\r
set_callbacks( E_(Open), E_(Close) );\r
add_shortcut( "win" );\r
* dummy.c : dummy plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: dummy.c,v 1.4 2003/02/20 16:07:38 gbazin Exp $
+ * $Id: dummy.c,v 1.5 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
#endif
vlc_module_begin();
- set_description( _("dummy functions module") );
+ set_description( _("dummy functions") );
add_shortcut( "vlc" );
add_submodule();
set_capability( "interface", 0 );
* gtk_main.c : Gtk+ wrapper for gtk_main
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: gtk_main.c,v 1.14 2003/03/19 17:40:43 fenrir Exp $
+ * $Id: gtk_main.c,v 1.15 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
*****************************************************************************/
vlc_module_begin();
int i_cap;
- set_description( _("Gtk+ GUI helper module") );
+ set_description( _("Gtk+ GUI helper") );
#if defined(MODULE_NAME_IS_gtk_main)
i_cap = 90;
add_shortcut( "gtk" );
* logger.c : file logging plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: logger.c,v 1.6 2003/03/30 14:24:20 gbazin Exp $
+ * $Id: logger.c,v 1.7 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_file( "logfile", NULL, NULL, N_("log filename"), N_("Specify the log filename."), VLC_FALSE );
add_string_from_list( "logmode", "text", mode_list, NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT, VLC_FALSE );
- set_description( _("file logging interface module") );
+ set_description( _("file logging interface") );
set_capability( "interface", 0 );
set_callbacks( Open, Close );
vlc_module_end();
* memcpy.c : classic memcpy module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: memcpy.c,v 1.2 2002/08/09 16:39:08 sam Exp $
+ * $Id: memcpy.c,v 1.3 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
*****************************************************************************/
vlc_module_begin();
#ifdef MODULE_NAME_IS_memcpy
- set_description( _("libc memcpy module") );
+ set_description( _("libc memcpy") );
add_shortcut( "c" );
add_shortcut( "libc" );
#elif defined( MODULE_NAME_IS_memcpy3dn )
- set_description( _("3D Now! memcpy module") );
+ set_description( _("3D Now! memcpy") );
add_requirement( 3DNOW );
add_shortcut( "3dn" );
add_shortcut( "3dnow" );
add_shortcut( "memcpy3dn" );
add_shortcut( "memcpy3dnow" );
#elif defined( MODULE_NAME_IS_memcpymmx )
- set_description( _("MMX memcpy module") );
+ set_description( _("MMX memcpy") );
add_requirement( MMX );
add_shortcut( "mmx" );
add_shortcut( "memcpymmx" );
#elif defined( MODULE_NAME_IS_memcpymmxext )
- set_description( _("MMX EXT memcpy module") );
+ set_description( _("MMX EXT memcpy") );
add_requirement( MMXEXT );
add_shortcut( "mmxext" );
add_shortcut( "memcpymmxext" );
* memcpyaltivec.c : AltiVec memcpy module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: memcpyaltivec.c,v 1.2 2002/08/11 12:27:11 sam Exp $
+ * $Id: memcpyaltivec.c,v 1.3 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
* Module descriptor.
*****************************************************************************/
vlc_module_begin();
- set_description( _("AltiVec memcpy module") );
+ set_description( _("AltiVec memcpy") );
add_requirement( ALTIVEC );
set_capability( "memcpy", 100 );
set_callbacks( Activate, NULL );
* qte_main.c : QT Embedded wrapper for gte_main
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: qte_main.cpp,v 1.5 2003/03/17 18:02:10 sam Exp $
+ * $Id: qte_main.cpp,v 1.6 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Qt Embedded GUI helper module") );
+ set_description( _("Qt Embedded GUI helper") );
set_capability( "gui-helper", 90 );
add_shortcut( "qte" );
set_callbacks( Open, Close );
* sap.c : SAP interface module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: sap.c,v 1.9 2003/03/22 14:39:38 fenrir Exp $
+ * $Id: sap.c,v 1.10 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Arnaud Schauly <gitan@via.ecp.fr>
*
add_category_hint( N_("SAP"), NULL, VLC_TRUE );
add_string( "sap-addr", NULL, NULL,
"SAP multicast address", "SAP multicast address", VLC_TRUE );
- set_description( _("SAP interface module") );
+ set_description( _("SAP interface") );
set_capability( "interface", 0 );
set_callbacks( Activate, NULL);
vlc_module_end();
* screensaver.c : disable screen savers when VLC is playing
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: screensaver.c,v 1.1 2003/02/06 03:22:08 sam Exp $
+ * $Id: screensaver.c,v 1.2 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Sam Hocevar <sam@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("screensaver disabling module") );
+ set_description( _("screensaver disabling helper") );
set_capability( "interface", 0 );
set_callbacks( Activate, NULL );
vlc_module_end();
* clone.c : Clone video plugin for vlc
*****************************************************************************
* Copyright (C) 2002, 2003 VideoLAN
- * $Id: clone.c,v 1.8 2003/03/18 23:30:28 gbazin Exp $
+ * $Id: clone.c,v 1.9 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_category_hint( N_("Clone"), NULL, VLC_FALSE );
add_integer( "clone-count", 2, NULL, COUNT_TEXT, COUNT_LONGTEXT, VLC_FALSE );
add_string ( "clone-vout-list", NULL, NULL, VOUTLIST_TEXT, VOUTLIST_LONGTEXT, VLC_FALSE );
- set_description( _("image clone video module") );
+ set_description( _("clone video filter") );
set_capability( "video filter", 0 );
add_shortcut( "clone" );
set_callbacks( Create, Destroy );
* crop.c : Crop video plugin for vlc
*****************************************************************************
* Copyright (C) 2002, 2003 VideoLAN
- * $Id: crop.c,v 1.9 2003/03/18 23:30:28 gbazin Exp $
+ * $Id: crop.c,v 1.10 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_category_hint( N_("Crop"), NULL, VLC_FALSE );
add_string( "crop-geometry", NULL, NULL, GEOMETRY_TEXT, GEOMETRY_LONGTEXT, VLC_FALSE );
add_bool( "autocrop", 0, NULL, AUTOCROP_TEXT, AUTOCROP_LONGTEXT, VLC_FALSE );
- set_description( _("image crop video module") );
+ set_description( _("crop video filter") );
set_capability( "video filter", 0 );
add_shortcut( "crop" );
set_callbacks( Create, Destroy );
* deinterlace.c : deinterlacer plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
- * $Id: deinterlace.c,v 1.10 2003/03/30 16:26:42 gbazin Exp $
+ * $Id: deinterlace.c,v 1.11 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_category_hint( N_("Deinterlace"), NULL, VLC_FALSE );
add_string_from_list( "deinterlace-mode", "discard", mode_list, NULL,
MODE_TEXT, MODE_LONGTEXT, VLC_FALSE );
- set_description( _("deinterlacing module") );
+ set_description( _("video deinterlacing filter") );
set_capability( "video filter", 0 );
add_shortcut( "deinterlace" );
set_callbacks( Create, Destroy );
* distort.c : Misc video effects plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
- * $Id: distort.c,v 1.8 2003/03/18 23:30:28 gbazin Exp $
+ * $Id: distort.c,v 1.9 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_category_hint( N_("Distort"), NULL, VLC_FALSE );
add_string_from_list( "distort-mode", "wave", mode_list, NULL,
MODE_TEXT, MODE_LONGTEXT, VLC_FALSE );
- set_description( _("miscellaneous video effects module") );
+ set_description( _("miscellaneous distort video effects filter") );
set_capability( "video filter", 0 );
add_shortcut( "distort" );
set_callbacks( Create, Destroy );
* invert.c : Invert video plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
- * $Id: invert.c,v 1.6 2003/03/18 23:30:28 gbazin Exp $
+ * $Id: invert.c,v 1.7 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("invert video module") );
+ set_description( _("invert video filter") );
set_capability( "video filter", 0 );
add_shortcut( "invert" );
set_callbacks( Create, Destroy );
* motion_blur.c : motion blur filter for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
- * $Id: motionblur.c,v 1.9 2003/03/18 23:30:28 gbazin Exp $
+ * $Id: motionblur.c,v 1.10 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_integer( "blur-factor", 80, NULL, MODE_TEXT, MODE_LONGTEXT, VLC_FALSE );
- set_description( _("Motion blur filter") );
+ set_description( _("motion blur filter") );
set_capability( "video filter", 0 );
set_callbacks( Create, Destroy );
vlc_module_end();
* transform.c : transform image plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
- * $Id: transform.c,v 1.10 2003/03/18 23:30:28 gbazin Exp $
+ * $Id: transform.c,v 1.11 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_string_from_list( "transform-type", "90", type_list, NULL,
TYPE_TEXT, TYPE_LONGTEXT, VLC_FALSE);
- set_description( _("image transformation module") );
+ set_description( _("video transformation filter") );
set_capability( "video filter", 0 );
add_shortcut( "transform" );
set_callbacks( Create, Destroy );
* wall.c : Wall video plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
- * $Id: wall.c,v 1.8 2003/03/18 23:30:28 gbazin Exp $
+ * $Id: wall.c,v 1.9 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
add_integer( "wall-cols", 3, NULL, COLS_TEXT, COLS_LONGTEXT, VLC_FALSE );
add_integer( "wall-rows", 3, NULL, ROWS_TEXT, ROWS_LONGTEXT, VLC_FALSE );
add_string( "wall-active", NULL, NULL, ACTIVE_TEXT, ACTIVE_LONGTEXT, VLC_FALSE );
- set_description( _("image wall video module") );
+ set_description( _("wall video filter") );
set_capability( "video filter", 0 );
add_shortcut( "wall" );
set_callbacks( Create, Destroy );
* vout_aa.c: Aa video output display method for testing purposes
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: aa.c,v 1.1 2002/08/13 11:59:36 sam Exp $
+ * $Id: aa.c,v 1.2 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("ASCII-art video output module") );
+ set_description( _("ASCII-art video output") );
set_capability( "video output", 10 );
add_shortcut( "aalib" );
set_callbacks( Create, Destroy );
* vout.c: Windows DirectX video output display method
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: directx.c,v 1.15 2003/03/28 17:02:25 gbazin Exp $
+ * $Id: directx.c,v 1.16 2003/03/30 18:14:39 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
add_bool( "directx-hw-yuv", 1, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT, VLC_TRUE );
add_bool( "directx-use-sysmem", 0, NULL, SYSMEM_TEXT, SYSMEM_LONGTEXT, VLC_TRUE );
add_bool( "directx-3buffering", 1, NULL, TRIPLEBUF_TEXT, TRIPLEBUF_LONGTEXT, VLC_TRUE );
- set_description( _("DirectX video module") );
+ set_description( _("DirectX video output") );
set_capability( "video output", 100 );
add_shortcut( "directx" );
set_callbacks( OpenVideo, CloseVideo );
* encoder.c : encoder wrapper plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: encoder.c,v 1.2 2003/01/28 16:57:28 sam Exp $
+ * $Id: encoder.c,v 1.3 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Encoder wrapper module") );
+ set_description( _("Encoder wrapper") );
set_capability( "video output", 0 );
set_callbacks( Create, Destroy );
add_shortcut( "encoder" );
* fb.c : framebuffer plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: fb.c,v 1.4 2003/03/30 14:24:20 gbazin Exp $
+ * $Id: fb.c,v 1.5 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
vlc_module_begin();
add_category_hint( N_("Frame Buffer"), NULL, VLC_FALSE );
add_file( FB_DEV_VAR, "/dev/fb0", NULL, N_("framebuffer device"), NULL, VLC_FALSE );
- set_description( _("Linux console framebuffer module") );
+ set_description( _("Linux console framebuffer video output") );
set_capability( "video output", 30 );
set_callbacks( Create, Destroy );
vlc_module_end();
* glide.c : 3dfx Glide plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: glide.c,v 1.1 2002/08/13 11:59:36 sam Exp $
+ * $Id: glide.c,v 1.2 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("3dfx Glide module") );
+ set_description( _("3dfx Glide video output") );
set_capability( "video output", 20 );
add_shortcut( "3dfx" );
set_callbacks( Create, Destroy );
* mga.c : Matrox Graphic Array plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: mga.c,v 1.1 2002/08/04 17:23:43 sam Exp $
+ * $Id: mga.c,v 1.2 2003/03/30 18:14:39 gbazin Exp $
*
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Samuel Hocevar <sam@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Matrox Graphic Array video module") );
+ set_description( _("Matrox Graphic Array video output") );
set_capability( "video output", 10 );
set_callbacks( Create, Destroy );
vlc_module_end();
* xmga.c : X11 MGA plugin for vlc
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: xmga.c,v 1.3 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: xmga.c,v 1.4 2003/03/30 18:14:39 gbazin Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
add_category_hint( N_("Miscellaneous"), NULL, VLC_TRUE );
add_string( "xmga-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE );
add_bool( "xmga-altfullscreen", 0, NULL, ALT_FS_TEXT, ALT_FS_LONGTEXT, VLC_TRUE );
- set_description( _("X11 MGA module") );
+ set_description( _("X11 MGA video output") );
set_capability( "video output", 60 );
set_callbacks( Create, Destroy );
vlc_module_end();
* qte.cpp : QT Embedded plugin for vlc
*****************************************************************************
* Copyright (C) 1998-2003 VideoLAN
- * $Id: qte.cpp,v 1.16 2003/03/17 18:02:10 sam Exp $
+ * $Id: qte.cpp,v 1.17 2003/03/30 18:14:39 gbazin Exp $
*
* Authors: Gerald Hansink <gerald.hansink@ordain.nl>
* Jean-Paul Saman <jpsaman@wxs.nl>
vlc_module_begin();
// add_category_hint( N_("QT Embedded"), NULL );
// add_string( "qte-display", "landscape", NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT);
- set_description( _("QT Embedded video module") );
+ set_description( _("QT Embedded video output") );
set_capability( "video output", 70 );
add_shortcut( "qte" );
set_callbacks( Open, Close);
* sdl.c: SDL video output display method
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: sdl.c,v 1.10 2003/03/17 17:11:32 sam Exp $
+ * $Id: sdl.c,v 1.11 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Pierre Baillet <oct@zoy.org>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Simple DirectMedia Layer video module") );
+ set_description( _("Simple DirectMedia Layer video output") );
set_capability( "video output", 60 );
add_shortcut( "sdl" );
set_callbacks( Open, Close );
* svgalib.c : SVGAlib plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: svgalib.c,v 1.2 2002/08/21 17:31:58 sam Exp $
+ * $Id: svgalib.c,v 1.3 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("SVGAlib module") );
+ set_description( _("SVGAlib video output") );
set_capability( "video output", 0 );
set_callbacks( Create, Destroy );
linked_with_a_crap_library_which_uses_atexit();
* wingdi.c : Win32 / WinCE GDI video output plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: wingdi.c,v 1.5 2003/01/15 13:16:39 sam Exp $
+ * $Id: wingdi.c,v 1.6 2003/03/30 18:14:38 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("Windows GDI video output module") );
+ set_description( _("Windows GDI video output") );
set_capability( "video output", 10 );
set_callbacks( OpenVideo, CloseVideo );
vlc_module_end();
* x11.c : X11 plugin for vlc
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: x11.c,v 1.5 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: x11.c,v 1.6 2003/03/30 18:14:39 gbazin Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
#ifdef HAVE_SYS_SHM_H
add_bool( "x11-shm", 1, NULL, SHM_TEXT, SHM_LONGTEXT, VLC_TRUE );
#endif
- set_description( _("X11 module") );
+ set_description( _("X11 video output") );
set_capability( "video output", 50 );
set_callbacks( E_(Activate), E_(Deactivate) );
vlc_module_end();
* xvideo.c : Xvideo plugin for vlc
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: xvideo.c,v 1.5 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: xvideo.c,v 1.6 2003/03/30 18:14:39 gbazin Exp $
*
* Authors: Shane Harper <shanegh@optusnet.com.au>
* Vincent Seguin <seguin@via.ecp.fr>
#ifdef HAVE_SYS_SHM_H
add_bool( "xvideo-shm", 1, NULL, SHM_TEXT, SHM_LONGTEXT, VLC_TRUE );
#endif
- set_description( _("XVideo extension module") );
+ set_description( _("XVideo extension video output") );
set_capability( "video output", 150 );
set_callbacks( E_(Activate), E_(Deactivate) );
vlc_module_end();
* xosd.c : X On Screen Display interface
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: xosd.c,v 1.8 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: xosd.c,v 1.9 2003/03/30 18:14:39 gbazin Exp $
*
* Authors: Loïc Minier <lool@videolan.org>
*
SHD_OFS_TEXT, SHD_OFS_LONGTEXT, VLC_TRUE );
add_string( "xosd-font", "-misc-fixed-medium-r-*-*-*-300-*-*-*-*-*-*",
NULL, FONT_TEXT, FONT_LONGTEXT, VLC_TRUE );
- set_description( _("xosd interface module") );
+ set_description( _("xosd interface") );
set_capability( "interface", i );
set_callbacks( Open, Close );
vlc_module_end();