Mercurial > mplayer.hg
comparison loader/dshow/graph.h @ 30830:a25ab9c878f9
Style changes as requested by Diego.
author | sesse |
---|---|
date | Tue, 09 Mar 2010 12:40:14 +0000 |
parents | 5f145a3b3832 |
children | 9f57c99fce86 |
comparison
equal
deleted
inserted
replaced
30829:520e26362ad8 | 30830:a25ab9c878f9 |
---|---|
4 #include "interfaces.h" | 4 #include "interfaces.h" |
5 #include "cmediasample.h" | 5 #include "cmediasample.h" |
6 | 6 |
7 typedef struct FilterGraph FilterGraph; | 7 typedef struct FilterGraph FilterGraph; |
8 | 8 |
9 struct FilterGraph | 9 struct FilterGraph { |
10 { | |
11 IFilterGraph_vt* vt; | 10 IFilterGraph_vt* vt; |
12 DECLARE_IUNKNOWN(); | 11 DECLARE_IUNKNOWN(); |
13 GUID interfaces[2]; | 12 GUID interfaces[2]; |
14 | 13 |
15 HRESULT STDCALL ( *AddFilter )(FilterGraph* This, | 14 HRESULT STDCALL (*AddFilter)(FilterGraph* This, |
16 /* [in] */ IBaseFilter* pFilter, | 15 /* [in] */ IBaseFilter* pFilter, |
17 /* [string][in] */ unsigned short* pName); | 16 /* [string][in] */ unsigned short* pName); |
18 HRESULT STDCALL ( *RemoveFilter )(FilterGraph* This, | 17 HRESULT STDCALL (*RemoveFilter)(FilterGraph* This, |
19 /* [in] */ IBaseFilter* pFilter); | 18 /* [in] */ IBaseFilter* pFilter); |
20 HRESULT STDCALL ( *EnumFilters )(FilterGraph* This, | 19 HRESULT STDCALL (*EnumFilters)(FilterGraph* This, |
21 /* [out] */ IEnumFilters** ppEnum); | 20 /* [out] */ IEnumFilters** ppEnum); |
22 HRESULT STDCALL ( *FindFilterByName )(FilterGraph* This, | 21 HRESULT STDCALL (*FindFilterByName)(FilterGraph* This, |
23 /* [string][in] */ unsigned short* pName, | 22 /* [string][in] */ unsigned short* pName, |
24 /* [out] */ IBaseFilter** ppFilter); | 23 /* [out] */ IBaseFilter** ppFilter); |
25 HRESULT STDCALL ( *ConnectDirect )(FilterGraph* This, | 24 HRESULT STDCALL (*ConnectDirect)(FilterGraph* This, |
26 /* [in] */ IPin* ppinOut, | 25 /* [in] */ IPin* ppinOut, |
27 /* [in] */ IPin* ppinIn, | 26 /* [in] */ IPin* ppinIn, |
28 /* [in] */ const AM_MEDIA_TYPE* pmt); | 27 /* [in] */ const AM_MEDIA_TYPE* pmt); |
29 HRESULT STDCALL ( *Reconnect )(FilterGraph* This, | 28 HRESULT STDCALL (*Reconnect)(FilterGraph* This, |
30 /* [in] */ IPin* ppin); | 29 /* [in] */ IPin* ppin); |
31 HRESULT STDCALL ( *Disconnect )(FilterGraph* This, | 30 HRESULT STDCALL (*Disconnect)(FilterGraph* This, |
32 /* [in] */ IPin* ppin); | 31 /* [in] */ IPin* ppin); |
33 HRESULT STDCALL ( *SetDefaultSyncSource )(FilterGraph* This); | 32 HRESULT STDCALL (*SetDefaultSyncSource)(FilterGraph* This); |
34 }; | 33 }; |
35 | 34 |
36 FilterGraph* FilterGraphCreate(void); | 35 FilterGraph* FilterGraphCreate(void); |
37 | 36 |
38 #endif /* MPLAYER_GRAPH_H */ | 37 #endif /* MPLAYER_GRAPH_H */ |