annotate loader/dshow/libwin32.h @ 30138:acc6ed68a385

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