sync with en/mplayer.1 r29805
[mplayer/glamo.git] / loader / dshow / guids.h
blob5666ec30416e8f1d14dbd30eba95d28ff5e84b30
1 #ifndef MPLAYER_GUIDS_H
2 #define MPLAYER_GUIDS_H
4 /*
5 this will be defined if <ole2.h> already included before this file
6 under MinGW
7 */
9 #ifndef GUID_DEFINED
10 #include "com.h"
11 #endif
13 #ifndef VFWAPI
14 #include "wine/module.h"
15 #include "wine/windef.h"
16 #include "wine/vfw.h"
17 #endif
19 #include "mediatype.h"
21 //#define Debug if(1)
22 #define Debug if(0)
25 typedef long long REFERENCE_TIME;
27 typedef struct __attribute__((__packed__)) RECT32
29 int left, top, right, bottom;
30 } RECT32;
32 typedef struct __attribute__((__packed__)) tagVIDEOINFOHEADER
34 RECT32 rcSource; // The bit we really want to use
35 RECT32 rcTarget; // Where the video should go
36 unsigned long dwBitRate; // Approximate bit data rate
37 unsigned long dwBitErrorRate; // Bit error rate for this stream
38 REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units)
39 BITMAPINFOHEADER bmiHeader;
40 //int reserved[3];
41 } VIDEOINFOHEADER;
43 typedef GUID CLSID;
44 typedef GUID IID;
46 extern const GUID IID_IBaseFilter;
47 extern const GUID IID_IEnumPins;
48 extern const GUID IID_IEnumMediaTypes;
49 extern const GUID IID_IMemInputPin;
50 extern const GUID IID_IMemAllocator;
51 extern const GUID IID_IMediaSample;
52 extern const GUID IID_DivxHidden;
53 extern const GUID IID_Iv50Hidden;
54 extern const GUID CLSID_DivxDecompressorCF;
55 extern const GUID IID_IDivxFilterInterface;
56 extern const GUID CLSID_IV50_Decoder;
57 extern const GUID CLSID_MemoryAllocator;
58 extern const GUID MEDIATYPE_Video;
59 extern const GUID GUID_NULL;
60 extern const GUID FORMAT_VideoInfo;
61 extern const GUID MEDIASUBTYPE_RGB1;
62 extern const GUID MEDIASUBTYPE_RGB4;
63 extern const GUID MEDIASUBTYPE_RGB8;
64 extern const GUID MEDIASUBTYPE_RGB565;
65 extern const GUID MEDIASUBTYPE_RGB555;
66 extern const GUID MEDIASUBTYPE_RGB24;
67 extern const GUID MEDIASUBTYPE_RGB32;
68 extern const GUID MEDIASUBTYPE_YUYV;
69 extern const GUID MEDIASUBTYPE_IYUV;
70 extern const GUID MEDIASUBTYPE_YVU9;
71 extern const GUID MEDIASUBTYPE_Y411;
72 extern const GUID MEDIASUBTYPE_Y41P;
73 extern const GUID MEDIASUBTYPE_YUY2;
74 extern const GUID MEDIASUBTYPE_YVYU;
75 extern const GUID MEDIASUBTYPE_UYVY;
76 extern const GUID MEDIASUBTYPE_Y211;
77 extern const GUID MEDIASUBTYPE_YV12;
78 extern const GUID MEDIASUBTYPE_I420;
79 extern const GUID MEDIASUBTYPE_IF09;
81 extern const GUID FORMAT_WaveFormatEx;
82 extern const GUID MEDIATYPE_Audio;
83 extern const GUID MEDIASUBTYPE_PCM;
85 #endif /* MPLAYER_GUIDS_H */