Add pgs color type setting
[xy_vsfilter.git] / include / moreuuids.h
blobb41588afd5f5111d94355dc62989aa44dcaf8b97
1 /*
2 * $Id: moreuuids.h 3147 2011-05-23 23:00:32Z aleksoid $
4 * (C) 2003-2006 Gabest
5 * (C) 2006-2011 see AUTHORS
7 * This Program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
12 * This Program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with GNU Make; see the file COPYING. If not, write to
19 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 * http://www.gnu.org/copyleft/gpl.html
22 * Note: This interface was defined for the matroska container format
23 * originally, but can be implemented for other formats as well.
27 #pragma once
29 #include <dvdmedia.h>
31 // 30323449-0000-0010-8000-00AA00389B71 'I420' == MEDIASUBTYPE_I420
32 DEFINE_GUID(MEDIASUBTYPE_I420,
33 0x30323449, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
35 #define WAVE_FORMAT_DOLBY_AC3 0x2000
36 // {00002000-0000-0010-8000-00aa00389b71}
37 DEFINE_GUID(MEDIASUBTYPE_WAVE_DOLBY_AC3,
38 WAVE_FORMAT_DOLBY_AC3, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
40 #define WAVE_FORMAT_DVD_DTS 0x2001
41 // {00002001-0000-0010-8000-00aa00389b71}
42 DEFINE_GUID(MEDIASUBTYPE_WAVE_DTS,
43 WAVE_FORMAT_DVD_DTS, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
45 // Be compatible with 3ivx
46 #define WAVE_FORMAT_AAC 0x00FF
47 // {000000FF-0000-0010-8000-00AA00389B71}
48 DEFINE_GUID(MEDIASUBTYPE_AAC,
49 WAVE_FORMAT_AAC, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
51 #define WAVE_FORMAT_LATM_AAC 0x01FF
52 // {000001FF-0000-0010-8000-00AA00389B71}
53 DEFINE_GUID(MEDIASUBTYPE_LATM_AAC,
54 WAVE_FORMAT_LATM_AAC, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
56 // ... and also compatible with nero
57 // btw, older nero parsers use a lower-case fourcc, newer upper-case (why can't it just offer both?)
58 // {4134504D-0000-0010-8000-00AA00389B71}
59 DEFINE_GUID(MEDIASUBTYPE_MP4A,
60 0x4134504D, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
62 // {6134706D-0000-0010-8000-00AA00389B71}
63 DEFINE_GUID(MEDIASUBTYPE_mp4a,
64 0x6134706D, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
66 #define WAVE_FORMAT_MP3 0x0055
67 // 00000055-0000-0010-8000-00AA00389B71
68 DEFINE_GUID(MEDIASUBTYPE_MP3,
69 WAVE_FORMAT_MP3, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
71 #define WAVE_FORMAT_FLAC 0xF1AC
72 // 0000F1AC-0000-0010-8000-00AA00389B71
73 DEFINE_GUID(MEDIASUBTYPE_FLAC,
74 WAVE_FORMAT_FLAC, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
76 // {1541C5C0-CDDF-477d-BC0A-86F8AE7F8354}
77 DEFINE_GUID(MEDIASUBTYPE_FLAC_FRAMED,
78 0x1541c5c0, 0xcddf, 0x477d, 0xbc, 0xa, 0x86, 0xf8, 0xae, 0x7f, 0x83, 0x54);
80 #define WAVE_FORMAT_TTA1 0x77A1
81 // {000077A1-0000-0010-8000-00AA00389B71}
82 DEFINE_GUID(MEDIASUBTYPE_TTA1,
83 WAVE_FORMAT_TTA1, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
85 #define WAVE_FORMAT_WAVPACK4 0x5756
86 // {00005756-0000-0010-8000-00AA00389B71}
87 DEFINE_GUID(MEDIASUBTYPE_WAVPACK4,
88 WAVE_FORMAT_WAVPACK4, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
90 DEFINE_GUID(MEDIASUBTYPE_AMR,
91 0x000000FE, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
92 // {726D6173-0000-0010-8000-00AA00389B71}
93 DEFINE_GUID(MEDIASUBTYPE_SAMR,
94 0x726D6173, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
96 DEFINE_GUID(MEDIASUBTYPE_VP80 ,
97 0x30385056, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
99 DEFINE_GUID(MEDIASUBTYPE_IMA4,
100 0x34616D69, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
101 // {34616D69-0000-0010-8000-00AA00389B71}
103 DEFINE_GUID(MEDIASUBTYPE_SAWB,
104 0x62776173, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
106 // {DA5B82EE-6BD2-426f-BF1E-30112DA78AE1}
107 DEFINE_GUID(MEDIASUBTYPE_SVCD_SUBPICTURE,
108 0xda5b82ee, 0x6bd2, 0x426f, 0xbf, 0x1e, 0x30, 0x11, 0x2d, 0xa7, 0x8a, 0xe1);
110 // {7B57308F-5154-4c36-B903-52FE76E184FC}
111 DEFINE_GUID(MEDIASUBTYPE_CVD_SUBPICTURE,
112 0x7b57308f, 0x5154, 0x4c36, 0xb9, 0x3, 0x52, 0xfe, 0x76, 0xe1, 0x84, 0xfc);
114 // {0E3A2342-F6E2-4c91-BDAE-87C71EAD0D63}
115 DEFINE_GUID(MEDIASUBTYPE_MPEG2_PVA,
116 0xe3a2342, 0xf6e2, 0x4c91, 0xbd, 0xae, 0x87, 0xc7, 0x1e, 0xad, 0xd, 0x63);
118 // {6B6D0800-9ADA-11d0-A520-00A0D10129C0}
119 DEFINE_GUID(CLSID_NetShowSource,
120 0x6b6d0800, 0x9ada, 0x11d0, 0xa5, 0x20, 0x0, 0xa0, 0xd1, 0x1, 0x29, 0xc0);
122 // DirectShowMedia
124 // {5E9C9EE0-2E4A-4f22-9906-7BBBB75AA2B6}
125 DEFINE_GUID(MEDIASUBTYPE_DirectShowMedia,
126 0x5e9c9ee0, 0x2e4a, 0x4f22, 0x99, 0x6, 0x7b, 0xbb, 0xb7, 0x5a, 0xa2, 0xb6);
128 // Dirac
130 // {A29DA00F-A22B-40ea-98DE-2F7FECADA5DE}
131 DEFINE_GUID(MEDIASUBTYPE_Dirac,
132 0xa29da00f, 0xa22b, 0x40ea, 0x98, 0xde, 0x2f, 0x7f, 0xec, 0xad, 0xa5, 0xde);
134 // {64726376-0000-0010-8000-00AA00389B71}
135 DEFINE_GUID(MEDIASUBTYPE_DiracVideo,
136 0x64726376, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
138 // {D2667A7E-4055-4244-A65F-DDDDF2B74BD7}
139 DEFINE_GUID(FORMAT_DiracVideoInfo,
140 0xd2667a7e, 0x4055, 0x4244, 0xa6, 0x5f, 0xdd, 0xdd, 0xf2, 0xb7, 0x4b, 0xd7);
142 struct DIRACINFOHEADER {
143 VIDEOINFOHEADER2 hdr;
144 DWORD cbSequenceHeader;
145 DWORD dwSequenceHeader[1];
148 // MP4
150 // {08E22ADA-B715-45ed-9D20-7B87750301D4}
151 DEFINE_GUID(MEDIASUBTYPE_MP4,
152 0x8e22ada, 0xb715, 0x45ed, 0x9d, 0x20, 0x7b, 0x87, 0x75, 0x3, 0x1, 0xd4);
154 // FLV
156 // {F2FAC0F1-3852-4670-AAC0-9051D400AC54}
157 DEFINE_GUID(MEDIASUBTYPE_FLV,
158 0xf2fac0f1, 0x3852, 0x4670, 0xaa, 0xc0, 0x90, 0x51, 0xd4, 0x0, 0xac, 0x54);
160 // 31564C46-0000-0010-8000-00AA00389B71
161 DEFINE_GUID(MEDIASUBTYPE_FLV1,
162 0x31564C46, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
164 // 31766C66-0000-0010-8000-00AA00389B71
165 DEFINE_GUID(MEDIASUBTYPE_flv1,
166 0x31766C66, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
168 // 34564C46-0000-0010-8000-00AA00389B71
169 DEFINE_GUID(MEDIASUBTYPE_FLV4,
170 0x34564C46, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
172 // 34766C66-0000-0010-8000-00AA00389B71
173 DEFINE_GUID(MEDIASUBTYPE_flv4,
174 0x34766C66, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
176 // 30355056-0000-0010-8000-00AA00389B71
177 DEFINE_GUID(MEDIASUBTYPE_VP50,
178 0x30355056, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
180 // 30357076-0000-0010-8000-00AA00389B71
181 DEFINE_GUID(MEDIASUBTYPE_vp50,
182 0x30357076, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
184 // 30365056-0000-0010-8000-00AA00389B71
185 DEFINE_GUID(MEDIASUBTYPE_VP60,
186 0x30365056, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
188 // 30367076-0000-0010-8000-00AA00389B71
189 DEFINE_GUID(MEDIASUBTYPE_vp60,
190 0x30367076, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
192 // 31365056-0000-0010-8000-00AA00389B71
193 DEFINE_GUID(MEDIASUBTYPE_VP61,
194 0x31365056, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
196 // 31367076-0000-0010-8000-00AA00389B71
197 DEFINE_GUID(MEDIASUBTYPE_vp61,
198 0x31367076, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
200 // 32365056-0000-0010-8000-00AA00389B71
201 DEFINE_GUID(MEDIASUBTYPE_VP62,
202 0x32365056, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
204 // 32367076-0000-0010-8000-00AA00389B71
205 DEFINE_GUID(MEDIASUBTYPE_vp62,
206 0x32367076, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
208 // 41365056-0000-0010-8000-00AA00389B71
209 DEFINE_GUID(MEDIASUBTYPE_VP6A,
210 0x41365056, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
212 // 61367076-0000-0010-8000-00AA00389B71
213 DEFINE_GUID(MEDIASUBTYPE_vp6a,
214 0x61367076, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
216 // 46365056-0000-0010-8000-00AA00389B71
217 DEFINE_GUID(MEDIASUBTYPE_VP6F,
218 0x46365056, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
220 // 66367076-0000-0010-8000-00AA00389B71
221 DEFINE_GUID(MEDIASUBTYPE_vp6f,
222 0x66367076, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
225 // RealMedia
228 // {57428EC6-C2B2-44a2-AA9C-28F0B6A5C48E}
229 DEFINE_GUID(MEDIASUBTYPE_RealMedia,
230 0x57428ec6, 0xc2b2, 0x44a2, 0xaa, 0x9c, 0x28, 0xf0, 0xb6, 0xa5, 0xc4, 0x8e);
232 // 30315652-0000-0010-8000-00AA00389B71
233 DEFINE_GUID(MEDIASUBTYPE_RV10,
234 0x30315652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
236 // 30325652-0000-0010-8000-00AA00389B71
237 DEFINE_GUID(MEDIASUBTYPE_RV20,
238 0x30325652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
240 // 30335652-0000-0010-8000-00AA00389B71
241 DEFINE_GUID(MEDIASUBTYPE_RV30,
242 0x30335652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
244 // 30345652-0000-0010-8000-00AA00389B71
245 DEFINE_GUID(MEDIASUBTYPE_RV40,
246 0x30345652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
248 // 31345652-0000-0010-8000-00AA00389B71
249 DEFINE_GUID(MEDIASUBTYPE_RV41,
250 0x31345652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
252 // 345f3431-0000-0010-8000-00AA00389B71
253 DEFINE_GUID(MEDIASUBTYPE_14_4,
254 0x345f3431, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
256 // 385f3832-0000-0010-8000-00AA00389B71
257 DEFINE_GUID(MEDIASUBTYPE_28_8,
258 0x385f3832, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
260 // 43525441-0000-0010-8000-00AA00389B71
261 DEFINE_GUID(MEDIASUBTYPE_ATRC,
262 0x43525441, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
264 // 4b4f4f43-0000-0010-8000-00AA00389B71
265 DEFINE_GUID(MEDIASUBTYPE_COOK,
266 0x4b4f4f43, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
268 // 54454e44-0000-0010-8000-00AA00389B71
269 DEFINE_GUID(MEDIASUBTYPE_DNET,
270 0x54454e44, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
272 // 52504953-0000-0010-8000-00AA00389B71
273 DEFINE_GUID(MEDIASUBTYPE_SIPR,
274 0x52504953, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
276 // 43414152-0000-0010-8000-00AA00389B71
277 DEFINE_GUID(MEDIASUBTYPE_RAAC,
278 0x43414152, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
280 // 50434152-0000-0010-8000-00AA00389B71
281 DEFINE_GUID(MEDIASUBTYPE_RACP,
282 0x50434152, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
284 // QuickTime PCM
286 // 454E4F4E-0000-0010-8000-00AA00389B71
287 DEFINE_GUID(MEDIASUBTYPE_PCM_NONE,
288 0x454E4F4E, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
290 // 20776172-0000-0010-8000-00AA00389B71
291 DEFINE_GUID(MEDIASUBTYPE_PCM_RAW,
292 0x20776172, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
294 // 736f7774-0000-0010-8000-00AA00389B71
295 DEFINE_GUID(MEDIASUBTYPE_PCM_TWOS,
296 0x736f7774, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
298 // 74776f73-0000-0010-8000-00AA00389B71
299 DEFINE_GUID(MEDIASUBTYPE_PCM_SOWT,
300 0x74776f73, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
302 // 34326E69-0000-0010-8000-00AA00389B71 (big-endian int24)
303 DEFINE_GUID(MEDIASUBTYPE_PCM_IN24,
304 0x34326E69, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
306 // 32336E69-0000-0010-8000-00AA00389B71 (big-endian int32)
307 DEFINE_GUID(MEDIASUBTYPE_PCM_IN32,
308 0x32336E69, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
310 // 32336C66-0000-0010-8000-00AA00389B71 (big-endian float32)
311 DEFINE_GUID(MEDIASUBTYPE_PCM_FL32,
312 0x32336C66, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
314 // 34366C66-0000-0010-8000-00AA00389B71 (big-endian float64)
315 DEFINE_GUID(MEDIASUBTYPE_PCM_FL64,
316 0x34366C66, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
318 // Reverse GUIDs for little-endian 'in24', 'in32', 'fl32', 'fl64'
319 // 696E3234-0000-0010-8000-00AA00389B71 (little-endian int24, reverse 'in24')
320 DEFINE_GUID(MEDIASUBTYPE_PCM_IN24_le,
321 0x696E3234, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
322 // 696E3332-0000-0010-8000-00AA00389B71 (little-endian int32, reverse 'in32')
323 DEFINE_GUID(MEDIASUBTYPE_PCM_IN32_le,
324 0x696E3332, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
325 // 666C3332-0000-0010-8000-00AA00389B71 (little-endian float32, reverse 'fl32')
326 DEFINE_GUID(MEDIASUBTYPE_PCM_FL32_le,
327 0x666C3332, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
328 // 666C3634-0000-0010-8000-00AA00389B71 (little-endian float64, reverse 'fl64')
329 DEFINE_GUID(MEDIASUBTYPE_PCM_FL64_le,
330 0x666C3634, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
332 enum {
333 WAVE_FORMAT_14_4 = 0x2002,
334 WAVE_FORMAT_28_8 = 0x2003,
335 WAVE_FORMAT_ATRC = 0x0270, //WAVE_FORMAT_SONY_SCX,
336 WAVE_FORMAT_COOK = 0x2004,
337 WAVE_FORMAT_DNET = 0x2005,
338 WAVE_FORMAT_RAAC = 0x2006,
339 WAVE_FORMAT_RACP = 0x2007,
340 WAVE_FORMAT_SIPR = 0x0130, //WAVE_FORMAT_SIPROLAB_ACEPLNET,
344 // PS2
347 #define WAVE_FORMAT_PS2_PCM 0xF521
348 // 0000F521-0000-0010-8000-00AA00389B71
349 DEFINE_GUID(MEDIASUBTYPE_PS2_PCM,
350 WAVE_FORMAT_PS2_PCM, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
352 #define WAVE_FORMAT_PS2_ADPCM 0xF522
353 // 0000F522-0000-0010-8000-00AA00389B71
354 DEFINE_GUID(MEDIASUBTYPE_PS2_ADPCM,
355 WAVE_FORMAT_PS2_ADPCM, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
357 struct WAVEFORMATEXPS2 : public WAVEFORMATEX {
358 DWORD dwInterleave;
360 struct WAVEFORMATEXPS2() {
361 memset(this, 0, sizeof(*this));
362 cbSize = sizeof(WAVEFORMATEXPS2) - sizeof(WAVEFORMATEX);
366 // {4F3D3D21-6D7C-4f73-AA05-E397B5EAE0AA}
367 DEFINE_GUID(MEDIASUBTYPE_PS2_SUB,
368 0x4f3d3d21, 0x6d7c, 0x4f73, 0xaa, 0x5, 0xe3, 0x97, 0xb5, 0xea, 0xe0, 0xaa);
370 // Haali's video renderer
372 // {760A8F35-97E7-479d-AAF5-DA9EFF95D751}
373 DEFINE_GUID(CLSID_DXR,
374 0x760a8f35, 0x97e7, 0x479d, 0xaa, 0xf5, 0xda, 0x9e, 0xff, 0x95, 0xd7, 0x51);
376 DEFINE_GUID(CLSID_madVR,
377 0xe1a8b82a, 0x32ce, 0x4b0d, 0xbe, 0x0d, 0xaa, 0x68, 0xc7, 0x72, 0xe4, 0x23);
380 // Ogg
383 // f07e245f-5a1f-4d1e-8bff-dc31d84a55ab
384 DEFINE_GUID(CLSID_OggSplitter,
385 0xf07e245f, 0x5a1f, 0x4d1e, 0x8b, 0xff, 0xdc, 0x31, 0xd8, 0x4a, 0x55, 0xab);
387 // {078C3DAA-9E58-4d42-9E1C-7C8EE79539C5}
388 DEFINE_GUID(CLSID_OggSplitPropPage,
389 0x78c3daa, 0x9e58, 0x4d42, 0x9e, 0x1c, 0x7c, 0x8e, 0xe7, 0x95, 0x39, 0xc5);
391 // 8cae96b7-85b1-4605-b23c-17ff5262b296
392 DEFINE_GUID(CLSID_OggMux,
393 0x8cae96b7, 0x85b1, 0x4605, 0xb2, 0x3c, 0x17, 0xff, 0x52, 0x62, 0xb2, 0x96);
395 // {AB97AFC3-D08E-4e2d-98E0-AEE6D4634BA4}
396 DEFINE_GUID(CLSID_OggMuxPropPage,
397 0xab97afc3, 0xd08e, 0x4e2d, 0x98, 0xe0, 0xae, 0xe6, 0xd4, 0x63, 0x4b, 0xa4);
399 // {889EF574-0656-4B52-9091-072E52BB1B80}
400 DEFINE_GUID(CLSID_VorbisEnc,
401 0x889ef574, 0x0656, 0x4b52, 0x90, 0x91, 0x07, 0x2e, 0x52, 0xbb, 0x1b, 0x80);
403 // {c5379125-fd36-4277-a7cd-fab469ef3a2f}
404 DEFINE_GUID(CLSID_VorbisEncPropPage,
405 0xc5379125, 0xfd36, 0x4277, 0xa7, 0xcd, 0xfa, 0xb4, 0x69, 0xef, 0x3a, 0x2f);
407 // 02391f44-2767-4e6a-a484-9b47b506f3a4
408 DEFINE_GUID(CLSID_VorbisDec,
409 0x02391f44, 0x2767, 0x4e6a, 0xa4, 0x84, 0x9b, 0x47, 0xb5, 0x06, 0xf3, 0xa4);
411 // 77983549-ffda-4a88-b48f-b924e8d1f01c
412 DEFINE_GUID(CLSID_OggDSAboutPage,
413 0x77983549, 0xffda, 0x4a88, 0xb4, 0x8f, 0xb9, 0x24, 0xe8, 0xd1, 0xf0, 0x1c);
415 // {D2855FA9-61A7-4db0-B979-71F297C17A04}
416 DEFINE_GUID(MEDIASUBTYPE_Ogg,
417 0xd2855fa9, 0x61a7, 0x4db0, 0xb9, 0x79, 0x71, 0xf2, 0x97, 0xc1, 0x7a, 0x4);
419 // cddca2d5-6d75-4f98-840e-737bedd5c63b
420 DEFINE_GUID(MEDIASUBTYPE_Vorbis,
421 0xcddca2d5, 0x6d75, 0x4f98, 0x84, 0x0e, 0x73, 0x7b, 0xed, 0xd5, 0xc6, 0x3b);
423 // 6bddfa7e-9f22-46a9-ab5e-884eff294d9f
424 DEFINE_GUID(FORMAT_VorbisFormat,
425 0x6bddfa7e, 0x9f22, 0x46a9, 0xab, 0x5e, 0x88, 0x4e, 0xff, 0x29, 0x4d, 0x9f);
427 typedef struct tagVORBISFORMAT {
428 WORD nChannels;
429 DWORD nSamplesPerSec;
430 DWORD nMinBitsPerSec;
431 DWORD nAvgBitsPerSec;
432 DWORD nMaxBitsPerSec;
433 float fQuality;
434 } VORBISFORMAT, *PVORBISFORMAT, FAR *LPVORBISFORMAT;
436 // {8D2FD10B-5841-4a6b-8905-588FEC1ADED9}
437 DEFINE_GUID(MEDIASUBTYPE_Vorbis2,
438 0x8d2fd10b, 0x5841, 0x4a6b, 0x89, 0x5, 0x58, 0x8f, 0xec, 0x1a, 0xde, 0xd9);
440 // {B36E107F-A938-4387-93C7-55E966757473}
441 DEFINE_GUID(FORMAT_VorbisFormat2,
442 0xb36e107f, 0xa938, 0x4387, 0x93, 0xc7, 0x55, 0xe9, 0x66, 0x75, 0x74, 0x73);
444 typedef struct tagVORBISFORMAT2 {
445 DWORD Channels;
446 DWORD SamplesPerSec;
447 DWORD BitsPerSample;
448 DWORD HeaderSize[3]; // 0: Identification, 1: Comment, 2: Setup
449 } VORBISFORMAT2, *PVORBISFORMAT2, FAR *LPVORBISFORMAT2;
452 // Matroska
455 // {1AC0BEBD-4D2B-45ad-BCEB-F2C41C5E3788}
456 DEFINE_GUID(MEDIASUBTYPE_Matroska,
457 0x1ac0bebd, 0x4d2b, 0x45ad, 0xbc, 0xeb, 0xf2, 0xc4, 0x1c, 0x5e, 0x37, 0x88);
459 // {E487EB08-6B26-4be9-9DD3-993434D313FD}
460 DEFINE_GUID(MEDIATYPE_Subtitle,
461 0xe487eb08, 0x6b26, 0x4be9, 0x9d, 0xd3, 0x99, 0x34, 0x34, 0xd3, 0x13, 0xfd);
463 // {87C0B230-03A8-4fdf-8010-B27A5848200D}
464 DEFINE_GUID(MEDIASUBTYPE_UTF8,
465 0x87c0b230, 0x3a8, 0x4fdf, 0x80, 0x10, 0xb2, 0x7a, 0x58, 0x48, 0x20, 0xd);
467 // {3020560F-255A-4ddc-806E-6C5CC6DCD70A}
468 DEFINE_GUID(MEDIASUBTYPE_SSA,
469 0x3020560f, 0x255a, 0x4ddc, 0x80, 0x6e, 0x6c, 0x5c, 0xc6, 0xdc, 0xd7, 0xa);
471 // {326444F7-686F-47ff-A4B2-C8C96307B4C2}
472 DEFINE_GUID(MEDIASUBTYPE_ASS,
473 0x326444f7, 0x686f, 0x47ff, 0xa4, 0xb2, 0xc8, 0xc9, 0x63, 0x7, 0xb4, 0xc2);
475 // {370689E7-B226-4f67-978D-F10BC1A9C6AE}
476 DEFINE_GUID(MEDIASUBTYPE_ASS2,
477 0x370689e7, 0xb226, 0x4f67, 0x97, 0x8d, 0xf1, 0xb, 0xc1, 0xa9, 0xc6, 0xae);
479 // {76C421C4-DB89-42ec-936E-A9FBC1794714}
480 DEFINE_GUID(MEDIASUBTYPE_SSF,
481 0x76c421c4, 0xdb89, 0x42ec, 0x93, 0x6e, 0xa9, 0xfb, 0xc1, 0x79, 0x47, 0x14);
483 // {B753B29A-0A96-45be-985F-68351D9CAB90}
484 DEFINE_GUID(MEDIASUBTYPE_USF,
485 0xb753b29a, 0xa96, 0x45be, 0x98, 0x5f, 0x68, 0x35, 0x1d, 0x9c, 0xab, 0x90);
487 // {F7239E31-9599-4e43-8DD5-FBAF75CF37F1}
488 DEFINE_GUID(MEDIASUBTYPE_VOBSUB,
489 0xf7239e31, 0x9599, 0x4e43, 0x8d, 0xd5, 0xfb, 0xaf, 0x75, 0xcf, 0x37, 0xf1);
491 // {A33D2F7D-96BC-4337-B23B-A8B9FBC295E9}
492 DEFINE_GUID(FORMAT_SubtitleInfo,
493 0xa33d2f7d, 0x96bc, 0x4337, 0xb2, 0x3b, 0xa8, 0xb9, 0xfb, 0xc2, 0x95, 0xe9);
495 // {04EBA53E-9330-436c-9133-553EC87031DC}
496 DEFINE_GUID(MEDIASUBTYPE_HDMVSUB,
497 0x4eba53e, 0x9330, 0x436c, 0x91, 0x33, 0x55, 0x3e, 0xc8, 0x70, 0x31, 0xdc);
499 #pragma pack(push, 1)
500 typedef struct {
501 DWORD dwOffset;
502 CHAR IsoLang[4]; // three letter lang code + terminating zero
503 WCHAR TrackName[256]; // 256 chars ought to be enough for everyone :)
504 } SUBTITLEINFO;
505 #pragma pack(pop)
507 // SUBTITLEINFO structure content starting at dwOffset (also the content of CodecPrivate)
508 // --------------------------------------------------------------------------------------
510 // Here the text should start with the Byte Order Mark, even though
511 // UTF-8 is prefered, it also helps identifying the encoding type.
513 // MEDIASUBTYPE_USF:
515 // <?xml version="1.0" encoding="UTF-8"?>
516 // <!-- DOCTYPE USFSubtitles SYSTEM "USFV100.dtd" -->
517 // <?xml-stylesheet type="text/xsl" href="USFV100.xsl"?>
519 // <USFSubtitles version="1.0">
520 // ... every element excluding <subtitles></subtitles> ...
521 // </USFSubtitles>
523 // MEDIASUBTYPE_SSA/ASS:
525 // The file header and all sub-sections except [Events]
527 // MEDIATYPE_VOBSUB:
529 // TODO
532 // Data description of the media samples (everything is UTF-8 encoded here)
533 // ------------------------------------------------------------------------
535 // MEDIASUBTYPE_USF:
537 // The text _inside_ the <subtitle>..</subtitle> element.
539 // Since timing is set on the sample, there is no need to put
540 // <subtitle start=".." stop=".." duration=".."> into the data.
542 // MEDIASUBTYPE_SSA/ASS:
544 // Comma separated values similar to the "Dialogue: ..." line with these fields:
545 // ReadOrder, Layer, Style, Name, MarginL, MarginR, MarginV, Effect, Text
547 // With the exception of ReadOrder every field can be found in ASS files. The
548 // ReadOrder field is needed for the decoder to be able to reorder the streamed
549 // samples as they were placed originally in the file.
551 // If the source is only SSA, the Layer field can be left empty.
553 // MEDIATYPE_VOBSUB:
555 // Standard dvd subpic data, without the stream id at the beginning.
558 // Matroska CodecID mappings
559 // ------------------------
561 // S_TEXT/ASCII <-> MEDIATYPE_Text MEDIASUBTYPE_NULL FORMAT_None
562 // S_TEXT/UTF8 <-> MEDIATYPE_Subtitle MEDIASUBTYPE_UTF8 FORMAT_SubtitleInfo
563 // S_TEXT/SSA <-> MEDIATYPE_Subtitle MEDIASUBTYPE_SSA FORMAT_SubtitleInfo
564 // S_TEXT/ASS <-> MEDIATYPE_Subtitle MEDIASUBTYPE_ASS FORMAT_SubtitleInfo
565 // S_TEXT/USF <-> MEDIATYPE_Subtitle MEDIASUBTYPE_USF FORMAT_SubtitleInfo
566 // S_VOBSUB <-> MEDIATYPE_Subtitle MEDIASUBTYPE_VOBSUB FORMAT_SubtitleInfo
567 // S_VOBSUB/ZLIB<-> MEDIATYPE_Subtitle MEDIASUBTYPE_VOBSUB FORMAT_SubtitleInfo
571 DEFINE_GUID( MEDIATYPE_MPEG2_SECTIONS,
572 0x455f176c, 0x4b06, 0x47ce, 0x9a, 0xef, 0x8c, 0xae, 0xf7, 0x3d, 0xf7, 0xb5);
574 DEFINE_GUID(MEDIASUBTYPE_ATSC_SI,
575 0xb3c7397c, 0xd303, 0x414d, 0xb3, 0x3c, 0x4e, 0xd2, 0xc9, 0xd2, 0x97, 0x33);
577 DEFINE_GUID(MEDIASUBTYPE_DVB_SI,
578 0xe9dd31a3, 0x221d, 0x4adb, 0x85, 0x32, 0x9a, 0xf3, 0x9, 0xc1, 0xa4, 0x8);
581 // {C892E55B-252D-42b5-A316-D997E7A5D995}
582 DEFINE_GUID(MEDIASUBTYPE_MPEG2DATA,
583 0xc892e55b, 0x252d, 0x42b5, 0xa3, 0x16, 0xd9, 0x97, 0xe7, 0xa5, 0xd9, 0x95);
587 // H264
588 // 34363248-0000-0010-8000-00aa00389b71
589 // DEFINE_GUID(MEDIASUBTYPE_H264,
590 // 0x34363248, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
592 // 34363268-0000-0010-8000-00AA00389B71
593 DEFINE_GUID(MEDIASUBTYPE_h264,
594 0x34363268, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
596 // 34363258-0000-0010-8000-00AA00389B71
597 DEFINE_GUID(MEDIASUBTYPE_X264,
598 0x34363258, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
600 // 34363278-0000-0010-8000-00AA00389B71
601 DEFINE_GUID(MEDIASUBTYPE_x264,
602 0x34363278, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
604 // 6F29D2AD-E130-45AA-B42F-F623AD354A90
605 DEFINE_GUID(MEDIASUBTYPE_ArcsoftH264,
606 0x6F29D2AD, 0xE130, 0x45AA, 0xB4, 0x2F, 0xF6, 0x23, 0xAD, 0x35, 0x4A, 0x90);
608 // 48535356-0000-0010-8000-00AA00389B71
609 DEFINE_GUID(MEDIASUBTYPE_VSSH,
610 0x48535356, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
612 // 68737376-0000-0010-8000-00AA00389B71
613 DEFINE_GUID(MEDIASUBTYPE_vssh,
614 0x68737376, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
616 // 43564144-0000-0010-8000-00AA00389B71
617 DEFINE_GUID(MEDIASUBTYPE_DAVC,
618 0x43564144, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
620 // 63766164-0000-0010-8000-00AA00389B71
621 DEFINE_GUID(MEDIASUBTYPE_davc,
622 0x63766164, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
624 // 43564150-0000-0010-8000-00AA00389B71
625 DEFINE_GUID(MEDIASUBTYPE_PAVC,
626 0x43564150, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
628 // 63766170-0000-0010-8000-00AA00389B71
629 DEFINE_GUID(MEDIASUBTYPE_pavc,
630 0x63766170, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
632 // 31435641-0000-0010-8000-00AA00389B71
633 DEFINE_GUID(MEDIASUBTYPE_AVC1,
634 0x31435641, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
636 // 31637661-0000-0010-8000-00AA00389B71
637 DEFINE_GUID(MEDIASUBTYPE_avc1,
638 0x31637661, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
640 // 31564343-0000-0010-8000-00AA00389B71 (custom H.264 FourCC used by Haali Media Splitter)
641 DEFINE_GUID(MEDIASUBTYPE_CCV1,
642 0x31564343, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
644 // 8D2D71CB-243F-45E3-B2D8-5FD7967EC09B <= Used by MediaPortal for example...
645 DEFINE_GUID(MEDIASUBTYPE_H264_bis,
646 0x8D2D71CB, 0x243F, 0x45E3, 0xB2, 0xD8, 0x5F, 0xD7, 0x96, 0x7E, 0xC0, 0x9B);
648 // 33515653-0000-0010-8000-00aa00389b71
649 DEFINE_GUID(MEDIASUBTYPE_SVQ3,
650 0x33515653, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
652 // 56564D41-0000-0010-8000-00AA00389B71
653 DEFINE_GUID(MEDIASUBTYPE_XVID,
654 0x44495658, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
656 // 56564D41-0000-0010-8000-00AA00389B71
657 DEFINE_GUID(MEDIASUBTYPE_xvid,
658 0x64697678, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
660 // 30355844-0000-0010-8000-00aa00389b71
661 DEFINE_GUID(MEDIASUBTYPE_DX50,
662 0x30355844, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
664 // 30357864-0000-0010-8000-00AA00389B71
665 DEFINE_GUID(MEDIASUBTYPE_dx50,
666 0x30357864, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
668 // 56564D41-0000-0010-8000-00AA00389B71
669 DEFINE_GUID(MEDIASUBTYPE_DIVX,
670 0x58564944, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
672 // 78766964-0000-0010-8000-00AA00389B71
673 DEFINE_GUID(MEDIASUBTYPE_divx,
674 0x78766964, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
676 // 5634504d-0000-0010-8000-00aa00389b71
677 DEFINE_GUID(MEDIASUBTYPE_MP4V,
678 0x5634504d, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
680 // 7634706D-0000-0010-8000-00AA00389B71
681 DEFINE_GUID(MEDIASUBTYPE_mp4v,
682 0x7634706D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
684 // 3273346d-0000-0010-8000-00aa00389b71
685 DEFINE_GUID(MEDIASUBTYPE_M4S2,
686 0x3273346d, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
688 // 3273346D-0000-0010-8000-00AA00389B71
689 DEFINE_GUID(MEDIASUBTYPE_m4s2,
690 0x3273346D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
692 // 5334504D-0000-0010-8000-00AA00389B71
693 DEFINE_GUID(MEDIASUBTYPE_MP4S,
694 0x5334504D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
696 // 7334706D-0000-0010-8000-00AA00389B71
697 DEFINE_GUID(MEDIASUBTYPE_mp4s,
698 0x7334706D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
700 // 31564933-0000-0010-8000-00aa00389b71
701 DEFINE_GUID(MEDIASUBTYPE_3IV1,
702 0x31564933, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
704 // 31766933-0000-0010-8000-00AA00389B71
705 DEFINE_GUID(MEDIASUBTYPE_3iv1,
706 0x31766933, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
708 // 32564933-0000-0010-8000-00aa00389b71
709 DEFINE_GUID(MEDIASUBTYPE_3IV2,
710 0x32564933, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
712 // 32766933-0000-0010-8000-00AA00389B71
713 DEFINE_GUID(MEDIASUBTYPE_3iv2,
714 0x32766933, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
716 // 58564933-0000-0010-8000-00aa00389b71
717 DEFINE_GUID(MEDIASUBTYPE_3IVX,
718 0x58564933, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
720 // 78766933-0000-0010-8000-00AA00389B71
721 DEFINE_GUID(MEDIASUBTYPE_3ivx,
722 0x78766933, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
724 // 305A4C42-0000-0010-8000-00AA00389B71
725 DEFINE_GUID(MEDIASUBTYPE_BLZ0,
726 0x305A4C42, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
728 // 307A6C62-0000-0010-8000-00AA00389B71
729 DEFINE_GUID(MEDIASUBTYPE_blz0,
730 0x307A6C62, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
732 // 56344D44-0000-0010-8000-00AA00389B71
733 DEFINE_GUID(MEDIASUBTYPE_DM4V,
734 0x56344D44, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
736 // 76346D64-0000-0010-8000-00AA00389B71
737 DEFINE_GUID(MEDIASUBTYPE_dm4v,
738 0x76346D64, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
740 // 4D475844-0000-0010-8000-00AA00389B71
741 DEFINE_GUID(MEDIASUBTYPE_DXGM,
742 0x4D475844, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
744 // 6D677864-0000-0010-8000-00AA00389B71
745 DEFINE_GUID(MEDIASUBTYPE_dxgm,
746 0x6D677864, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
748 // 53444646-0000-0010-8000-00aa00389b71
749 DEFINE_GUID(MEDIASUBTYPE_FFDS,
750 0x53444646, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
752 // 73646666-0000-0010-8000-00AA00389B71
753 DEFINE_GUID(MEDIASUBTYPE_ffds,
754 0x73646666, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
756 // 57465646-0000-0010-8000-00AA00389B71
757 DEFINE_GUID(MEDIASUBTYPE_FVFW,
758 0x57465646, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
760 // 77667666-0000-0010-8000-00AA00389B71
761 DEFINE_GUID(MEDIASUBTYPE_fvfw,
762 0x77667666, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
764 // 34504D46-0000-0010-8000-00AA00389B71
765 DEFINE_GUID(MEDIASUBTYPE_FMP4,
766 0x34504D46, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
768 // 34706D66-0000-0010-8000-00AA00389B71
769 DEFINE_GUID(MEDIASUBTYPE_fmp4,
770 0x34706D66, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
772 // 34584448-0000-0010-8000-00AA00389B71
773 DEFINE_GUID(MEDIASUBTYPE_HDX4,
774 0x34584448, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
776 // 34786468-0000-0010-8000-00AA00389B71
777 DEFINE_GUID(MEDIASUBTYPE_hdx4,
778 0x34786468, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
780 // 34504D4C-0000-0010-8000-00AA00389B71
781 DEFINE_GUID(MEDIASUBTYPE_LMP4,
782 0x34504D4C, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
784 // 34706D6C-0000-0010-8000-00AA00389B71
785 DEFINE_GUID(MEDIASUBTYPE_lmp4,
786 0x34706D6C, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
788 // 4749444E-0000-0010-8000-00AA00389B71
789 DEFINE_GUID(MEDIASUBTYPE_NDIG,
790 0x4749444E, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
792 // 6769646E-0000-0010-8000-00AA00389B71
793 DEFINE_GUID(MEDIASUBTYPE_ndig,
794 0x6769646E, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
796 // 34504D52-0000-0010-8000-00AA00389B71
797 DEFINE_GUID(MEDIASUBTYPE_RMP4,
798 0x34504D52, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
800 // 34706D72-0000-0010-8000-00AA00389B71
801 DEFINE_GUID(MEDIASUBTYPE_rmp4,
802 0x34706D72, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
804 // 34504D53-0000-0010-8000-00AA00389B71
805 DEFINE_GUID(MEDIASUBTYPE_SMP4,
806 0x34504D53, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
808 // 34706D73-0000-0010-8000-00AA00389B71
809 DEFINE_GUID(MEDIASUBTYPE_smp4,
810 0x34706D73, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
812 // 47444553-0000-0010-8000-00AA00389B71
813 DEFINE_GUID(MEDIASUBTYPE_SEDG,
814 0x47444553, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
816 // 67646573-0000-0010-8000-00AA00389B71
817 DEFINE_GUID(MEDIASUBTYPE_sedg,
818 0x67646573, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
820 // 34504D55-0000-0010-8000-00AA00389B71
821 DEFINE_GUID(MEDIASUBTYPE_UMP4,
822 0x34504D55, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
824 // 34706D75-0000-0010-8000-00AA00389B71
825 DEFINE_GUID(MEDIASUBTYPE_ump4,
826 0x34706D75, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
828 // 46315657-0000-0010-8000-00AA00389B71
829 DEFINE_GUID(MEDIASUBTYPE_WV1F,
830 0x46315657, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
832 // 66317677-0000-0010-8000-00AA00389B71
833 DEFINE_GUID(MEDIASUBTYPE_wv1f,
834 0x66317677, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
836 // 58495658-0000-0010-8000-00AA00389B71
837 DEFINE_GUID(MEDIASUBTYPE_XVIX,
838 0x58495658, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
840 // 78697678-0000-0010-8000-00AA00389B71
841 DEFINE_GUID(MEDIASUBTYPE_xvix,
842 0x78697678, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
844 // 31564D57-0000-0010-8000-00AA00389B71
845 DEFINE_GUID(MEDIASUBTYPE_WMV1,
846 0x31564D57, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
848 // 31766D77-0000-0010-8000-00AA00389B71
849 DEFINE_GUID(MEDIASUBTYPE_wmv1,
850 0x31766D77, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
852 // 32564D57-0000-0010-8000-00AA00389B71
853 DEFINE_GUID(MEDIASUBTYPE_WMV2,
854 0x32564D57, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
856 // 32766D77-0000-0010-8000-00AA00389B71
857 DEFINE_GUID(MEDIASUBTYPE_wmv2,
858 0x32766D77, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
860 // 31564D57-0000-0010-8000-00AA00389B71
861 DEFINE_GUID(MEDIASUBTYPE_WMV3,
862 0x33564D57, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
864 // 33766D77-0000-0010-8000-00AA00389B71
865 DEFINE_GUID(MEDIASUBTYPE_wmv3,
866 0x33766D77, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
868 // 31515653-0000-0010-8000-00AA00389B71
869 DEFINE_GUID(MEDIASUBTYPE_SVQ1,
870 0x31515653, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
872 // 33363248-0000-0010-8000-00AA00389B71
873 DEFINE_GUID(MEDIASUBTYPE_H263,
874 0x33363248, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
876 // 33363268-0000-0010-8000-00AA00389B71
877 DEFINE_GUID(MEDIASUBTYPE_h263,
878 0x33363268, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
880 DEFINE_GUID(MEDIASUBTYPE_S263,
881 0x33363273, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
883 // 33363273-0000-0010-8000-00AA00389B71
884 DEFINE_GUID(MEDIASUBTYPE_s263,
885 0x33363273, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
887 // 56564D41-0000-0010-8000-00AA00389B71
888 DEFINE_GUID(MEDIASUBTYPE_AMVV,
889 0x56564D41, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
891 // 31435657-0000-0010-8000-00AA00389B71
892 DEFINE_GUID(MEDIASUBTYPE_WVC1,
893 0x31435657, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
895 // D979F77B-DBEA-4BF6-9E6D-1D7E57FBAD53
896 DEFINE_GUID(MEDIASUBTYPE_WVC1_CYBERLINK,
897 0xD979F77B, 0xDBEA, 0x4BF6, 0x9E, 0x6D, 0x1D, 0x7E, 0x57, 0xFB, 0xAD, 0x53);
899 // 629B40AD-AD74-4EF4-A985-F0C8D92E5ECA
900 DEFINE_GUID(MEDIASUBTYPE_WVC1_ARCSOFT,
901 0x629B40AD, 0xAD74, 0x4EF4, 0xA9, 0x85, 0xF0, 0xC8, 0xD9, 0x2E, 0x5E, 0xCA);
903 // 31637677-0000-0010-8000-00AA00389B71
904 DEFINE_GUID(MEDIASUBTYPE_wvc1,
905 0x31637677, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
907 // 3334504D-0000-0010-8000-00AA00389B71
908 DEFINE_GUID(MEDIASUBTYPE_MP43,
909 0x3334504D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
911 // 3334706D-0000-0010-8000-00AA00389B71
912 DEFINE_GUID(MEDIASUBTYPE_mp43,
913 0x3334706D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
915 // 33585644-0000-0010-8000-00AA00389B71
916 DEFINE_GUID(MEDIASUBTYPE_DVX3,
917 0x33585644, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
919 // 33787664-0000-0010-8000-00AA00389B71
920 DEFINE_GUID(MEDIASUBTYPE_dvx3,
921 0x33787664, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
923 // 33564944-0000-0010-8000-00AA00389B71
924 DEFINE_GUID(MEDIASUBTYPE_DIV3,
925 0x33564944, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
927 // 33766964-0000-0010-8000-00AA00389B71
928 DEFINE_GUID(MEDIASUBTYPE_div3,
929 0x33766964, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
931 // 314C4F43-0000-0010-8000-00AA00389B71
932 DEFINE_GUID(MEDIASUBTYPE_COL1,
933 0x314C4F43, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
935 // 316C6F63-0000-0010-8000-00AA00389B71
936 DEFINE_GUID(MEDIASUBTYPE_col1,
937 0x316C6F63, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
939 // 34564944-0000-0010-8000-00AA00389B71
940 DEFINE_GUID(MEDIASUBTYPE_DIV4,
941 0x34564944, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
943 // 34766964-0000-0010-8000-00AA00389B71
944 DEFINE_GUID(MEDIASUBTYPE_div4,
945 0x34766964, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
947 // 35564944-0000-0010-8000-00AA00389B71
948 DEFINE_GUID(MEDIASUBTYPE_DIV5,
949 0x35564944, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
951 // 35766964-0000-0010-8000-00AA00389B71
952 DEFINE_GUID(MEDIASUBTYPE_div5,
953 0x35766964, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
955 // 36564944-0000-0010-8000-00AA00389B71
956 DEFINE_GUID(MEDIASUBTYPE_DIV6,
957 0x36564944, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
959 // 36766964-0000-0010-8000-00AA00389B71
960 DEFINE_GUID(MEDIASUBTYPE_div6,
961 0x36766964, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
963 // 31345041-0000-0010-8000-00AA00389B71
964 DEFINE_GUID(MEDIASUBTYPE_AP41,
965 0x31345041, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
967 // 31347061-0000-0010-8000-00AA00389B71
968 DEFINE_GUID(MEDIASUBTYPE_ap41,
969 0x31347061, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
971 // 3347504D-0000-0010-8000-00AA00389B71
972 DEFINE_GUID(MEDIASUBTYPE_MPG3,
973 0x3347504D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
975 // 3367706D-0000-0010-8000-00AA00389B71
976 DEFINE_GUID(MEDIASUBTYPE_mpg3,
977 0x3367706D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
979 // 3234504D-0000-0010-8000-00AA00389B71
980 DEFINE_GUID(MEDIASUBTYPE_MP42,
981 0x3234504D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
983 // 3234706D-0000-0010-8000-00AA00389B71
984 DEFINE_GUID(MEDIASUBTYPE_mp42,
985 0x3234706D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
987 // 32564944-0000-0010-8000-00AA00389B71
988 DEFINE_GUID(MEDIASUBTYPE_DIV2,
989 0x32564944, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
991 // 32766964-0000-0010-8000-00AA00389B71
992 DEFINE_GUID(MEDIASUBTYPE_div2,
993 0x32766964, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
995 // 3447504D-0000-0010-8000-00AA00389B71
996 DEFINE_GUID(MEDIASUBTYPE_MPG4,
997 0x3447504D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
999 // 3467706D-0000-0010-8000-00AA00389B71
1000 DEFINE_GUID(MEDIASUBTYPE_mpg4,
1001 0x3467706D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
1003 // 31564944-0000-0010-8000-00AA00389B71
1004 DEFINE_GUID(MEDIASUBTYPE_DIV1,
1005 0x31564944, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
1007 // 31766964-0000-0010-8000-00AA00389B71
1008 DEFINE_GUID(MEDIASUBTYPE_div1,
1009 0x31766964, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
1011 // 3134504D-0000-0010-8000-00AA00389B71
1012 DEFINE_GUID(MEDIASUBTYPE_MP41,
1013 0x3134504D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
1015 // 3134706D-0000-0010-8000-00AA00389B71
1016 DEFINE_GUID(MEDIASUBTYPE_mp41,
1017 0x3134706D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
1019 // 4F454854-0000-0010-8000-00AA00389B71
1020 DEFINE_GUID(MEDIASUBTYPE_THEORA,
1021 0x4F454854, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
1023 // 6F656874-0000-0010-8000-00AA00389B71
1024 DEFINE_GUID(MEDIASUBTYPE_theora,
1025 0x6F656874, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
1027 DEFINE_GUID(FORMAT_RLTheora,
1028 0xe69b30d1, 0x7d65, 0x4166, 0xb9, 0x90, 0x10, 0x3d, 0xa8, 0xc9, 0x11, 0xe3 );
1030 // Audio codecs
1032 // 41564D41-0000-0010-8000-00AA00389B71
1033 DEFINE_GUID(MEDIASUBTYPE_IMA_AMV,
1034 0x41564D41, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
1036 // 4C4C454E-0000-0010-8000-00AA00389B71
1037 DEFINE_GUID(MEDIASUBTYPE_NELLYMOSER,
1038 0x4C4C454E, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
1041 // {949F97FD-56F6-4527-B4AE-DDEB375AB80F} Mpc-hc specific !
1042 DEFINE_GUID(MEDIASUBTYPE_HDMV_LPCM_AUDIO,
1043 0x949f97fd, 0x56f6, 0x4527, 0xb4, 0xae, 0xdd, 0xeb, 0x37, 0x5a, 0xb8, 0xf);
1045 struct WAVEFORMATEX_HDMV_LPCM : public WAVEFORMATEX {
1046 BYTE channel_conf;
1048 struct WAVEFORMATEX_HDMV_LPCM() {
1049 memset(this, 0, sizeof(*this));
1050 cbSize = sizeof(WAVEFORMATEX_HDMV_LPCM) - sizeof(WAVEFORMATEX);
1054 // {AFBC2343-3DCB-4047-9655-E1E62A61B1C5}
1055 DEFINE_GUID(MEDIASUBTYPE_FFMPEG_AUDIO,
1056 0xafbc2343, 0x3dcb, 0x4047, 0x96, 0x55, 0xe1, 0xe6, 0x2a, 0x61, 0xb1, 0xc5);
1059 // {35189950-CAC9-4C8D-819D-B6FAEE15DD9D}
1060 DEFINE_GUID(FORMAT_WaveFormatExFFMPEG,
1061 0x35189950, 0xcac9, 0x4c8d, 0x81, 0x9d, 0xb6, 0xfa, 0xee, 0x15, 0xdd, 0x9d);
1063 struct WAVEFORMATEXFFMPEG
1065 int nCodecId;
1066 WAVEFORMATEX wfex;
1068 struct WAVEFORMATEXFFMPEG()
1070 nCodecId = 0;
1075 // Guid from wmcodecdsp.h (Windows SDK)
1077 DEFINE_GUID(MEDIASUBTYPE_DOLBY_DDPLUS,
1078 0xa7fb87af, 0x2d02, 0x42fb, 0xa4, 0xd4, 0x5, 0xcd, 0x93, 0x84, 0x3b, 0xdd);
1080 DEFINE_GUID(MEDIASUBTYPE_DOLBY_TRUEHD,
1081 0xeb27cec4, 0x163e, 0x4ca3, 0x8b, 0x74, 0x8e, 0x25, 0xf9, 0x1b, 0x51, 0x7e);
1083 DEFINE_GUID(MEDIASUBTYPE_DTS_HD,
1084 0xa2e58eb7, 0xfa9, 0x48bb, 0xa4, 0xc, 0xfa, 0xe, 0x15, 0x6d, 0x6, 0x45);
1087 // Additionnal DXVA GUIDs
1089 // Intel ClearVideo VC1 bitstream decoder
1090 DEFINE_GUID(DXVA_Intel_VC1_ClearVideo, 0xBCC5DB6D, 0xA2B6,0x4AF0,0xAC,0xE4,0xAD,0xB1,0xF7,0x87,0xBC,0x89);
1092 // Intel ClearVideo H264 bitstream decoder
1093 DEFINE_GUID(DXVA_Intel_H264_ClearVideo, 0x604F8E68, 0x4951,0x4C54,0x88,0xFE,0xAB,0xD2,0x5C,0x15,0xB3,0xD6);
1095 // Nvidia MPEG-4 ASP bitstream decoder
1096 // 9947EC6F-689B-11DC-A320-0019DBBC4184
1097 DEFINE_GUID(DXVA_MPEG4_ASP, 0x9947EC6F, 0x689B,0x11DC,0xA3,0x20,0x00,0x19,0xDB,0xBC,0x41,0x84);
1099 DEFINE_GUID(CLSID_AC3Filter, 0xA753A1EC, 0x973E, 0x4718, 0xAF, 0x8E, 0xA3, 0xF5, 0x54, 0xD4, 0x5C, 0x44);
1101 // uncompressed
1102 #define DEFINE_GUID_FOURCC(FOURCC) \
1103 DEFINE_GUID(MEDIASUBTYPE_##FOURCC,FOURCC_##FOURCC, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
1105 //uncompressed
1106 #define FOURCC_YUY2 mmioFOURCC('Y','U','Y','2')
1107 #define FOURCC_V422 mmioFOURCC('V','4','2','2')
1108 #define FOURCC_YV12 mmioFOURCC('Y','V','1','2')
1109 #define FOURCC_YVYU mmioFOURCC('Y','V','Y','U')
1110 #define FOURCC_UYVY mmioFOURCC('U','Y','V','Y')
1111 #define FOURCC_YUYV mmioFOURCC('Y','U','Y','V')
1112 #define FOURCC_VYUY mmioFOURCC('V','Y','U','Y')
1113 #define FOURCC_I420 mmioFOURCC('I','4','2','0')
1114 #define FOURCC_IYUV mmioFOURCC('I','Y','U','V')
1115 #define FOURCC_444P mmioFOURCC('4','4','4','P')
1116 #define FOURCC_YV24 mmioFOURCC('Y','V','2','4') // YUV 4:4:4
1117 #define FOURCC_422P mmioFOURCC('4','2','2','P')
1118 #define FOURCC_YV16 mmioFOURCC('Y','V','1','6') // YUV 4:2:2
1119 #define FOURCC_411P mmioFOURCC('4','1','1','P')
1120 #define FOURCC_Y41B mmioFOURCC('Y','4','1','B') // YUV 4:1:1
1121 #define FOURCC_410P mmioFOURCC('4','1','0','P')
1122 #define FOURCC_PAL1 mmioFOURCC('P','A','L','1')
1123 #define FOURCC_PAL4 mmioFOURCC('P','A','L','4')
1124 #define FOURCC_PAL8 mmioFOURCC('P','A','L','8')
1125 #define FOURCC_RGB2 mmioFOURCC('R','G','B','2')
1126 #define FOURCC_RGB3 mmioFOURCC('R','G','B','3')
1127 #define FOURCC_RGB5 mmioFOURCC('R','G','B','5')
1128 #define FOURCC_RGB6 mmioFOURCC('R','G','B','6')
1129 #define FOURCC_CLJR mmioFOURCC('C','L','J','R')
1130 #define FOURCC_Y800 mmioFOURCC('Y','8','0','0')
1131 #define FOURCC_NV12 mmioFOURCC('N','V','1','2')
1132 #define FOURCC_NV21 mmioFOURCC('N','V','2','1')
1134 DEFINE_GUID_FOURCC(422P)
1135 DEFINE_GUID_FOURCC(444P)
1136 DEFINE_GUID_FOURCC(411P)
1137 DEFINE_GUID_FOURCC(410P)
1138 DEFINE_GUID_FOURCC(VYUY)
1139 DEFINE_GUID_FOURCC(Y800)
1140 DEFINE_GUID_FOURCC(NV21)
1141 DEFINE_GUID_FOURCC(YV16)