Mercurial > mplayer.hg
annotate loader/dshow/guids.h @ 30533:e3e329bc727a
Avoid forward declarations for import_initial_playtree_into_gui() and
import_playtree_playlist_into_gui; declare them in interface.h instead.
author | diego |
---|---|
date | Sun, 14 Feb 2010 13:49:31 +0000 |
parents | d0b5ec16fb23 |
children | c121d03db8b9 |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_GUIDS_H |
2 #define MPLAYER_GUIDS_H | |
1545 | 3 |
24428
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
4 /* |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
5 this will be defined if <ole2.h> already included before this file |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
6 under MinGW |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
7 */ |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
8 |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
9 #ifndef GUID_DEFINED |
30170
008338d7679f
Drop -Iloader from CPPFLAGS for the loader subdirectory.
diego
parents:
26045
diff
changeset
|
10 #include "loader/com.h" |
24428
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
11 #endif |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
12 |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
13 #ifndef VFWAPI |
30170
008338d7679f
Drop -Iloader from CPPFLAGS for the loader subdirectory.
diego
parents:
26045
diff
changeset
|
14 #include "loader/wine/module.h" |
008338d7679f
Drop -Iloader from CPPFLAGS for the loader subdirectory.
diego
parents:
26045
diff
changeset
|
15 #include "loader/wine/windef.h" |
008338d7679f
Drop -Iloader from CPPFLAGS for the loader subdirectory.
diego
parents:
26045
diff
changeset
|
16 #include "loader/wine/vfw.h" |
24428
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
17 #endif |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
18 |
4691811bd8c7
Move AM_MEDIA_TYPE structure definition to mediatype.h.
voroshil
parents:
8292
diff
changeset
|
19 #include "mediatype.h" |
2069 | 20 |
8292 | 21 //#define Debug if(1) |
22 #define Debug if(0) | |
168 | 23 |
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; | |
30306 | 59 // avoid a clash with MinGW-W64 libuuid |
60 #define GUID_NULL MP_GUID_NULL | |
7386 | 61 extern const GUID GUID_NULL; |
62 extern const GUID FORMAT_VideoInfo; | |
8292 | 63 extern const GUID MEDIASUBTYPE_RGB1; |
64 extern const GUID MEDIASUBTYPE_RGB4; | |
65 extern const GUID MEDIASUBTYPE_RGB8; | |
7386 | 66 extern const GUID MEDIASUBTYPE_RGB565; |
67 extern const GUID MEDIASUBTYPE_RGB555; | |
68 extern const GUID MEDIASUBTYPE_RGB24; | |
69 extern const GUID MEDIASUBTYPE_RGB32; | |
70 extern const GUID MEDIASUBTYPE_YUYV; | |
71 extern const GUID MEDIASUBTYPE_IYUV; | |
72 extern const GUID MEDIASUBTYPE_YVU9; | |
73 extern const GUID MEDIASUBTYPE_Y411; | |
74 extern const GUID MEDIASUBTYPE_Y41P; | |
75 extern const GUID MEDIASUBTYPE_YUY2; | |
76 extern const GUID MEDIASUBTYPE_YVYU; | |
77 extern const GUID MEDIASUBTYPE_UYVY; | |
78 extern const GUID MEDIASUBTYPE_Y211; | |
79 extern const GUID MEDIASUBTYPE_YV12; | |
80 extern const GUID MEDIASUBTYPE_I420; | |
81 extern const GUID MEDIASUBTYPE_IF09; | |
168 | 82 |
8292 | 83 extern const GUID FORMAT_WaveFormatEx; |
84 extern const GUID MEDIATYPE_Audio; | |
85 extern const GUID MEDIASUBTYPE_PCM; | |
86 | |
26045 | 87 #endif /* MPLAYER_GUIDS_H */ |