1545
|
1 #ifndef DS_OUTPUTPIN_H
|
|
2 #define DS_OUTPUTPIN_H
|
168
|
3
|
1545
|
4 /* "output pin" - the one that connects to output of filter. */
|
|
5
|
713
|
6 #include "allocator.h"
|
1545
|
7
|
3056
|
8 typedef struct _COutputPin COutputPin;
|
1545
|
9
|
3056
|
10 typedef struct _COutputMemPin COutputMemPin;
|
|
11 struct _COutputMemPin
|
168
|
12 {
|
3056
|
13 IMemInputPin_vt* vt;
|
3130
|
14 DECLARE_IUNKNOWN();
|
168
|
15 char** frame_pointer;
|
|
16 long* frame_size_pointer;
|
713
|
17 MemAllocator* pAllocator;
|
1545
|
18 COutputPin* parent;
|
|
19 };
|
|
20
|
3056
|
21 struct _COutputPin
|
1545
|
22 {
|
3056
|
23 IPin_vt* vt;
|
3130
|
24 DECLARE_IUNKNOWN();
|
1545
|
25 COutputMemPin* mempin;
|
|
26 AM_MEDIA_TYPE type;
|
|
27 IPin* remote;
|
3056
|
28 void ( *SetFramePointer )(COutputPin*, char** z);
|
|
29 void ( *SetPointer2 )(COutputPin*, char* p);
|
|
30 void ( *SetFrameSizePointer )(COutputPin*, long* z);
|
|
31 void ( *SetNewFormat )(COutputPin*, const AM_MEDIA_TYPE* a);
|
1545
|
32 };
|
168
|
33
|
3056
|
34 COutputPin* COutputPinCreate(const AM_MEDIA_TYPE* vhdr);
|
|
35
|
1545
|
36 #endif /* DS_OUTPUTPIN_H */
|