comparison loader/dshow/DS_Filter.h @ 168:bdc4a8fc04d8

Initial revision
author arpi_esp
date Tue, 20 Mar 2001 00:05:27 +0000
parents
children a1fe76547e8f
comparison
equal deleted inserted replaced
167:53f289e99102 168:bdc4a8fc04d8
1 #ifndef DS_Filter_H
2 #define DS_Filter_H
3
4 #include "interfaces.h"
5 #include "inputpin.h"
6 #include "outputpin.h"
7 #include <string>
8 using namespace std;
9 /**
10 User will allocate and fill format structures, call Create(),
11 and then set up m_pAll.
12 **/
13 class DS_Filter
14 {
15 protected:
16 public:
17 DS_Filter();
18 virtual ~DS_Filter();
19 void Create(string dllname, const GUID* id, AM_MEDIA_TYPE* in_fmt, AM_MEDIA_TYPE* out_fmt);
20 void Start();
21 void Stop();
22 int m_iHandle;
23 IBaseFilter* m_pFilter;
24 IPin* m_pInputPin;
25 IPin* m_pOutputPin;
26
27 CBaseFilter* m_pSrcFilter;
28 CBaseFilter2* m_pParentFilter;
29 IPin* m_pOurInput;
30 COutputPin* m_pOurOutput;
31
32 AM_MEDIA_TYPE *m_pOurType, *m_pDestType;
33 IMemAllocator* m_pAll;
34 IMemInputPin* m_pImp;
35 int m_iState;
36 protected:
37 };
38
39 #endif