6 // Return values for open_file
8 #define FILE_NOT_FOUND 1
9 #define FILE_UNRECOGNIZED_CODEC 2
12 #define FILE_UNKNOWN 0
14 #define FILE_AMPEG 16 // For encoding only
15 #define FILE_AC3 25 // AC3 encoding
17 #define FILE_AVI_ARNE1 20 // DV type 1
18 #define FILE_AVI 24 // Heroine Virtual
19 #define FILE_AVI_ARNE2 19 // DV type 2
20 #define FILE_AVI_AVIFILE 21
21 #define FILE_AVI_LAVTOOLS 12 // MJPEG type 1
24 #define FILE_JPEG_LIST 8
26 #define FILE_MPEG 15 // Libmpeg3 decoding only
28 #define FILE_PLUGIN 0x8000
30 #define FILE_PNG_LIST 23
33 #define FILE_TGA_LIST 13
35 #define FILE_TIFF_LIST 22
36 #define FILE_VMPEG 17 // For encoding only
37 #define FILE_VORBIS 18
40 #define FILE_EXR_LIST 27
42 #define FILE_YUV 29 // mjpegtools YUV4MPEG (aka YUV4MPEG2)
45 // For formats supported by plugins, the format number is the plugin number in the
46 // plugin list ORed with 0x8000.
48 #define FILE_FORMAT_PREFIX(format) ( \
49 format == FILE_AIFF ? "AIFF" : \
50 format == FILE_AMPEG ? "MPEG" : \
51 format == FILE_AC3 ? "AC3" : \
52 format == FILE_AU ? "AU" : \
53 format == FILE_AVI_ARNE1 ? "AVI_ARNE1" : \
54 format == FILE_AVI ? "AVI" : \
55 format == FILE_AVI_ARNE2 ? "AVI_ARNE2" : \
56 format == FILE_AVI_AVIFILE ? "AVIFILE" : \
57 format == FILE_AVI_LAVTOOLS ? "AVI_LAVTOOLS" : \
58 format == FILE_GIF ? "GIF" : \
59 format == FILE_JPEG ? "JPEG" : \
60 format == FILE_JPEG_LIST ? "JPEG_LIST" : \
61 format == FILE_MOV ? "MOV" : \
62 format == FILE_MPEG ? "MPEG" : \
63 format == FILE_PCM ? "PCM" : \
64 format == FILE_PLUGIN ? "PLUGIN" : \
65 format == FILE_PNG ? "PNG" : \
66 format == FILE_PNG_LIST ? "PNG_LIST" : \
67 format == FILE_SND ? "SND" : \
68 format == FILE_TGA ? "TGA" : \
69 format == FILE_TGA_LIST ? "TGA_LIST" : \
70 format == FILE_TIFF ? "TIFF" : \
71 format == FILE_TIFF_LIST ? "TIFF_LIST" : \
72 format == FILE_VMPEG ? "VMPEG" : \
73 format == FILE_VORBIS ? "VORBIS" : \
74 format == FILE_WAV ? "WAV" : \
75 format == FILE_EXR ? "EXR" : \
76 format == FILE_EXR_LIST ? "EXR_LIST" : \
77 format == FILE_RAWDV ? "RAWDV" : \
78 format == FILE_OGG ? "OGG" : \
79 format == FILE_YUV ? "YUV" : \
85 N_("MPEG Audio") // For encoding only
96 N_("Quicktime for Linux")
97 N_("MPEG") // For decoding only
106 N_("MPEG Video") // For encoding only
110 N_("OGG Theora/Vorbis")
113 #define AC3_NAME "AC3"
114 #define AIFF_NAME "Apple/SGI AIFF"
115 #define AMPEG_NAME "MPEG Audio" // For encoding only
116 #define AU_NAME "Sun/NeXT AU"
117 #define AVI_NAME "Microsoft AVI"
118 #define WAV_NAME "Microsoft WAV"
119 #define AVI_ARNE1_NAME "AVI Arne Type 1"
120 #define AVI_ARNE2_NAME "AVI DV Type 2"
121 #define AVI_AVIFILE_NAME "AVI Avifile"
122 #define AVI_LAVTOOLS_NAME "AVI Lavtools"
123 #define RAWDV_NAME "Raw DV"
124 #define OGG_NAME "OGG Theora/Vorbis"
125 #define JPEG_LIST_NAME "JPEG Sequence"
126 #define JPEG_NAME "JPEG"
127 #define MOV_NAME "Quicktime for Linux"
128 #define MPEG_NAME "MPEG" // For decoding only
129 #define PCM_NAME "Raw PCM"
130 #define PNG_LIST_NAME "PNG Sequence"
131 #define PNG_NAME "PNG"
132 #define SND_NAME "Unknown sound"
133 #define TGA_LIST_NAME "TGA Sequence"
134 #define TGA_NAME "TGA"
135 #define TIFF_NAME "TIFF"
136 #define TIFF_LIST_NAME "TIFF Sequence"
137 #define VMPEG_NAME "MPEG Video" // For encoding only
138 #define VORBIS_NAME "OGG Vorbis"
139 #define EXR_NAME "EXR"
140 #define EXR_LIST_NAME "EXR Sequence"
141 #define YUV_NAME "YUV4MPEG Stream"
144 #define BITSLINEAR8 8
145 #define BITSLINEAR16 16
146 #define BITSLINEAR24 24
147 #define BITSLINEAR32 32
148 #define BITS_ADPCM 252
149 #define BITSFLOAT 253
163 // Video formats not part of Quicktime
168 #define NAME_8BIT "8 Bit Linear"
169 #define NAME_16BIT "16 Bit Linear"
170 #define NAME_24BIT "24 Bit Linear"
171 #define NAME_32BIT "32 Bit Linear"
172 #define NAME_ULAW "u Law"
173 #define NAME_IMA4 "IMA 4"
174 #define NAME_ADPCM "ADPCM"
175 #define NAME_FLOAT "Float"
177 // Video formats not part of Quicktime
178 #define MOV_RGBA "RGB ALPHA"
179 #define MOV_PNGA "PNG ALPHA"