7386
|
1 #ifndef DS_GUIDS_H
|
|
2 #define DS_GUIDS_H
|
1545
|
3
|
2069
|
4 #include "com.h"
|
3467
|
5 #include "wine/module.h"
|
|
6 #include "wine/windef.h"
|
2069
|
7 #include "wine/vfw.h"
|
|
8
|
168
|
9 extern int DSHOW_DEBUG;
|
|
10 #define Debug if(DSHOW_DEBUG)
|
|
11
|
3467
|
12 typedef struct __attribute__((__packed__)) _MediaType
|
168
|
13 {
|
3056
|
14 GUID majortype; //0x0
|
|
15 GUID subtype; //0x10
|
|
16 int bFixedSizeSamples; //0x20
|
|
17 int bTemporalCompression; //0x24
|
|
18 unsigned long lSampleSize; //0x28
|
|
19 GUID formattype; //0x2c
|
|
20 IUnknown* pUnk; //0x3c
|
|
21 unsigned long cbFormat; //0x40
|
3467
|
22 char* pbFormat; //0x44
|
168
|
23 } AM_MEDIA_TYPE;
|
1545
|
24
|
168
|
25 typedef long long REFERENCE_TIME;
|
1545
|
26
|
3467
|
27 typedef struct __attribute__((__packed__)) RECT32
|
168
|
28 {
|
|
29 int left, top, right, bottom;
|
3056
|
30 } RECT32;
|
1545
|
31
|
7386
|
32 typedef struct __attribute__((__packed__)) tagVIDEOINFOHEADER
|
|
33 {
|
168
|
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
|
1545
|
38 REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units)
|
3467
|
39 BITMAPINFOHEADER bmiHeader;
|
|
40 //int reserved[3];
|
1545
|
41 } VIDEOINFOHEADER;
|
168
|
42
|
7386
|
43 typedef GUID CLSID;
|
|
44 typedef GUID IID;
|
3056
|
45
|
7386
|
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_RGB565;
|
|
62 extern const GUID MEDIASUBTYPE_RGB555;
|
|
63 extern const GUID MEDIASUBTYPE_RGB24;
|
|
64 extern const GUID MEDIASUBTYPE_RGB32;
|
|
65 extern const GUID MEDIASUBTYPE_YUYV;
|
|
66 extern const GUID MEDIASUBTYPE_IYUV;
|
|
67 extern const GUID MEDIASUBTYPE_YVU9;
|
|
68 extern const GUID MEDIASUBTYPE_Y411;
|
|
69 extern const GUID MEDIASUBTYPE_Y41P;
|
|
70 extern const GUID MEDIASUBTYPE_YUY2;
|
|
71 extern const GUID MEDIASUBTYPE_YVYU;
|
|
72 extern const GUID MEDIASUBTYPE_UYVY;
|
|
73 extern const GUID MEDIASUBTYPE_Y211;
|
|
74 extern const GUID MEDIASUBTYPE_YV12;
|
|
75 extern const GUID MEDIASUBTYPE_I420;
|
|
76 extern const GUID MEDIASUBTYPE_IF09;
|
168
|
77
|
7386
|
78 #endif /* DS_GUIDS_H */
|