Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

streamdata.h

00001 /*****************************************************************************
00002  * streamdata.h: streaming/transcoding data
00003  *****************************************************************************
00004  * Copyright (C) 2000-2005 the VideoLAN team
00005  * $Id: wizard.cpp 7826 2004-05-30 14:43:12Z zorglub $
00006  *
00007  * Authors: Clément Stenac <[email protected]>
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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
00022  *****************************************************************************/
00023 
00024 
00025 #define MUXERS_NUMBER 9
00026 
00027 // Do not count dummy here !
00028 #define VCODECS_NUMBER 12
00029 #define ACODECS_NUMBER 9
00030 
00031 #define MUX_PS          0
00032 #define MUX_TS          1
00033 #define MUX_MPEG        2
00034 #define MUX_OGG         3
00035 #define MUX_RAW         4
00036 #define MUX_ASF         5
00037 #define MUX_AVI         6
00038 #define MUX_MP4         7
00039 #define MUX_MOV         8
00040 #define MUX_WAV         9
00041 
00042 /* Muxer / Codecs / Access_out compatibility tables */
00043 
00044 
00045 struct codec {
00046     char *psz_display;
00047     char *psz_codec;
00048     char *psz_descr;
00049     int muxers[MUXERS_NUMBER];
00050 };
00051 
00052 extern const struct codec vcodecs_array[];
00053 extern const struct codec acodecs_array[];
00054 
00055 
00056 struct method {
00057     char *psz_access;
00058     char *psz_method;
00059     char *psz_descr;
00060     char *psz_address;
00061     int   muxers[MUXERS_NUMBER];
00062 };
00063 
00064 extern const struct method methods_array[];
00065 
00066 
00067 struct encap {
00068     int   id;
00069     char *psz_mux;
00070     char *psz_encap;
00071     char *psz_descr;
00072 };
00073 
00074 extern const struct encap encaps_array[];
00075 
00076 
00077 /* Bitrates arrays */
00078 static const wxString vbitrates_array[] =
00079 {
00080     wxT("3072"),
00081     wxT("2048"),
00082     wxT("1024"),
00083     wxT("768"),
00084     wxT("512"),
00085     wxT("384"),
00086     wxT("256"),
00087     wxT("192"),
00088     wxT("128"),
00089     wxT("96"),
00090     wxT("64"),
00091     wxT("32"),
00092     wxT("16")
00093 };
00094 
00095 static const wxString abitrates_array[] =
00096 {
00097     wxT("512"),
00098     wxT("256"),
00099     wxT("192"),
00100     wxT("128"),
00101     wxT("96"),
00102     wxT("64"),
00103     wxT("32"),
00104     wxT("16")
00105 };

Generated on Tue Dec 20 10:14:47 2005 for vlc-0.8.4a by  doxygen 1.4.2