1 #ifndef MPLAYER_DS_FILTER_H
2 #define MPLAYER_DS_FILTER_H
13 User will allocate and fill format structures, call Create(),
14 and then set up m_pAll.
17 typedef struct DS_Filter DS_Filter
;
21 IBaseFilter
* m_pFilter
;
25 CBaseFilter
* m_pSrcFilter
;
26 CBaseFilter2
* m_pParentFilter
;
28 COutputPin
* m_pOurOutput
;
30 AM_MEDIA_TYPE
*m_pOurType
, *m_pDestType
;
31 IMemAllocator
* m_pAll
;
34 void ( *Start
)(DS_Filter
*);
35 void ( *Stop
)(DS_Filter
*);
38 DS_Filter
* DS_FilterCreate(const char* dllname
, const GUID
* id
,
39 AM_MEDIA_TYPE
* in_fmt
, AM_MEDIA_TYPE
* out_fmt
,SampleProcUserData
* pUserData
);
40 void DS_Filter_Destroy(DS_Filter
* This
);
42 #endif /* MPLAYER_DS_FILTER_H */