Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

file.inc

Go to the documentation of this file.
00001 #ifndef FILE_INC
00002 #define FILE_INC
00003 
00004 #include "language.h"
00005 
00006 // Return values for open_file
00007 #define FILE_OK 0
00008 #define FILE_NOT_FOUND 1
00009 #define FILE_UNRECOGNIZED_CODEC 2
00010 #define FILE_IS_XML 3
00011 
00012 #define FILE_UNKNOWN                    0
00013 #define FILE_AIFF                       10
00014 #define FILE_AMPEG                      16    // For encoding only
00015 #define FILE_AC3                25    // AC3 encoding
00016 #define FILE_AU                         9
00017 #define FILE_AVI_ARNE1          20    // DV type 1
00018 #define FILE_AVI                24    // Heroine Virtual
00019 #define FILE_AVI_ARNE2          19    // DV type 2
00020 #define FILE_AVI_AVIFILE        21
00021 #define FILE_AVI_LAVTOOLS       12    // MJPEG type 1
00022 #define FILE_GIF                        7
00023 #define FILE_JPEG                       5
00024 #define FILE_JPEG_LIST                  8
00025 #define FILE_MOV                        3
00026 #define FILE_MPEG                       15    // Libmpeg3 decoding only
00027 #define FILE_PCM                        1
00028 #define FILE_PLUGIN                     0x8000
00029 #define FILE_PNG                        4
00030 #define FILE_PNG_LIST                   23
00031 #define FILE_SND                        11
00032 #define FILE_TGA                        14
00033 #define FILE_TGA_LIST                   13
00034 #define FILE_TIFF                       6
00035 #define FILE_TIFF_LIST                  22
00036 #define FILE_VMPEG                      17    // For encoding only
00037 #define FILE_OGG                        30
00038 #define FILE_WAV                        2
00039 #define FILE_EXR                26
00040 #define FILE_EXR_LIST           27
00041 #define FILE_CR2                28
00042 #define FILE_YUV                29      // mjpegtools YUV4MPEG (aka YUV4MPEG2)
00043 #define FILE_VORBIS             31
00044 #define FILE_RAWDV              32
00045 
00046 // For formats supported by plugins, the format number is the plugin number in the 
00047 // plugin list ORed with 0x8000.
00048 
00049 #define FILE_FORMAT_PREFIX(format) ( \
00050         format == FILE_AIFF    ? "AIFF" :               \
00051         format == FILE_AMPEG   ? "MPEG" :               \
00052         format == FILE_AC3     ? "AC3" :                \
00053         format == FILE_AU      ? "AU" :                 \
00054         format == FILE_AVI_ARNE1 ? "AVI_ARNE1" :        \
00055         format == FILE_AVI     ? "AVI" :                \
00056         format == FILE_AVI_ARNE2 ? "AVI_ARNE2" :        \
00057         format == FILE_AVI_AVIFILE ? "AVIFILE" :        \
00058         format == FILE_AVI_LAVTOOLS ? "AVI_LAVTOOLS" :  \
00059         format == FILE_GIF     ? "GIF" :                \
00060         format == FILE_JPEG    ? "JPEG" :               \
00061         format == FILE_JPEG_LIST ? "JPEG_LIST" :        \
00062         format == FILE_MOV     ? "MOV" :                \
00063         format == FILE_MPEG    ? "MPEG" :               \
00064         format == FILE_PCM     ? "PCM" :                \
00065         format == FILE_PLUGIN  ? "PLUGIN" :             \
00066         format == FILE_PNG     ? "PNG" :                \
00067         format == FILE_PNG_LIST ? "PNG_LIST" :          \
00068         format == FILE_SND     ? "SND" :                \
00069         format == FILE_TGA     ? "TGA" :                \
00070         format == FILE_TGA_LIST ? "TGA_LIST" :          \
00071         format == FILE_TIFF    ? "TIFF" :               \
00072         format == FILE_TIFF_LIST ? "TIFF_LIST" :        \
00073         format == FILE_VMPEG   ? "VMPEG" :              \
00074         format == FILE_VORBIS  ? "VORBIS" :             \
00075         format == FILE_WAV     ? "WAV" :                \
00076         format == FILE_EXR     ? "EXR" :                \
00077         format == FILE_EXR_LIST ? "EXR_LIST" :          \
00078         format == FILE_RAWDV   ? "RAWDV" :              \
00079         format == FILE_OGG     ? "OGG" :                \
00080         format == FILE_YUV     ? "YUV" :                \
00081         "UNKNOWN")
00082 
00083 #if 0
00084 N_("AC3")
00085 N_("Apple/SGI AIFF")
00086 N_("MPEG Audio")    // For encoding only
00087 N_("Sun/NeXT AU")
00088 N_("Microsoft AVI")
00089 N_("Microsoft WAV")
00090 N_("AVI Arne Type 1")
00091 N_("AVI DV Type 2")
00092 N_("AVI Avifile")
00093 N_("AVI Lavtools")
00094 N_("Raw DV")
00095 N_("JPEG Sequence")
00096 N_("JPEG")
00097 N_("Quicktime for Linux")
00098 N_("MPEG")          // For decoding only
00099 N_("Raw PCM")
00100 N_("PNG Sequence")
00101 N_("PNG")
00102 N_("Unknown sound")
00103 N_("TGA Sequence")
00104 N_("TGA")
00105 N_("TIFF")
00106 N_("TIFF Sequence")
00107 N_("MPEG Video")    // For encoding only
00108 N_("OGG Theora/Vorbis")
00109 N_("OGG Vorbis")    // For decoding only
00110 N_("EXR")
00111 N_("EXR Sequence")
00112 N_("OGG Theora/Vorbis")
00113 #endif
00114 
00115 #define AC3_NAME "AC3"
00116 #define AIFF_NAME "Apple/SGI AIFF"
00117 #define AMPEG_NAME "MPEG Audio"    // For encoding only
00118 #define AU_NAME "Sun/NeXT AU"
00119 #define AVI_NAME "Microsoft AVI"
00120 #define WAV_NAME "Microsoft WAV"
00121 #define AVI_ARNE1_NAME "AVI Arne Type 1"
00122 #define AVI_ARNE2_NAME "AVI DV Type 2"
00123 #define AVI_AVIFILE_NAME "AVI Avifile"
00124 #define AVI_LAVTOOLS_NAME "AVI Lavtools"
00125 #define RAWDV_NAME "Raw DV"
00126 #define OGG_NAME "OGG Theora/Vorbis"
00127 #define JPEG_LIST_NAME "JPEG Sequence"
00128 #define JPEG_NAME "JPEG"
00129 #define MOV_NAME "Quicktime for Linux"
00130 #define MPEG_NAME "MPEG"           // For decoding only
00131 #define OGG_NAME "OGG Theora/Vorbis"
00132 #define VORBIS_NAME "OGG Vorbis"
00133 #define PCM_NAME "Raw PCM"
00134 #define PNG_LIST_NAME "PNG Sequence"
00135 #define PNG_NAME "PNG"
00136 #define SND_NAME "Unknown sound"
00137 #define TGA_LIST_NAME "TGA Sequence"
00138 #define TGA_NAME "TGA"
00139 #define TIFF_NAME "TIFF"
00140 #define TIFF_LIST_NAME "TIFF Sequence"
00141 #define VMPEG_NAME "MPEG Video"    // For encoding only
00142 #define EXR_NAME "EXR"
00143 #define CR2_NAME "Raw Camera"
00144 #define EXR_LIST_NAME "EXR Sequence"
00145 #define YUV_NAME "YUV4MPEG Stream"
00146 
00147 
00148 #define BITSLINEAR8    8
00149 #define BITSLINEAR16   16
00150 #define BITSLINEAR24   24
00151 #define BITSLINEAR32   32
00152 #define BITS_ADPCM     252
00153 #define BITSFLOAT      253
00154 #define BITSULAW       254
00155 #define BITSIMA4       255
00156 
00157 #if 0
00158 N_("8 Bit Linear")
00159 N_("16 Bit Linear")
00160 N_("24 Bit Linear")
00161 N_("32 Bit Linear")
00162 N_("u Law")
00163 N_("IMA 4")
00164 N_("ADPCM")
00165 N_("Float")
00166 
00167 // Video formats not part of Quicktime
00168 N_("RGB ALPHA")
00169 N_("PNG ALPHA")
00170 #endif
00171 
00172 #define NAME_8BIT "8 Bit Linear"
00173 #define NAME_16BIT "16 Bit Linear"
00174 #define NAME_24BIT "24 Bit Linear"
00175 #define NAME_32BIT "32 Bit Linear"
00176 #define NAME_ULAW "u Law"
00177 #define NAME_IMA4 "IMA 4"
00178 #define NAME_ADPCM "ADPCM"
00179 #define NAME_FLOAT "Float"
00180 
00181 // Video formats not part of Quicktime
00182 #define MOV_RGBA "RGB ALPHA"
00183 #define MOV_PNGA "PNG ALPHA"
00184 
00185 
00186 class File;
00187 
00188 #endif

Generated on Sun Jan 8 13:38:54 2006 for Cinelerra-svn by  doxygen 1.4.4