Mercurial > mplayer.hg
annotate loader/dmo/DMO_Filter.h @ 26212:876d2f3f71f9
10l: Really disable coreaudio where intended.
author | diego |
---|---|
date | Sat, 15 Mar 2008 09:28:33 +0000 |
parents | a8ea87c71d18 |
children | 26f673ba0675 |
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 | |
7 #if defined(__cplusplus) | |
8 extern "C" { | |
9 #endif | |
10 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
25547
diff
changeset
|
11 typedef struct DMO_Filter |
8294 | 12 { |
13 int m_iHandle; | |
14 IDMOVideoOutputOptimizations* m_pOptim; | |
15 IMediaObject* m_pMedia; | |
16 IMediaObjectInPlace* m_pInPlace; | |
17 AM_MEDIA_TYPE *m_pOurType, *m_pDestType; | |
18 } DMO_Filter; | |
19 | |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
25547
diff
changeset
|
20 typedef struct CMediaBuffer CMediaBuffer; |
8294 | 21 |
22 /** | |
23 * Create DMO_Filter object - similar syntax as for DS_Filter | |
24 */ | |
25 DMO_Filter* DMO_FilterCreate(const char* dllname, const GUID* id, | |
26 AM_MEDIA_TYPE* in_fmt, AM_MEDIA_TYPE* out_fmt); | |
27 /** | |
28 * Destroy DMO_Filter object - release all allocated resources | |
29 */ | |
30 void DMO_Filter_Destroy(DMO_Filter* This); | |
31 | |
32 | |
33 /** | |
34 * Create IMediaBuffer object - to pass/receive data from DMO_Filter | |
35 * | |
36 * maxlen - maximum size for this buffer | |
37 * mem - initial memory 0 - creates memory | |
38 * len - initial size of used portion of the buffer | |
39 * copy - make a local copy of data | |
40 */ | |
41 CMediaBuffer* CMediaBufferCreate(unsigned long maxlen, void* mem, unsigned long len, int copy); | |
42 | |
43 #if defined(__cplusplus) | |
44 } | |
45 #endif | |
46 | |
26045 | 47 #endif /* MPLAYER_DMO_FILTER_H */ |