annotate loader/dshow/inputpin.h @ 5750:16fed1cbe1c7

shouldn't decode ijpg with lead, as it cannot detect w/h (ijpg is used by -mf)
author arpi
date Sun, 21 Apr 2002 02:11:06 +0000
parents e3bbf44dbab2
children 174e2a58b4cd
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();
3467
e3bbf44dbab2 avifile sync
arpi
parents: 3130
diff changeset
41 CBaseFilter* parent;
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
42 AM_MEDIA_TYPE type;
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 */