Mercurial > mplayer.hg
annotate loader/dshow/DS_Filter.h @ 35760:1aedd24c032b
Cosmetic: Rename ReDraw DrawHandler.
author | ib |
---|---|
date | Thu, 24 Jan 2013 16:56:44 +0000 |
parents | 26f673ba0675 |
children |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_DS_FILTER_H |
2 #define MPLAYER_DS_FILTER_H | |
168 | 3 |
4 #include "inputpin.h" | |
5 #include "outputpin.h" | |
713 | 6 |
22398
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
3467
diff
changeset
|
7 typedef struct { |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
3467
diff
changeset
|
8 char* frame_pointer; |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
3467
diff
changeset
|
9 long frame_size; |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
3467
diff
changeset
|
10 } SampleProcUserData; |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
3467
diff
changeset
|
11 |
168 | 12 /** |
1545 | 13 User will allocate and fill format structures, call Create(), |
14 and then set up m_pAll. | |
15 **/ | |
16 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
22398
diff
changeset
|
17 typedef struct DS_Filter DS_Filter; |
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
22398
diff
changeset
|
18 struct DS_Filter |
168 | 19 { |
20 int m_iHandle; | |
21 IBaseFilter* m_pFilter; | |
22 IPin* m_pInputPin; | |
23 IPin* m_pOutputPin; | |
3056 | 24 |
168 | 25 CBaseFilter* m_pSrcFilter; |
26 CBaseFilter2* m_pParentFilter; | |
27 IPin* m_pOurInput; | |
28 COutputPin* m_pOurOutput; | |
3056 | 29 |
168 | 30 AM_MEDIA_TYPE *m_pOurType, *m_pDestType; |
31 IMemAllocator* m_pAll; | |
32 IMemInputPin* m_pImp; | |
713 | 33 |
3056 | 34 void ( *Start )(DS_Filter*); |
35 void ( *Stop )(DS_Filter*); | |
713 | 36 }; |
168 | 37 |
3056 | 38 DS_Filter* DS_FilterCreate(const char* dllname, const GUID* id, |
22398
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
3467
diff
changeset
|
39 AM_MEDIA_TYPE* in_fmt, AM_MEDIA_TYPE* out_fmt,SampleProcUserData* pUserData); |
3056 | 40 void DS_Filter_Destroy(DS_Filter* This); |
41 | |
26045 | 42 #endif /* MPLAYER_DS_FILTER_H */ |