1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 11:02:10 +00:00
mpv/loader/dshow/inputpin.h
diego 3bbe897e24 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
capital letter are reserved for the system, those starting with _ are
reserved at the file level.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25822 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 17:16:39 +00:00

71 lines
1.3 KiB
C

#ifndef DS_INPUTPIN_H
#define DS_INPUTPIN_H
#include "interfaces.h"
typedef struct CBaseFilter2 CBaseFilter2;
struct CBaseFilter2
{
IBaseFilter_vt* vt;
DECLARE_IUNKNOWN();
IPin* pin;
GUID interfaces[5];
IPin* ( *GetPin )(CBaseFilter2* This);
};
CBaseFilter2* CBaseFilter2Create(void);
typedef struct CBaseFilter CBaseFilter;
struct CBaseFilter
{
IBaseFilter_vt* vt;
DECLARE_IUNKNOWN(); // has to match CBaseFilter2 - INHERITANCE!!
IPin* pin;
IPin* unused_pin;
GUID interfaces[2];
IPin* ( *GetPin )(CBaseFilter* This);
IPin* ( *GetUnusedPin )(CBaseFilter* This);
};
CBaseFilter* CBaseFilterCreate(const AM_MEDIA_TYPE* vhdr, CBaseFilter2* parent);
typedef struct
{
IPin_vt* vt;
DECLARE_IUNKNOWN();
CBaseFilter* parent;
AM_MEDIA_TYPE type;
GUID interfaces[1];
} CInputPin;
CInputPin* CInputPinCreate(CBaseFilter* parent, const AM_MEDIA_TYPE* vhdr);
typedef struct
{
IPin_vt* vt;
DECLARE_IUNKNOWN();
CBaseFilter* parent;
GUID interfaces[1];
IPin* remote_pin;
} CRemotePin;
CRemotePin* CRemotePinCreate(CBaseFilter* pt, IPin* rpin);
typedef struct
{
IPin_vt* vt;
DECLARE_IUNKNOWN();
CBaseFilter2* parent;
GUID interfaces[1];
} CRemotePin2;
CRemotePin2* CRemotePin2Create(CBaseFilter2* parent);
#endif /* DS_INPUTPIN_H */