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 // Libmpeg3 decoding and transport stream capture only
29 #define FILE_PLUGIN 0x8000
31 #define FILE_PNG_LIST 23
34 #define FILE_TGA_LIST 13
36 #define FILE_TIFF_LIST 22
37 #define FILE_VMPEG 17 // For encoding only
41 #define FILE_EXR_LIST 27
43 #define FILE_YUV 29 // mjpegtools YUV4MPEG (aka YUV4MPEG2)
44 #define FILE_VORBIS 31
47 // For formats supported by plugins, the format number is the plugin number in the
48 // plugin list ORed with 0x8000.
50 #define FILE_FORMAT_PREFIX(format) ( \
51 format == FILE_AIFF ? "AIFF" : \
52 format == FILE_AMPEG ? "MPEG" : \
53 format == FILE_AC3 ? "AC3" : \
54 format == FILE_AU ? "AU" : \
55 format == FILE_AVI_ARNE1 ? "AVI_ARNE1" : \
56 format == FILE_AVI ? "AVI" : \
57 format == FILE_AVI_ARNE2 ? "AVI_ARNE2" : \
58 format == FILE_AVI_AVIFILE ? "AVIFILE" : \
59 format == FILE_AVI_LAVTOOLS ? "AVI_LAVTOOLS" : \
60 format == FILE_GIF ? "GIF" : \
61 format == FILE_JPEG ? "JPEG" : \
62 format == FILE_JPEG_LIST ? "JPEG_LIST" : \
63 format == FILE_MOV ? "MOV" : \
64 format == FILE_MPEG ? "MPEG" : \
65 format == FILE_PCM ? "PCM" : \
66 format == FILE_PLUGIN ? "PLUGIN" : \
67 format == FILE_PNG ? "PNG" : \
68 format == FILE_PNG_LIST ? "PNG_LIST" : \
69 format == FILE_SND ? "SND" : \
70 format == FILE_TGA ? "TGA" : \
71 format == FILE_TGA_LIST ? "TGA_LIST" : \
72 format == FILE_TIFF ? "TIFF" : \
73 format == FILE_TIFF_LIST ? "TIFF_LIST" : \
74 format == FILE_VMPEG ? "VMPEG" : \
75 format == FILE_VORBIS ? "VORBIS" : \
76 format == FILE_WAV ? "WAV" : \
77 format == FILE_EXR ? "EXR" : \
78 format == FILE_EXR_LIST ? "EXR_LIST" : \
79 format == FILE_RAWDV ? "RAWDV" : \
80 format == FILE_OGG ? "OGG" : \
81 format == FILE_YUV ? "YUV" : \
87 N_("MPEG Audio") // For encoding only
98 N_("Quicktime for Linux")
99 N_("MPEG") // For decoding only
108 N_("MPEG Video") // For encoding only
109 N_("OGG Theora/Vorbis")
110 N_("OGG Vorbis") // For decoding only
113 N_("OGG Theora/Vorbis")
116 #define AC3_NAME "AC3"
117 #define AIFF_NAME "Apple/SGI AIFF"
118 #define AMPEG_NAME "MPEG Audio" // For encoding only
119 #define AU_NAME "Sun/NeXT AU"
120 #define AVI_NAME "Microsoft AVI"
121 #define WAV_NAME "Microsoft WAV"
122 #define AVI_ARNE1_NAME "AVI Arne Type 1"
123 #define AVI_ARNE2_NAME "AVI DV Type 2"
124 #define AVI_AVIFILE_NAME "AVI Avifile"
125 #define AVI_LAVTOOLS_NAME "AVI Lavtools"
126 #define RAWDV_NAME "Raw DV"
127 #define OGG_NAME "OGG Theora/Vorbis"
128 #define JPEG_LIST_NAME "JPEG Sequence"
129 #define JPEG_NAME "JPEG"
130 #define MOV_NAME "Quicktime for Linux"
131 #define MPEG_NAME "MPEG" // For decoding only
132 #define OGG_NAME "OGG Theora/Vorbis"
133 #define VORBIS_NAME "OGG Vorbis"
134 #define PCM_NAME "Raw PCM"
135 #define PNG_LIST_NAME "PNG Sequence"
136 #define PNG_NAME "PNG"
137 #define SND_NAME "Unknown sound"
138 #define TGA_LIST_NAME "TGA Sequence"
139 #define TGA_NAME "TGA"
140 #define TIFF_NAME "TIFF"
141 #define TIFF_LIST_NAME "TIFF Sequence"
142 #define VMPEG_NAME "MPEG Video" // For encoding only
143 #define EXR_NAME "EXR"
144 #define CR2_NAME "Raw Camera"
145 #define EXR_LIST_NAME "EXR Sequence"
146 #define YUV_NAME "YUV4MPEG Stream"
149 #define BITSLINEAR8 8
150 #define BITSLINEAR16 16
151 #define BITSLINEAR24 24
152 #define BITSLINEAR32 32
153 #define BITS_ADPCM 252
154 #define BITSFLOAT 253
168 // Video formats not part of Quicktime
173 #define NAME_8BIT "8 Bit Linear"
174 #define NAME_16BIT "16 Bit Linear"
175 #define NAME_24BIT "24 Bit Linear"
176 #define NAME_32BIT "32 Bit Linear"
177 #define NAME_ULAW "u Law"
178 #define NAME_IMA4 "IMA 4"
179 #define NAME_ADPCM "ADPCM"
180 #define NAME_FLOAT "Float"
182 // Video formats not part of Quicktime
183 #define MOV_RGBA "RGB ALPHA"
184 #define MOV_PNGA "PNG ALPHA"