streamdata.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * streamdata.h: streaming/transcoding data
00003  *****************************************************************************
00004  * Copyright (C) 2000-2005 the VideoLAN team
00005  * $Id$
00006  *
00007  * Authors: Clément Stenac <zorglub@videolan.org>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00022  *****************************************************************************/
00023 
00024 
00025 #define MUXERS_NUMBER 9
00026 
00027 // Do not count dummy here !
00028 #ifdef WIN32
00029 #define VCODECS_NUMBER 13
00030 #else
00031 #define VCODECS_NUMBER 12
00032 #endif
00033 
00034 #define ACODECS_NUMBER 9
00035 
00036 #define MUX_PS          0
00037 #define MUX_TS          1
00038 #define MUX_MPEG        2
00039 #define MUX_OGG         3
00040 #define MUX_RAW         4
00041 #define MUX_ASF         5
00042 #define MUX_AVI         6
00043 #define MUX_MP4         7
00044 #define MUX_MOV         8
00045 #define MUX_WAV         9
00046 
00047 /* Muxer / Codecs / Access_out compatibility tables */
00048 
00049 
00050 struct codec {
00051     char *psz_display;
00052     char *psz_codec;
00053     char *psz_descr;
00054     int muxers[MUXERS_NUMBER];
00055 };
00056 
00057 extern const struct codec vcodecs_array[];
00058 extern const struct codec acodecs_array[];
00059 
00060 
00061 struct method {
00062     char *psz_access;
00063     char *psz_method;
00064     char *psz_descr;
00065     char *psz_address;
00066     int   muxers[MUXERS_NUMBER];
00067 };
00068 
00069 extern const struct method methods_array[];
00070 
00071 
00072 struct encap {
00073     int   id;
00074     char *psz_mux;
00075     char *psz_encap;
00076     char *psz_descr;
00077 };
00078 
00079 extern const struct encap encaps_array[];
00080 
00081 
00082 /* Bitrates arrays */
00083 static const wxString vbitrates_array[] =
00084 {
00085     wxT("3072"),
00086     wxT("2048"),
00087     wxT("1024"),
00088     wxT("768"),
00089     wxT("512"),
00090     wxT("384"),
00091     wxT("256"),
00092     wxT("192"),
00093     wxT("128"),
00094     wxT("96"),
00095     wxT("64"),
00096     wxT("32"),
00097     wxT("16")
00098 };
00099 
00100 static const wxString abitrates_array[] =
00101 {
00102     wxT("512"),
00103     wxT("256"),
00104     wxT("192"),
00105     wxT("128"),
00106     wxT("96"),
00107     wxT("64"),
00108     wxT("32"),
00109     wxT("16")
00110 };

Generated on Wed Aug 13 08:02:38 2008 for VLC by  doxygen 1.5.1