Mercurial > mplayer.hg
annotate loader/dshow/graph.h @ 33243:c33f32258d33
Improve cache size spin button.
Set the value shown (start value) to the current cache size, set page
increment to 32 (kBytes) and set page size (which is irrelevant) to zero.
author | ib |
---|---|
date | Mon, 25 Apr 2011 12:38:55 +0000 |
parents | b946a0c28e65 |
children |
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 |
30831 | 4 /* |
5 * Copyright 2010 Steinar H. Gunderson | |
6 * | |
7 * This file is part of MPlayer. | |
8 * | |
9 * MPlayer is free software; you can redistribute it and/or modify | |
10 * it under the terms of the GNU General Public License as published by | |
11 * the Free Software Foundation; either version 2 of the License, or | |
12 * (at your option) any later version. | |
13 * | |
14 * MPlayer is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License along | |
20 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
30832 | 22 */ |
30831 | 23 |
30828
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
24 #include "interfaces.h" |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
25 #include "cmediasample.h" |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
26 |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
27 typedef struct FilterGraph FilterGraph; |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
28 |
30830 | 29 struct FilterGraph { |
30828
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
30 IFilterGraph_vt* vt; |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
31 DECLARE_IUNKNOWN(); |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
32 GUID interfaces[2]; |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
33 |
30830 | 34 HRESULT STDCALL (*AddFilter)(FilterGraph* This, |
35 /* [in] */ IBaseFilter* pFilter, | |
36 /* [string][in] */ unsigned short* pName); | |
37 HRESULT STDCALL (*RemoveFilter)(FilterGraph* This, | |
38 /* [in] */ IBaseFilter* pFilter); | |
39 HRESULT STDCALL (*EnumFilters)(FilterGraph* This, | |
40 /* [out] */ IEnumFilters** ppEnum); | |
41 HRESULT STDCALL (*FindFilterByName)(FilterGraph* This, | |
42 /* [string][in] */ unsigned short* pName, | |
43 /* [out] */ IBaseFilter** ppFilter); | |
44 HRESULT STDCALL (*ConnectDirect)(FilterGraph* This, | |
45 /* [in] */ IPin* ppinOut, | |
46 /* [in] */ IPin* ppinIn, | |
47 /* [in] */ const AM_MEDIA_TYPE* pmt); | |
48 HRESULT STDCALL (*Reconnect)(FilterGraph* This, | |
49 /* [in] */ IPin* ppin); | |
50 HRESULT STDCALL (*Disconnect)(FilterGraph* This, | |
51 /* [in] */ IPin* ppin); | |
52 HRESULT STDCALL (*SetDefaultSyncSource)(FilterGraph* This); | |
30828
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
53 }; |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
54 |
31485
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
55 |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
56 HRESULT STDCALL FilterGraph_AddFilter(FilterGraph* This, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
57 IBaseFilter* pFilter, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
58 unsigned short* pName); |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
59 HRESULT STDCALL FilterGraph_RemoveFilter(FilterGraph* This, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
60 IBaseFilter* pFilter); |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
61 HRESULT STDCALL FilterGraph_EnumFilters(FilterGraph* This, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
62 IEnumFilters** ppEnum); |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
63 HRESULT STDCALL FilterGraph_FindFilterByName(FilterGraph* This, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
64 unsigned short* pName, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
65 IBaseFilter** ppFilter); |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
66 HRESULT STDCALL FilterGraph_ConnectDirect(FilterGraph* This, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
67 IPin* ppinOut, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
68 IPin* ppinIn, |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
69 const AM_MEDIA_TYPE* pmt); |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
70 HRESULT STDCALL FilterGraph_Reconnect(FilterGraph* This, IPin* ppin); |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
71 HRESULT STDCALL FilterGraph_Disconnect(FilterGraph* This, IPin* ppin); |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
72 HRESULT STDCALL FilterGraph_SetDefaultSyncSource(FilterGraph* This); |
b946a0c28e65
Add prototypes for exported FilterGraph_ functions.
diego
parents:
30832
diff
changeset
|
73 |
30828
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
74 FilterGraph* FilterGraphCreate(void); |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
75 |
5f145a3b3832
Commit files by Steinar Gunderson, forgotten in r30866.
cehoyos
parents:
diff
changeset
|
76 #endif /* MPLAYER_GRAPH_H */ |