Mercurial > mplayer.hg
annotate 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 |
rev | line source |
---|---|
30828
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
1 #ifndef MPLAYER_GRAPH_H |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
2 #define MPLAYER_GRAPH_H |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
3 |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
4 #include "interfaces.h" |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
5 #include "cmediasample.h" |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
6 |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
7 typedef struct FilterGraph FilterGraph; |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
8 |
30830 | 9 struct FilterGraph { |
30828
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
10 IFilterGraph_vt* vt; |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
11 DECLARE_IUNKNOWN(); |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
12 GUID interfaces[2]; |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
13 |
30830 | 14 HRESULT STDCALL (*AddFilter)(FilterGraph* This, |
15 /* [in] */ IBaseFilter* pFilter, | |
16 /* [string][in] */ unsigned short* pName); | |
17 HRESULT STDCALL (*RemoveFilter)(FilterGraph* This, | |
18 /* [in] */ IBaseFilter* pFilter); | |
19 HRESULT STDCALL (*EnumFilters)(FilterGraph* This, | |
20 /* [out] */ IEnumFilters** ppEnum); | |
21 HRESULT STDCALL (*FindFilterByName)(FilterGraph* This, | |
22 /* [string][in] */ unsigned short* pName, | |
23 /* [out] */ IBaseFilter** ppFilter); | |
24 HRESULT STDCALL (*ConnectDirect)(FilterGraph* This, | |
25 /* [in] */ IPin* ppinOut, | |
26 /* [in] */ IPin* ppinIn, | |
27 /* [in] */ const AM_MEDIA_TYPE* pmt); | |
28 HRESULT STDCALL (*Reconnect)(FilterGraph* This, | |
29 /* [in] */ IPin* ppin); | |
30 HRESULT STDCALL (*Disconnect)(FilterGraph* This, | |
31 /* [in] */ IPin* ppin); | |
32 HRESULT STDCALL (*SetDefaultSyncSource)(FilterGraph* This); | |
30828
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
33 }; |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
34 |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
35 FilterGraph* FilterGraphCreate(void); |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
36 |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
37 #endif /* MPLAYER_GRAPH_H */ |