Mercurial > mplayer.hg
comparison loader/dshow/graph.h @ 30828:5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
Fixes compilation on x86-32.
author | cehoyos |
---|---|
date | Tue, 09 Mar 2010 12:00:30 +0000 |
parents | |
children | a25ab9c878f9 |
comparison
equal
deleted
inserted
replaced
30827:5b013ed452fb | 30828:5f145a3b3832 |
---|---|
1 #ifndef MPLAYER_GRAPH_H | |
2 #define MPLAYER_GRAPH_H | |
3 | |
4 #include "interfaces.h" | |
5 #include "cmediasample.h" | |
6 | |
7 typedef struct FilterGraph FilterGraph; | |
8 | |
9 struct FilterGraph | |
10 { | |
11 IFilterGraph_vt* vt; | |
12 DECLARE_IUNKNOWN(); | |
13 GUID interfaces[2]; | |
14 | |
15 HRESULT STDCALL ( *AddFilter )(FilterGraph* This, | |
16 /* [in] */ IBaseFilter* pFilter, | |
17 /* [string][in] */ unsigned short* pName); | |
18 HRESULT STDCALL ( *RemoveFilter )(FilterGraph* This, | |
19 /* [in] */ IBaseFilter* pFilter); | |
20 HRESULT STDCALL ( *EnumFilters )(FilterGraph* This, | |
21 /* [out] */ IEnumFilters** ppEnum); | |
22 HRESULT STDCALL ( *FindFilterByName )(FilterGraph* This, | |
23 /* [string][in] */ unsigned short* pName, | |
24 /* [out] */ IBaseFilter** ppFilter); | |
25 HRESULT STDCALL ( *ConnectDirect )(FilterGraph* This, | |
26 /* [in] */ IPin* ppinOut, | |
27 /* [in] */ IPin* ppinIn, | |
28 /* [in] */ const AM_MEDIA_TYPE* pmt); | |
29 HRESULT STDCALL ( *Reconnect )(FilterGraph* This, | |
30 /* [in] */ IPin* ppin); | |
31 HRESULT STDCALL ( *Disconnect )(FilterGraph* This, | |
32 /* [in] */ IPin* ppin); | |
33 HRESULT STDCALL ( *SetDefaultSyncSource )(FilterGraph* This); | |
34 }; | |
35 | |
36 FilterGraph* FilterGraphCreate(void); | |
37 | |
38 #endif /* MPLAYER_GRAPH_H */ |