1 #ifndef MPLAYER_GUIDS_H
2 #define MPLAYER_GUIDS_H
5 this will be defined if <ole2.h> already included before this file
10 #include "loader/com.h"
14 #include "loader/wine/module.h"
15 #include "loader/wine/windef.h"
16 #include "loader/wine/vfw.h"
19 #include "mediatype.h"
25 typedef long long REFERENCE_TIME
;
27 typedef struct __attribute__((__packed__
)) RECT32
29 int left
, top
, right
, bottom
;
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
;
46 extern const GUID IID_IBaseFilter
;
47 extern const GUID IID_IEnumPins
;
48 extern const GUID IID_IEnumMediaTypes
;
49 extern const GUID IID_IFilterGraph
;
50 extern const GUID IID_IMemInputPin
;
51 extern const GUID IID_IMemAllocator
;
52 extern const GUID IID_IMediaSample
;
53 extern const GUID IID_DivxHidden
;
54 extern const GUID IID_Iv50Hidden
;
55 extern const GUID CLSID_DivxDecompressorCF
;
56 extern const GUID IID_IDivxFilterInterface
;
57 extern const GUID CLSID_IV50_Decoder
;
58 extern const GUID CLSID_FilterGraph
;
59 extern const GUID CLSID_MemoryAllocator
;
60 extern const GUID MEDIATYPE_Video
;
61 // avoid a clash with MinGW-W64 libuuid
62 #define GUID_NULL MP_GUID_NULL
63 extern const GUID GUID_NULL
;
64 extern const GUID FORMAT_VideoInfo
;
65 extern const GUID MEDIASUBTYPE_RGB1
;
66 extern const GUID MEDIASUBTYPE_RGB4
;
67 extern const GUID MEDIASUBTYPE_RGB8
;
68 extern const GUID MEDIASUBTYPE_RGB565
;
69 extern const GUID MEDIASUBTYPE_RGB555
;
70 extern const GUID MEDIASUBTYPE_RGB24
;
71 extern const GUID MEDIASUBTYPE_RGB32
;
72 extern const GUID MEDIASUBTYPE_YUYV
;
73 extern const GUID MEDIASUBTYPE_IYUV
;
74 extern const GUID MEDIASUBTYPE_YVU9
;
75 extern const GUID MEDIASUBTYPE_Y411
;
76 extern const GUID MEDIASUBTYPE_Y41P
;
77 extern const GUID MEDIASUBTYPE_YUY2
;
78 extern const GUID MEDIASUBTYPE_YVYU
;
79 extern const GUID MEDIASUBTYPE_UYVY
;
80 extern const GUID MEDIASUBTYPE_Y211
;
81 extern const GUID MEDIASUBTYPE_YV12
;
82 extern const GUID MEDIASUBTYPE_I420
;
83 extern const GUID MEDIASUBTYPE_IF09
;
85 extern const GUID FORMAT_WaveFormatEx
;
86 extern const GUID MEDIATYPE_Audio
;
87 extern const GUID MEDIASUBTYPE_PCM
;
89 #endif /* MPLAYER_GUIDS_H */