Mercurial > mplayer.hg
annotate loader/dshow/outputpin.h @ 30301:a33cf9c69731
Change GUID declarations in vo_directx to be static.
author | reimar |
---|---|
date | Sun, 17 Jan 2010 11:43:55 +0000 |
parents | a8ea87c71d18 |
children |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_OUTPUTPIN_H |
2 #define MPLAYER_OUTPUTPIN_H | |
168 | 3 |
1545 | 4 /* "output pin" - the one that connects to output of filter. */ |
5 | |
713 | 6 #include "allocator.h" |
1545 | 7 |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
22398
diff
changeset
|
8 typedef struct COutputMemPin COutputMemPin; |
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
22398
diff
changeset
|
9 typedef struct COutputPin COutputPin; |
1545 | 10 |
22398
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
11 /** |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
12 Callback routine for copying samples from pin into filter |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
13 \param pUserData pointer to user's data |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
14 \param sample IMediaSample |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
15 */ |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
16 typedef HRESULT STDCALL (*SAMPLEPROC)(void* pUserData,IMediaSample*sample); |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
17 |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
22398
diff
changeset
|
18 struct COutputPin |
1545 | 19 { |
3056 | 20 IPin_vt* vt; |
3130 | 21 DECLARE_IUNKNOWN(); |
1545 | 22 COutputMemPin* mempin; |
23 AM_MEDIA_TYPE type; | |
24 IPin* remote; | |
22398
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
25 SAMPLEPROC SampleProc; |
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
26 void* pUserData; |
3056 | 27 void ( *SetNewFormat )(COutputPin*, const AM_MEDIA_TYPE* a); |
1545 | 28 }; |
168 | 29 |
22398
49f01f8fbd60
Rework of copying samples from directshow codecs.
voroshil
parents:
7386
diff
changeset
|
30 COutputPin* COutputPinCreate(const AM_MEDIA_TYPE* amt,SAMPLEPROC SampleProc,void* pUserData); |
3056 | 31 |
26045 | 32 #endif /* MPLAYER_OUTPUTPIN_H */ |