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;
|
168
|
14 char** frame_pointer;
|
|
15 long* frame_size_pointer;
|
713
|
16 MemAllocator* pAllocator;
|
1545
|
17 COutputPin* parent;
|
|
18 };
|
|
19
|
3056
|
20 struct _COutputPin
|
1545
|
21 {
|
3056
|
22 IPin_vt* vt;
|
1545
|
23 COutputMemPin* mempin;
|
|
24 int refcount;
|
|
25 AM_MEDIA_TYPE type;
|
|
26 IPin* remote;
|
3056
|
27 void ( *SetFramePointer )(COutputPin*, char** z);
|
|
28 void ( *SetPointer2 )(COutputPin*, char* p);
|
|
29 void ( *SetFrameSizePointer )(COutputPin*, long* z);
|
|
30 void ( *SetNewFormat )(COutputPin*, const AM_MEDIA_TYPE* a);
|
1545
|
31 };
|
168
|
32
|
3056
|
33 COutputPin* COutputPinCreate(const AM_MEDIA_TYPE* vhdr);
|
|
34
|
1545
|
35 #endif /* DS_OUTPUTPIN_H */
|