annotate loader/dshow/DS_Filter.h @ 1975:93028c9ee819

ready
author gabucino
date Wed, 26 Sep 2001 23:48:12 +0000
parents da26060c81ef
children 213b35f84cf3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
1 #ifndef DS_FILTER_H
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
2 #define DS_FILTER_H
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
3
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
4 #include "interfaces.h"
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
5 #include "inputpin.h"
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
6 #include "outputpin.h"
713
9355b2ae634e avifile-0.6-CVS merge
arpi_esp
parents: 342
diff changeset
7
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
8 /**
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
9 User will allocate and fill format structures, call Create(),
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
10 and then set up m_pAll.
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
11 **/
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
12
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
13 struct DS_Filter
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
14 {
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
15 DS_Filter();
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
16 virtual ~DS_Filter();
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
17 void Start();
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
18 void Stop();
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
19
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
20 int m_iHandle;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
21 IBaseFilter* m_pFilter;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
22 IPin* m_pInputPin;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
23 IPin* m_pOutputPin;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
24
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
25 CBaseFilter* m_pSrcFilter;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
26 CBaseFilter2* m_pParentFilter;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
27 IPin* m_pOurInput;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
28 COutputPin* m_pOurOutput;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
29
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
30 AM_MEDIA_TYPE *m_pOurType, *m_pDestType;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
31 IMemAllocator* m_pAll;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
32 IMemInputPin* m_pImp;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
33 int m_iState;
713
9355b2ae634e avifile-0.6-CVS merge
arpi_esp
parents: 342
diff changeset
34
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
35 void Create(const char* dllname, const GUID* id, AM_MEDIA_TYPE* in_fmt, AM_MEDIA_TYPE* out_fmt);
713
9355b2ae634e avifile-0.6-CVS merge
arpi_esp
parents: 342
diff changeset
36 void SetPointer(char* pointer);
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
37
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
38 void destroy();
713
9355b2ae634e avifile-0.6-CVS merge
arpi_esp
parents: 342
diff changeset
39 };
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
40
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
41 #endif /* DS_FILTER_H */