1 #ifndef MPLAYER_DS_FILTER_H
2 #define MPLAYER_DS_FILTER_H
7 #if defined(__cplusplus)
17 User will allocate and fill format structures, call Create(),
18 and then set up m_pAll.
21 typedef struct DS_Filter DS_Filter
;
25 IBaseFilter
* m_pFilter
;
29 CBaseFilter
* m_pSrcFilter
;
30 CBaseFilter2
* m_pParentFilter
;
32 COutputPin
* m_pOurOutput
;
34 AM_MEDIA_TYPE
*m_pOurType
, *m_pDestType
;
35 IMemAllocator
* m_pAll
;
38 void ( *Start
)(DS_Filter
*);
39 void ( *Stop
)(DS_Filter
*);
42 DS_Filter
* DS_FilterCreate(const char* dllname
, const GUID
* id
,
43 AM_MEDIA_TYPE
* in_fmt
, AM_MEDIA_TYPE
* out_fmt
,SampleProcUserData
* pUserData
);
44 void DS_Filter_Destroy(DS_Filter
* This
);
46 #if defined(__cplusplus)
50 #endif /* MPLAYER_DS_FILTER_H */