Mercurial > mplayer.hg
annotate loader/dmo/DMO_Filter.h @ 36021:bc1d68f48ca5
Make gtkSetDefaultToCList() static.
It only has file scope.
Additionally, rename it gtkSelectInCList().
author | ib |
---|---|
date | Sun, 31 Mar 2013 17:38:13 +0000 |
parents | 26f673ba0675 |
children |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_DMO_FILTER_H |
2 #define MPLAYER_DMO_FILTER_H | |
8294 | 3 |
4 #include "dmo_guids.h" | |
5 #include "dmo_interfaces.h" | |
6 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
25547
diff
changeset
|
7 typedef struct DMO_Filter |
8294 | 8 { |
9 int m_iHandle; | |
10 IDMOVideoOutputOptimizations* m_pOptim; | |
11 IMediaObject* m_pMedia; | |
12 IMediaObjectInPlace* m_pInPlace; | |
13 AM_MEDIA_TYPE *m_pOurType, *m_pDestType; | |
14 } DMO_Filter; | |
15 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
25547
diff
changeset
|
16 typedef struct CMediaBuffer CMediaBuffer; |
8294 | 17 |
18 /** | |
19 * Create DMO_Filter object - similar syntax as for DS_Filter | |
20 */ | |
21 DMO_Filter* DMO_FilterCreate(const char* dllname, const GUID* id, | |
22 AM_MEDIA_TYPE* in_fmt, AM_MEDIA_TYPE* out_fmt); | |
23 /** | |
24 * Destroy DMO_Filter object - release all allocated resources | |
25 */ | |
26 void DMO_Filter_Destroy(DMO_Filter* This); | |
27 | |
28 | |
29 /** | |
30 * Create IMediaBuffer object - to pass/receive data from DMO_Filter | |
31 * | |
32 * maxlen - maximum size for this buffer | |
33 * mem - initial memory 0 - creates memory | |
34 * len - initial size of used portion of the buffer | |
35 * copy - make a local copy of data | |
36 */ | |
37 CMediaBuffer* CMediaBufferCreate(unsigned long maxlen, void* mem, unsigned long len, int copy); | |
38 | |
26045 | 39 #endif /* MPLAYER_DMO_FILTER_H */ |