2008-02-23 14:50:55 +00:00
|
|
|
#ifndef MPLAYER_INTERFACES_H
|
|
|
|
#define MPLAYER_INTERFACES_H
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2001-03-20 00:05:27 +00:00
|
|
|
/*
|
2002-09-13 19:43:17 +00:00
|
|
|
* Definition of important DirectShow interfaces.
|
|
|
|
* Created using freely-available DirectX 8.0 SDK
|
|
|
|
* ( http://msdn.microsoft.com )
|
|
|
|
*/
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2001-11-21 19:12:39 +00:00
|
|
|
#include "iunk.h"
|
2001-10-04 02:21:47 +00:00
|
|
|
#include "com.h"
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2001-03-20 00:05:27 +00:00
|
|
|
/* Sh*t. MSVC++ and g++ use different methods of storing vtables. */
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IReferenceClock IReferenceClock;
|
|
|
|
typedef struct IFilterGraph IFilterGraph;
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IBaseFilter IBaseFilter;
|
2002-09-13 19:43:17 +00:00
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
PINDIR_INPUT = 0,
|
|
|
|
PINDIR_OUTPUT
|
|
|
|
} PIN_DIRECTION;
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct PinInfo
|
2002-09-13 19:43:17 +00:00
|
|
|
{
|
|
|
|
IBaseFilter* pFilter;
|
|
|
|
PIN_DIRECTION dir;
|
|
|
|
unsigned short achName[128];
|
|
|
|
} PIN_INFO;
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct AllocatorProperties
|
2002-09-13 19:43:17 +00:00
|
|
|
{
|
|
|
|
long cBuffers;
|
|
|
|
long cbBuffer;
|
|
|
|
long cbAlign;
|
|
|
|
long cbPrefix;
|
|
|
|
} ALLOCATOR_PROPERTIES;
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IEnumMediaTypes IEnumMediaTypes;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IEnumMediaTypes_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *Next )(IEnumMediaTypes* This,
|
|
|
|
/* [in] */ unsigned long cMediaTypes,
|
|
|
|
/* [size_is][out] */ AM_MEDIA_TYPE** ppMediaTypes,
|
|
|
|
/* [out] */ unsigned long* pcFetched);
|
|
|
|
HRESULT STDCALL ( *Skip )(IEnumMediaTypes* This,
|
|
|
|
/* [in] */ unsigned long cMediaTypes);
|
|
|
|
HRESULT STDCALL ( *Reset )(IEnumMediaTypes* This);
|
|
|
|
HRESULT STDCALL ( *Clone )(IEnumMediaTypes* This,
|
|
|
|
/* [out] */ IEnumMediaTypes** ppEnum);
|
|
|
|
} IEnumMediaTypes_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IEnumMediaTypes { IEnumMediaTypes_vt* vt; };
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IPin IPin;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IPin_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2001-08-16 00:50:02 +00:00
|
|
|
HRESULT STDCALL ( *Connect )(IPin * This,
|
|
|
|
/* [in] */ IPin *pReceivePin,
|
|
|
|
/* [in] */ /*const*/ AM_MEDIA_TYPE *pmt);
|
|
|
|
HRESULT STDCALL ( *ReceiveConnection )(IPin * This,
|
|
|
|
/* [in] */ IPin *pConnector,
|
|
|
|
/* [in] */ const AM_MEDIA_TYPE *pmt);
|
|
|
|
HRESULT STDCALL ( *Disconnect )(IPin * This);
|
|
|
|
HRESULT STDCALL ( *ConnectedTo )(IPin * This, /* [out] */ IPin **pPin);
|
|
|
|
HRESULT STDCALL ( *ConnectionMediaType )(IPin * This,
|
|
|
|
/* [out] */ AM_MEDIA_TYPE *pmt);
|
|
|
|
HRESULT STDCALL ( *QueryPinInfo )(IPin * This, /* [out] */ PIN_INFO *pInfo);
|
|
|
|
HRESULT STDCALL ( *QueryDirection )(IPin * This,
|
|
|
|
/* [out] */ PIN_DIRECTION *pPinDir);
|
|
|
|
HRESULT STDCALL ( *QueryId )(IPin * This, /* [out] */ unsigned short* *Id);
|
|
|
|
HRESULT STDCALL ( *QueryAccept )(IPin * This,
|
|
|
|
/* [in] */ const AM_MEDIA_TYPE *pmt);
|
|
|
|
HRESULT STDCALL ( *EnumMediaTypes )(IPin * This,
|
|
|
|
/* [out] */ IEnumMediaTypes **ppEnum);
|
|
|
|
HRESULT STDCALL ( *QueryInternalConnections )(IPin * This,
|
|
|
|
/* [out] */ IPin **apPin,
|
|
|
|
/* [out][in] */ unsigned long *nPin);
|
|
|
|
HRESULT STDCALL ( *EndOfStream )(IPin * This);
|
|
|
|
HRESULT STDCALL ( *BeginFlush )(IPin * This);
|
|
|
|
HRESULT STDCALL ( *EndFlush )(IPin * This);
|
|
|
|
HRESULT STDCALL ( *NewSegment )(IPin * This,
|
|
|
|
/* [in] */ REFERENCE_TIME tStart,
|
|
|
|
/* [in] */ REFERENCE_TIME tStop,
|
|
|
|
/* [in] */ double dRate);
|
2001-11-21 19:12:39 +00:00
|
|
|
} IPin_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IPin { IPin_vt *vt; };
|
2001-11-21 19:12:39 +00:00
|
|
|
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IEnumPins IEnumPins;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IEnumPins_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
|
|
|
|
2001-12-11 23:29:24 +00:00
|
|
|
// retrieves a specified number of pins in the enumeration sequence..
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *Next )(IEnumPins* This,
|
|
|
|
/* [in] */ unsigned long cPins,
|
|
|
|
/* [size_is][out] */ IPin** ppPins,
|
|
|
|
/* [out] */ unsigned long* pcFetched);
|
2001-12-11 23:29:24 +00:00
|
|
|
// skips over a specified number of pins.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *Skip )(IEnumPins* This,
|
|
|
|
/* [in] */ unsigned long cPins);
|
2001-12-11 23:29:24 +00:00
|
|
|
// resets the enumeration sequence to the beginning.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *Reset )(IEnumPins* This);
|
2001-12-11 23:29:24 +00:00
|
|
|
// makes a copy of the enumerator with the same enumeration state.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *Clone )(IEnumPins* This,
|
|
|
|
/* [out] */ IEnumPins** ppEnum);
|
|
|
|
} IEnumPins_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IEnumPins { struct IEnumPins_vt* vt; };
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IMediaSample IMediaSample;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IMediaSample_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
|
|
|
|
|
|
|
HRESULT STDCALL ( *GetPointer )(IMediaSample* This,
|
|
|
|
/* [out] */ unsigned char** ppBuffer);
|
|
|
|
LONG STDCALL ( *GetSize )(IMediaSample* This);
|
|
|
|
HRESULT STDCALL ( *GetTime )(IMediaSample* This,
|
|
|
|
/* [out] */ REFERENCE_TIME* pTimeStart,
|
|
|
|
/* [out] */ REFERENCE_TIME* pTimeEnd);
|
|
|
|
HRESULT STDCALL ( *SetTime )(IMediaSample* This,
|
|
|
|
/* [in] */ REFERENCE_TIME* pTimeStart,
|
|
|
|
/* [in] */ REFERENCE_TIME* pTimeEnd);
|
2001-12-11 23:29:24 +00:00
|
|
|
|
|
|
|
// sync-point property. If true, then the beginning of this
|
|
|
|
// sample is a sync-point. (note that if AM_MEDIA_TYPE.bTemporalCompression
|
|
|
|
// is false then all samples are sync points). A filter can start
|
|
|
|
// a stream at any sync point. S_FALSE if not sync-point, S_OK if true.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *IsSyncPoint )(IMediaSample* This);
|
|
|
|
HRESULT STDCALL ( *SetSyncPoint )(IMediaSample* This,
|
|
|
|
long bIsSyncPoint);
|
2001-12-11 23:29:24 +00:00
|
|
|
|
|
|
|
// preroll property. If true, this sample is for preroll only and
|
|
|
|
// shouldn't be displayed.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *IsPreroll )(IMediaSample* This);
|
|
|
|
HRESULT STDCALL ( *SetPreroll )(IMediaSample* This,
|
|
|
|
long bIsPreroll);
|
2001-12-11 23:29:24 +00:00
|
|
|
|
2001-11-21 19:12:39 +00:00
|
|
|
LONG STDCALL ( *GetActualDataLength )(IMediaSample* This);
|
|
|
|
HRESULT STDCALL ( *SetActualDataLength )(IMediaSample* This,
|
|
|
|
long __MIDL_0010);
|
2001-12-11 23:29:24 +00:00
|
|
|
|
|
|
|
// these allow for limited format changes in band - if no format change
|
|
|
|
// has been made when you receive a sample GetMediaType will return S_FALSE
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *GetMediaType )(IMediaSample* This,
|
|
|
|
AM_MEDIA_TYPE** ppMediaType);
|
|
|
|
HRESULT STDCALL ( *SetMediaType )(IMediaSample* This,
|
|
|
|
AM_MEDIA_TYPE* pMediaType);
|
2001-12-11 23:29:24 +00:00
|
|
|
|
|
|
|
// returns S_OK if there is a discontinuity in the data (this frame is
|
|
|
|
// not a continuation of the previous stream of data
|
|
|
|
// - there has been a seek or some dropped samples).
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *IsDiscontinuity )(IMediaSample* This);
|
|
|
|
HRESULT STDCALL ( *SetDiscontinuity )(IMediaSample* This,
|
|
|
|
long bDiscontinuity);
|
2001-12-11 23:29:24 +00:00
|
|
|
|
|
|
|
// get the media times for this sample
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *GetMediaTime )(IMediaSample* This,
|
|
|
|
/* [out] */ long long* pTimeStart,
|
|
|
|
/* [out] */ long long* pTimeEnd);
|
2001-12-11 23:29:24 +00:00
|
|
|
// Set the media times for this sample
|
|
|
|
// pTimeStart==pTimeEnd==NULL will invalidate the media time stamps in
|
|
|
|
// this sample
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *SetMediaTime )(IMediaSample* This,
|
|
|
|
/* [in] */ long long* pTimeStart,
|
|
|
|
/* [in] */ long long* pTimeEnd);
|
|
|
|
} IMediaSample_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IMediaSample { struct IMediaSample_vt* vt; };
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2001-11-21 19:12:39 +00:00
|
|
|
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
//typedef struct IBaseFilter IBaseFilter;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IBaseFilter_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *GetClassID )(IBaseFilter * This,
|
|
|
|
/* [out] */ CLSID *pClassID);
|
|
|
|
HRESULT STDCALL ( *Stop )(IBaseFilter * This);
|
|
|
|
HRESULT STDCALL ( *Pause )(IBaseFilter * This);
|
|
|
|
HRESULT STDCALL ( *Run )(IBaseFilter * This,
|
|
|
|
REFERENCE_TIME tStart);
|
|
|
|
HRESULT STDCALL ( *GetState )(IBaseFilter * This,
|
|
|
|
/* [in] */ unsigned long dwMilliSecsTimeout,
|
|
|
|
///* [out] */ FILTER_STATE *State);
|
|
|
|
void* State);
|
|
|
|
HRESULT STDCALL ( *SetSyncSource )(IBaseFilter* This,
|
|
|
|
/* [in] */ IReferenceClock *pClock);
|
|
|
|
HRESULT STDCALL ( *GetSyncSource )(IBaseFilter* This,
|
|
|
|
/* [out] */ IReferenceClock **pClock);
|
|
|
|
HRESULT STDCALL ( *EnumPins )(IBaseFilter* This,
|
|
|
|
/* [out] */ IEnumPins **ppEnum);
|
|
|
|
HRESULT STDCALL ( *FindPin )(IBaseFilter* This,
|
|
|
|
/* [string][in] */ const unsigned short* Id,
|
|
|
|
/* [out] */ IPin** ppPin);
|
|
|
|
HRESULT STDCALL ( *QueryFilterInfo )(IBaseFilter* This,
|
|
|
|
// /* [out] */ FILTER_INFO *pInfo);
|
|
|
|
void* pInfo);
|
|
|
|
HRESULT STDCALL ( *JoinFilterGraph )(IBaseFilter* This,
|
|
|
|
/* [in] */ IFilterGraph* pGraph,
|
|
|
|
/* [string][in] */ const unsigned short* pName);
|
|
|
|
HRESULT STDCALL ( *QueryVendorInfo )(IBaseFilter* This,
|
|
|
|
/* [string][out] */ unsigned short** pVendorInfo);
|
|
|
|
} IBaseFilter_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IBaseFilter { struct IBaseFilter_vt* vt; };
|
2001-11-21 19:12:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IMemAllocator IMemAllocator;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IMemAllocator_vt
|
|
|
|
{
|
|
|
|
INHERIT_IUNKNOWN();
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2001-12-11 23:29:24 +00:00
|
|
|
// specifies the number of buffers to allocate and the size of each buffer.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *SetProperties )(IMemAllocator* This,
|
|
|
|
/* [in] */ ALLOCATOR_PROPERTIES *pRequest,
|
|
|
|
/* [out] */ ALLOCATOR_PROPERTIES *pActual);
|
2001-12-11 23:29:24 +00:00
|
|
|
// retrieves the number of buffers that the allocator will create, and the buffer properties.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *GetProperties )(IMemAllocator* This,
|
|
|
|
/* [out] */ ALLOCATOR_PROPERTIES *pProps);
|
2001-12-11 23:29:24 +00:00
|
|
|
// allocates the buffer memory.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *Commit )(IMemAllocator* This);
|
2001-12-11 23:29:24 +00:00
|
|
|
// releases the memory for the buffers.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *Decommit )(IMemAllocator* This);
|
2001-12-11 23:29:24 +00:00
|
|
|
// retrieves a media sample that contains an empty buffer.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *GetBuffer )(IMemAllocator* This,
|
|
|
|
/* [out] */ IMediaSample** ppBuffer,
|
|
|
|
/* [in] */ REFERENCE_TIME* pStartTime,
|
|
|
|
/* [in] */ REFERENCE_TIME* pEndTime,
|
|
|
|
/* [in] */ unsigned long dwFlags);
|
2001-12-11 23:29:24 +00:00
|
|
|
// releases a media sample.
|
2001-11-21 19:12:39 +00:00
|
|
|
HRESULT STDCALL ( *ReleaseBuffer )(IMemAllocator* This,
|
|
|
|
/* [in] */ IMediaSample* pBuffer);
|
|
|
|
} IMemAllocator_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IMemAllocator { IMemAllocator_vt* vt; };
|
2001-11-21 19:12:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IMemInputPin IMemInputPin;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IMemInputPin_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
|
|
|
|
2001-08-16 00:50:02 +00:00
|
|
|
HRESULT STDCALL ( *GetAllocator )(IMemInputPin * This,
|
|
|
|
/* [out] */ IMemAllocator **ppAllocator);
|
|
|
|
HRESULT STDCALL ( *NotifyAllocator )(IMemInputPin * This,
|
|
|
|
/* [in] */ IMemAllocator *pAllocator,
|
|
|
|
/* [in] */ int bReadOnly);
|
|
|
|
HRESULT STDCALL ( *GetAllocatorRequirements )(IMemInputPin * This,
|
|
|
|
/* [out] */ ALLOCATOR_PROPERTIES *pProps);
|
|
|
|
HRESULT STDCALL ( *Receive )(IMemInputPin * This,
|
|
|
|
/* [in] */ IMediaSample *pSample);
|
|
|
|
HRESULT STDCALL ( *ReceiveMultiple )(IMemInputPin * This,
|
|
|
|
/* [size_is][in] */ IMediaSample **pSamples,
|
|
|
|
/* [in] */ long nSamples,
|
|
|
|
/* [out] */ long *nSamplesProcessed);
|
|
|
|
HRESULT STDCALL ( *ReceiveCanBlock )(IMemInputPin * This);
|
2001-11-21 19:12:39 +00:00
|
|
|
} IMemInputPin_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IMemInputPin { IMemInputPin_vt* vt; };
|
2001-03-20 00:05:27 +00:00
|
|
|
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IHidden IHidden;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IHidden_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
|
|
|
|
|
|
|
HRESULT STDCALL ( *GetSmth )(IHidden* This, int* pv);
|
|
|
|
HRESULT STDCALL ( *SetSmth )(IHidden* This, int v1, int v2);
|
|
|
|
HRESULT STDCALL ( *GetSmth2 )(IHidden* This, int* pv);
|
|
|
|
HRESULT STDCALL ( *SetSmth2 )(IHidden* This, int v1, int v2);
|
|
|
|
HRESULT STDCALL ( *GetSmth3 )(IHidden* This, int* pv);
|
|
|
|
HRESULT STDCALL ( *SetSmth3 )(IHidden* This, int v1, int v2);
|
|
|
|
HRESULT STDCALL ( *GetSmth4 )(IHidden* This, int* pv);
|
|
|
|
HRESULT STDCALL ( *SetSmth4 )(IHidden* This, int v1, int v2);
|
|
|
|
HRESULT STDCALL ( *GetSmth5 )(IHidden* This, int* pv);
|
|
|
|
HRESULT STDCALL ( *SetSmth5 )(IHidden* This, int v1, int v2);
|
|
|
|
HRESULT STDCALL ( *GetSmth6 )(IHidden* This, int* pv);
|
|
|
|
} IHidden_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IHidden { struct IHidden_vt* vt; };
|
2001-11-21 19:12:39 +00:00
|
|
|
|
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct IHidden2 IHidden2;
|
2001-11-21 19:12:39 +00:00
|
|
|
typedef struct IHidden2_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
|
|
|
|
|
|
|
HRESULT STDCALL ( *unk1 )(void);
|
|
|
|
HRESULT STDCALL ( *unk2 )(void);
|
|
|
|
HRESULT STDCALL ( *unk3 )(void);
|
|
|
|
HRESULT STDCALL ( *DecodeGet )(IHidden2* This, int* region);
|
|
|
|
HRESULT STDCALL ( *unk5 )(void);
|
|
|
|
HRESULT STDCALL ( *DecodeSet )(IHidden2* This, int* region);
|
|
|
|
HRESULT STDCALL ( *unk7 )(void);
|
|
|
|
HRESULT STDCALL ( *unk8 )(void);
|
|
|
|
} IHidden2_vt;
|
2008-01-20 17:16:39 +00:00
|
|
|
struct IHidden2 { struct IHidden2_vt* vt; };
|
2001-11-21 19:12:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
// fixme
|
|
|
|
typedef struct IDivxFilterInterface {
|
|
|
|
struct IDivxFilterInterface_vt* vt;
|
|
|
|
} IDivxFilterInterface;
|
|
|
|
|
|
|
|
struct IDivxFilterInterface_vt
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
2001-11-21 19:12:39 +00:00
|
|
|
INHERIT_IUNKNOWN();
|
|
|
|
|
|
|
|
HRESULT STDCALL ( *get_PPLevel )(IDivxFilterInterface* This, int* PPLevel); // current postprocessing level
|
|
|
|
HRESULT STDCALL ( *put_PPLevel )(IDivxFilterInterface* This, int PPLevel); // new postprocessing level
|
|
|
|
HRESULT STDCALL ( *put_DefaultPPLevel )(IDivxFilterInterface* This);
|
|
|
|
HRESULT STDCALL ( *put_MaxDelayAllowed )(IDivxFilterInterface* This, int maxdelayallowed);
|
|
|
|
HRESULT STDCALL ( *put_Brightness )(IDivxFilterInterface* This, int brightness);
|
|
|
|
HRESULT STDCALL ( *put_Contrast )(IDivxFilterInterface* This, int contrast);
|
|
|
|
HRESULT STDCALL ( *put_Saturation )(IDivxFilterInterface* This, int saturation);
|
|
|
|
HRESULT STDCALL ( *get_MaxDelayAllowed )(IDivxFilterInterface* This, int* maxdelayallowed);
|
|
|
|
HRESULT STDCALL ( *get_Brightness)(IDivxFilterInterface* This, int* brightness);
|
|
|
|
HRESULT STDCALL ( *get_Contrast)(IDivxFilterInterface* This, int* contrast);
|
|
|
|
HRESULT STDCALL ( *get_Saturation )(IDivxFilterInterface* This, int* saturation);
|
|
|
|
HRESULT STDCALL ( *put_AspectRatio )(IDivxFilterInterface* This, int x, IDivxFilterInterface* Thisit, int y);
|
|
|
|
HRESULT STDCALL ( *get_AspectRatio )(IDivxFilterInterface* This, int* x, IDivxFilterInterface* Thisit, int* y);
|
2001-03-20 00:05:27 +00:00
|
|
|
};
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /*MPLAYER_INTERFACES_H */
|