annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
9 struct FilterGraph
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
10 {
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
11 IFilterGraph_vt* vt;
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
12 DECLARE_IUNKNOWN();
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
13 GUID interfaces[2];
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
14
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
15 HRESULT STDCALL ( *AddFilter )(FilterGraph* This,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
16 /* [in] */ IBaseFilter* pFilter,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
17 /* [string][in] */ unsigned short* pName);
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
18 HRESULT STDCALL ( *RemoveFilter )(FilterGraph* This,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
19 /* [in] */ IBaseFilter* pFilter);
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
20 HRESULT STDCALL ( *EnumFilters )(FilterGraph* This,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
21 /* [out] */ IEnumFilters** ppEnum);
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
22 HRESULT STDCALL ( *FindFilterByName )(FilterGraph* This,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
23 /* [string][in] */ unsigned short* pName,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
24 /* [out] */ IBaseFilter** ppFilter);
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
25 HRESULT STDCALL ( *ConnectDirect )(FilterGraph* This,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
26 /* [in] */ IPin* ppinOut,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
27 /* [in] */ IPin* ppinIn,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
28 /* [in] */ const AM_MEDIA_TYPE* pmt);
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
29 HRESULT STDCALL ( *Reconnect )(FilterGraph* This,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
30 /* [in] */ IPin* ppin);
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
31 HRESULT STDCALL ( *Disconnect )(FilterGraph* This,
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
32 /* [in] */ IPin* ppin);
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
33 HRESULT STDCALL ( *SetDefaultSyncSource )(FilterGraph* This);
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
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
36 FilterGraph* FilterGraphCreate(void);
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
37
5f145a3b3832 Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff changeset
38 #endif /* MPLAYER_GRAPH_H */