r370: Heroine Virutal's official release 1.2.1
[cinelerra_cv/mob.git] / hvirtual / cinelerra / file.inc
blobd9924ce0c13163bdad7420fe0cf977e624f63bfd
1 #ifndef FILE_INC
2 #define FILE_INC
4 #include "language.h"
6 // Return values for open_file
7 #define FILE_OK 0
8 #define FILE_NOT_FOUND 1
9 #define FILE_UNRECOGNIZED_CODEC 2
10 #define FILE_IS_XML 3
12 #define FILE_UNKNOWN                    0
13 #define FILE_AIFF                       10
14 #define FILE_AMPEG                      16    // For encoding only
15 #define FILE_AC3                25    // AC3 encoding
16 #define FILE_AU                         9
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
22 #define FILE_GIF                        7
23 #define FILE_JPEG                       5
24 #define FILE_JPEG_LIST                  8
25 #define FILE_MOV                        3
26 #define FILE_MPEG                       15    // Libmpeg3 decoding only
27 #define FILE_PCM                        1
28 #define FILE_PLUGIN                     0x8000
29 #define FILE_PNG                        4
30 #define FILE_PNG_LIST                   23
31 #define FILE_SND                        11
32 #define FILE_TGA                        14
33 #define FILE_TGA_LIST                   13
34 #define FILE_TIFF                       6
35 #define FILE_TIFF_LIST                  22
36 #define FILE_VMPEG                      17    // For encoding only
37 #define FILE_VORBIS                     18
38 #define FILE_WAV                        2
39 #define FILE_EXR                26
40 #define FILE_EXR_LIST           27
42 // For formats supported by plugins, the format number is the plugin number in the 
43 // plugin list ORed with 0x8000.
45 #if 0
46 N_("AC3")
47 N_("Apple/SGI AIFF")
48 N_("MPEG Audio")    // For encoding only
49 N_("Sun/NeXT AU")
50 N_("Microsoft AVI")
51 N_("Microsoft WAV")
52 N_("AVI Arne Type 1")
53 N_("AVI DV Type 2")
54 N_("AVI Avifile")
55 N_("AVI Lavtools")
56 N_("JPEG Sequence")
57 N_("JPEG")
58 N_("Quicktime for Linux")
59 N_("MPEG")          // For decoding only
60 N_("Raw PCM")
61 N_("PNG Sequence")
62 N_("PNG")
63 N_("Unknown sound")
64 N_("TGA Sequence")
65 N_("TGA")
66 N_("TIFF")
67 N_("TIFF Sequence")
68 N_("MPEG Video")    // For encoding only
69 N_("OGG Vorbis")
70 N_("EXR")
71 N_("EXR List")
72 #endif
74 #define AC3_NAME "AC3"
75 #define AIFF_NAME "Apple/SGI AIFF"
76 #define AMPEG_NAME "MPEG Audio"    // For encoding only
77 #define AU_NAME "Sun/NeXT AU"
78 #define AVI_NAME "Microsoft AVI"
79 #define WAV_NAME "Microsoft WAV"
80 #define AVI_ARNE1_NAME "AVI Arne Type 1"
81 #define AVI_ARNE2_NAME "AVI DV Type 2"
82 #define AVI_AVIFILE_NAME "AVI Avifile"
83 #define AVI_LAVTOOLS_NAME "AVI Lavtools"
84 #define JPEG_LIST_NAME "JPEG Sequence"
85 #define JPEG_NAME "JPEG"
86 #define MOV_NAME "Quicktime for Linux"
87 #define MPEG_NAME "MPEG"           // For decoding only
88 #define PCM_NAME "Raw PCM"
89 #define PNG_LIST_NAME "PNG Sequence"
90 #define PNG_NAME "PNG"
91 #define SND_NAME "Unknown sound"
92 #define TGA_LIST_NAME "TGA Sequence"
93 #define TGA_NAME "TGA"
94 #define TIFF_NAME "TIFF"
95 #define TIFF_LIST_NAME "TIFF Sequence"
96 #define VMPEG_NAME "MPEG Video"    // For encoding only
97 #define VORBIS_NAME "OGG Vorbis"
98 #define EXR_NAME "EXR"
99 #define EXR_LIST_NAME "EXR List"
101 #define BITSLINEAR8    8
102 #define BITSLINEAR16   16
103 #define BITSLINEAR24   24
104 #define BITSLINEAR32   32
105 #define BITS_ADPCM     252
106 #define BITSFLOAT      253
107 #define BITSULAW       254
108 #define BITSIMA4       255
110 #if 0
111 N_("8 Bit Linear")
112 N_("16 Bit Linear")
113 N_("24 Bit Linear")
114 N_("32 Bit Linear")
115 N_("u Law")
116 N_("IMA 4")
117 N_("ADPCM")
118 N_("Float")
120 // Video formats not part of Quicktime
121 N_("RGB ALPHA")
122 N_("PNG ALPHA")
123 #endif
125 #define NAME_8BIT "8 Bit Linear"
126 #define NAME_16BIT "16 Bit Linear"
127 #define NAME_24BIT "24 Bit Linear"
128 #define NAME_32BIT "32 Bit Linear"
129 #define NAME_ULAW "u Law"
130 #define NAME_IMA4 "IMA 4"
131 #define NAME_ADPCM "ADPCM"
132 #define NAME_FLOAT "Float"
134 // Video formats not part of Quicktime
135 #define MOV_RGBA "RGB ALPHA"
136 #define MOV_PNGA "PNG ALPHA"
139 class File;
141 #endif