blob: 8f4fe1f63af7a5fa1aa76a90704c2fd51d7eb7f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef DS_OUTPUTPIN_H
#define DS_OUTPUTPIN_H
/* "output pin" - the one that connects to output of filter. */
#include "allocator.h"
typedef struct _COutputPin COutputPin;
typedef struct _COutputMemPin
{
IMemInputPin_vt *vt;
char** frame_pointer;
long* frame_size_pointer;
MemAllocator* pAllocator;
COutputPin* parent;
}COutputMemPin;
struct _COutputPin
{
IPin_vt *vt;
COutputMemPin* mempin;
int refcount;
AM_MEDIA_TYPE type;
IPin* remote;
};
COutputPin * COutputPin_Create(const AM_MEDIA_TYPE * vh);
void COutputPin_Destroy(COutputPin *this);
void COutputPin_SetFramePointer(COutputPin *this,char** z);
void COutputPin_SetPointer2(COutputPin *this,char* p);
void COutputPin_SetFrameSizePointer(COutputPin *this,long* z);
void COutputPin_SetNewFormat(COutputPin *this, AM_MEDIA_TYPE * a);
#endif /* DS_OUTPUTPIN_H */
|