diff options
Diffstat (limited to 'src/libw32dll/DirectShow/outputpin.h')
-rw-r--r-- | src/libw32dll/DirectShow/outputpin.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/libw32dll/DirectShow/outputpin.h b/src/libw32dll/DirectShow/outputpin.h new file mode 100644 index 000000000..6313f5525 --- /dev/null +++ b/src/libw32dll/DirectShow/outputpin.h @@ -0,0 +1,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,const AM_MEDIA_TYPE * a); + +#endif /* DS_OUTPUTPIN_H */ |