annotate loader/dshow/libwin32.h @ 3813:41635de06d98

updated
author gabucino
date Thu, 27 Dec 2001 23:37:23 +0000
parents 004e3199fee0
children 1baa35e06053
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
1 #ifndef __LIBWIN32_H
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
2 #define __LIBWIN32_H
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
3
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
4 #ifndef NOAVIFILE_HEADERS
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
5 #error this header file should not be used without -DNOAVIFILE_HEADERS
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
6 #endif
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
7
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
8 // this file is only included when NOAVIFILE_HEADERS are defined
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
9 // serves mainly for mplayer
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
10
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
11 #define VFW_E_NOT_RUNNING 0x80040226
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
12
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
13 #include <inttypes.h>
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
14
1558
261f5fd2c909 error handling
arpi
parents: 1555
diff changeset
15 //#define FATAL(a) // you don't need exception - if you want - just fill more code
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
16 #include "wine/mmreg.h"
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
17 #include "wine/winreg.h"
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
18 #include "wine/vfw.h"
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
19 #include "com.h"
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
20
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
21 typedef uint32_t fourcc_t;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
22
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
23 /*
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
24 typedef struct _FatalError
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
25 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
26 FatalError();
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
27 void PrintAll() {}
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
28 }FatalError;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
29 */
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
30
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
31 typedef struct _CodecInfo
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
32 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
33 char* dll;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
34 GUID* guid;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
35 }CodecInfo;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
36
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
37
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
38 typedef struct _CImage // public your_libvo_mem
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
39 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
40 char* ptr;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
41
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
42 /*char* (*Data)();
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
43 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
44 return 0;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
45 // pointer to memory block
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
46 }*/
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
47 /*int (*Supported)(fourcc_t csp, int bits);
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
48 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
49 return true;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
50 // if you support such surface
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
51 }*/
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
52 }CImage;
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1558
diff changeset
53
1558
261f5fd2c909 error handling
arpi
parents: 1555
diff changeset
54
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
55 #if 0
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
56 struct BitmapInfo : public BITMAPINFOHEADER
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
57 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
58 void SetBits(int b) { return; /*fixme*/ }
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
59 void SetSpace(int b) { return; /*fixme*/ }
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
60 };
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
61 #endif
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
62
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
63 typedef struct _IAudioDecoder
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
64 {
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
65 WAVEFORMATEX in_fmt;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
66 CodecInfo record;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
67 /*(*IAudioDecoder)( CodecInfo * r, const WAVEFORMATEX* w);
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
68 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
69 memcpy(&this->record,r,sizeof(CodecInfo));
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
70 in_fmt = *w;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
71 }*/
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
72 }IAudioDecoder;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
73
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
74 /*
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
75 struct IAudioEncoder
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
76 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
77 IAudioEncoder(const CodecInfo&, WAVEFORMATEX*) {}
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
78 // you do not need this one...
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
79 };
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
80 */
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
81
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
82 enum CAPS
1558
261f5fd2c909 error handling
arpi
parents: 1555
diff changeset
83 {
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
84 CAP_NONE = 0,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
85 CAP_YUY2 = 1,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
86 CAP_YV12 = 2,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
87 CAP_IYUV = 4,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
88 CAP_UYVY = 8,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
89 CAP_YVYU = 16,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
90 CAP_I420 = 32,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
91 };
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
92 enum DecodingMode
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
93 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
94 DIRECT = 0,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
95 REALTIME,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
96 REALTIME_QUALITY_AUTO,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
97 };
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
98 enum DecodingState
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
99 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
100 STOP = 0,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
101 START,
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
102 };
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
103
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
104 typedef struct _BitmapInfo
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
105 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
106 long biSize;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
107 long biWidth;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
108 long biHeight;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
109 short biPlanes;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
110 short biBitCount;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
111 long biCompression;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
112 long biSizeImage;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
113 long biXPelsPerMeter;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
114 long biYPelsPerMeter;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
115 long biClrUsed;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
116 long biClrImportant;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
117 int colors[3];
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
118 } BitmapInfo;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
119
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
120 typedef struct _IVideoDecoder
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
121 {
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
122 int VBUFSIZE;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
123 int QMARKHI;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
124 int QMARKLO;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
125 int DMARKHI;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
126 int DMARKLO;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
127
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
128 /*
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
129 IVideoDecoder(CodecInfo& info, const BITMAPINFOHEADER& format) : record(info)
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
130 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
131 // implement init part
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
132 }
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
133 virtual ~IVideoDecoder();
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
134 void Stop()
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
135 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
136 }
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
137 void Start()
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
138 {
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
139 }
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
140 */
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
141 const CodecInfo record;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
142 int m_Mode; // should we do precaching (or even change Quality on the fly)
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
143 int m_State;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
144 int m_iDecpos;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
145 int m_iPlaypos;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
146 float m_fQuality; // quality for the progress bar 0..1(best)
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
147 int m_bCapable16b;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
148
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
149 BITMAPINFOHEADER* m_bh; // format of input data (might be larger - e.g. huffyuv)
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
150 BitmapInfo m_decoder; // format of decoder output
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
151 BitmapInfo m_obh; // format of returned frames
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
152 }IVideoDecoder;
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
153
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
154 /*
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
155 struct IRtConfig
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
156 {
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
157 };
3063
004e3199fee0 mplayer integration
arpi
parents: 2073
diff changeset
158 */
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
159
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
160 // might be minimalized to contain just those which are needed by DS_VideoDecoder
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
161
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
162 #ifndef mmioFOURCC
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
163 #define mmioFOURCC( ch0, ch1, ch2, ch3 ) \
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
164 ( (long)(unsigned char)(ch0) | ( (long)(unsigned char)(ch1) << 8 ) | \
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
165 ( (long)(unsigned char)(ch2) << 16 ) | ( (long)(unsigned char)(ch3) << 24 ) )
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
166 #endif /* mmioFOURCC */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
167
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
168 /* OpenDivX */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
169 #define fccMP4S mmioFOURCC('M', 'P', '4', 'S')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
170 #define fccmp4s mmioFOURCC('m', 'p', '4', 's')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
171 #define fccDIVX mmioFOURCC('D', 'I', 'V', 'X')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
172 #define fccdivx mmioFOURCC('d', 'i', 'v', 'x')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
173 #define fccDIV1 mmioFOURCC('D', 'I', 'V', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
174 #define fccdiv1 mmioFOURCC('d', 'i', 'v', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
175
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
176 /* DivX codecs */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
177 #define fccDIV2 mmioFOURCC('D', 'I', 'V', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
178 #define fccdiv2 mmioFOURCC('d', 'i', 'v', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
179 #define fccDIV3 mmioFOURCC('D', 'I', 'V', '3')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
180 #define fccdiv3 mmioFOURCC('d', 'i', 'v', '3')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
181 #define fccDIV4 mmioFOURCC('D', 'I', 'V', '4')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
182 #define fccdiv4 mmioFOURCC('d', 'i', 'v', '4')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
183 #define fccDIV5 mmioFOURCC('D', 'I', 'V', '5')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
184 #define fccdiv5 mmioFOURCC('d', 'i', 'v', '5')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
185 #define fccDIV6 mmioFOURCC('D', 'I', 'V', '6')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
186 #define fccdiv6 mmioFOURCC('d', 'i', 'v', '6')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
187 #define fccMP41 mmioFOURCC('M', 'P', '4', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
188 #define fccmp41 mmioFOURCC('m', 'p', '4', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
189 #define fccMP43 mmioFOURCC('M', 'P', '4', '3')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
190 #define fccmp43 mmioFOURCC('m', 'p', '4', '3')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
191 /* old ms mpeg-4 codecs */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
192 #define fccMP42 mmioFOURCC('M', 'P', '4', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
193 #define fccmp42 mmioFOURCC('m', 'p', '4', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
194 #define fccMPG4 mmioFOURCC('M', 'P', 'G', '4')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
195 #define fccmpg4 mmioFOURCC('m', 'p', 'g', '4')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
196 /* Windows media codecs */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
197 #define fccWMV1 mmioFOURCC('W', 'M', 'V', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
198 #define fccwmv1 mmioFOURCC('w', 'm', 'v', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
199 #define fccWMV2 mmioFOURCC('W', 'M', 'V', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
200 #define fccwmv2 mmioFOURCC('w', 'm', 'v', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
201 #define fccMWV1 mmioFOURCC('M', 'W', 'V', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
202
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
203 /* Angel codecs */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
204 #define fccAP41 mmioFOURCC('A', 'P', '4', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
205 #define fccap41 mmioFOURCC('a', 'p', '4', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
206 #define fccAP42 mmioFOURCC('A', 'P', '4', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
207 #define fccap42 mmioFOURCC('a', 'p', '4', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
208
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
209 /* other codecs */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
210 #define fccIV31 mmioFOURCC('I', 'V', '3', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
211 #define fcciv31 mmioFOURCC('i', 'v', '3', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
212 #define fccIV32 mmioFOURCC('I', 'V', '3', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
213 #define fcciv32 mmioFOURCC('i', 'v', '3', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
214 #define fccIV41 mmioFOURCC('I', 'V', '4', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
215 #define fcciv41 mmioFOURCC('i', 'v', '4', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
216 #define fccIV50 mmioFOURCC('I', 'V', '5', '0')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
217 #define fcciv50 mmioFOURCC('i', 'v', '5', '0')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
218 #define fccI263 mmioFOURCC('I', '2', '6', '3')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
219 #define fcci263 mmioFOURCC('i', '2', '6', '3')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
220
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
221 #define fccMJPG mmioFOURCC('M', 'J', 'P', 'G')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
222 #define fccmjpg mmioFOURCC('m', 'j', 'p', 'g')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
223
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
224 #define fccHFYU mmioFOURCC('H', 'F', 'Y', 'U')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
225
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
226 #define fcccvid mmioFOURCC('c', 'v', 'i', 'd')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
227 #define fccdvsd mmioFOURCC('d', 'v', 's', 'd')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
228
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
229 /* Ati codecs */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
230 #define fccVCR2 mmioFOURCC('V', 'C', 'R', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
231 #define fccVCR1 mmioFOURCC('V', 'C', 'R', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
232 #define fccVYUY mmioFOURCC('V', 'Y', 'U', 'Y')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
233 #define fccYVU9 mmioFOURCC('I', 'Y', 'U', '9')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
234
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
235 /* Asus codecs */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
236 #define fccASV1 mmioFOURCC('A', 'S', 'V', '1')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
237 #define fccASV2 mmioFOURCC('A', 'S', 'V', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
238
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
239 /* Microsoft video */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
240 #define fcccram mmioFOURCC('c', 'r', 'a', 'm')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
241 #define fccCRAM mmioFOURCC('C', 'R', 'A', 'M')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
242 #define fccMSVC mmioFOURCC('M', 'S', 'V', 'C')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
243
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
244
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
245 #define fccMSZH mmioFOURCC('M', 'S', 'Z', 'H')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
246
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
247 #define fccZLIB mmioFOURCC('Z', 'L', 'I', 'B')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
248
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
249 #define fccTM20 mmioFOURCC('T', 'M', '2', '0')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
250
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
251 #define fccYUV mmioFOURCC('Y', 'U', 'V', ' ')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
252 #define fccYUY2 mmioFOURCC('Y', 'U', 'Y', '2')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
253 #define fccYV12 mmioFOURCC('Y', 'V', '1', '2')/* Planar mode: Y + V + U (3 planes) */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
254 #define fccI420 mmioFOURCC('I', '4', '2', '0')
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
255 #define fccIYUV mmioFOURCC('I', 'Y', 'U', 'V')/* Planar mode: Y + U + V (3 planes) */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
256 #define fccUYVY mmioFOURCC('U', 'Y', 'V', 'Y')/* Packed mode: U0+Y0+V0+Y1 (1 plane) */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
257 #define fccYVYU mmioFOURCC('Y', 'V', 'Y', 'U')/* Packed mode: Y0+V0+Y1+U0 (1 plane) */
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
258
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
259 #endif