annotate loader/dshow/inputpin.h @ 3161:950496933384

configure cleanups: a few typos a few reordering (C src / _blah=no / cc_check && _blah=yes) preliminary support to display a summary of enabled modules at the end of the run of ./configure (only AO & VO right now/check for _{a,v}omodules) cleanups of config.mak : X_LIBS gathered everything and whatever - no longer the case Makefile cleanups to match the ones done in config.mak NB: it still compiles here (but I'm pretty sure this will break on some systems :)
author pl
date Tue, 27 Nov 2001 17:58:29 +0000
parents 623cdb771e97
children e3bbf44dbab2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
1 #ifndef DS_INPUTPIN_H
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
2 #define DS_INPUTPIN_H
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
3
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
4 #include "interfaces.h"
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
5
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
6 typedef struct _CBaseFilter2 CBaseFilter2;
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
7 struct _CBaseFilter2
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
8 {
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
9 IBaseFilter_vt* vt;
3130
623cdb771e97 avifile sync. seems to some bugs fixed...
arpi
parents: 3056
diff changeset
10 DECLARE_IUNKNOWN();
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
11 IPin* pin;
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
12 GUID interfaces[5];
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
13
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
14 IPin* ( *GetPin )(CBaseFilter2* This);
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
15 };
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
16
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
17 CBaseFilter2* CBaseFilter2Create();
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
18
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
19
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
20 typedef struct _CBaseFilter CBaseFilter;
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
21 struct _CBaseFilter
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
22 {
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
23 IBaseFilter_vt* vt;
3130
623cdb771e97 avifile sync. seems to some bugs fixed...
arpi
parents: 3056
diff changeset
24 DECLARE_IUNKNOWN(); // has to match CBaseFilter2 - INHERITANCE!!
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
25 IPin* pin;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
26 IPin* unused_pin;
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
27 GUID interfaces[2];
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
28
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
29 IPin* ( *GetPin )(CBaseFilter* This);
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
30 IPin* ( *GetUnusedPin )(CBaseFilter* This);
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
31 };
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
32
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
33 CBaseFilter* CBaseFilterCreate(const AM_MEDIA_TYPE* vhdr, CBaseFilter2* parent);
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
34
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
35
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
36 typedef struct _CInputPin CInputPin;
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
37 struct _CInputPin
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
38 {
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
39 IPin_vt* vt;
3130
623cdb771e97 avifile sync. seems to some bugs fixed...
arpi
parents: 3056
diff changeset
40 DECLARE_IUNKNOWN();
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
41 AM_MEDIA_TYPE type;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
42 CBaseFilter* parent;
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
43 GUID interfaces[1];
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
44 };
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
45
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
46 CInputPin* CInputPinCreate(CBaseFilter* parent, const AM_MEDIA_TYPE* vhdr);
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
47
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
48
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
49 typedef struct CRemotePin
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
50 {
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
51 IPin_vt* vt;
3130
623cdb771e97 avifile sync. seems to some bugs fixed...
arpi
parents: 3056
diff changeset
52 DECLARE_IUNKNOWN();
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
53 CBaseFilter* parent;
3130
623cdb771e97 avifile sync. seems to some bugs fixed...
arpi
parents: 3056
diff changeset
54 GUID interfaces[1];
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
55 IPin* remote_pin;
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
56 } CRemotePin;
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
57
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
58 CRemotePin* CRemotePinCreate(CBaseFilter* pt, IPin* rpin);
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
59
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
60
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
61 typedef struct CRemotePin2
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
62 {
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
63 IPin_vt* vt;
3130
623cdb771e97 avifile sync. seems to some bugs fixed...
arpi
parents: 3056
diff changeset
64 DECLARE_IUNKNOWN();
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
65 CBaseFilter2* parent;
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
66 GUID interfaces[1];
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
67 } CRemotePin2;
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
68
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
69 CRemotePin2* CRemotePin2Create(CBaseFilter2* parent);
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
70
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
71 #endif /* DS_INPUTPIN_H */