2008-02-23 14:50:55 +00:00
|
|
|
#ifndef MPLAYER_GUIDS_H
|
|
|
|
#define MPLAYER_GUIDS_H
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2007-09-13 16:13:37 +00:00
|
|
|
/*
|
|
|
|
this will be defined if <ole2.h> already included before this file
|
|
|
|
under MinGW
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GUID_DEFINED
|
2001-10-04 02:21:47 +00:00
|
|
|
#include "com.h"
|
2007-09-13 16:13:37 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef VFWAPI
|
2001-12-11 23:29:24 +00:00
|
|
|
#include "wine/module.h"
|
|
|
|
#include "wine/windef.h"
|
2001-10-04 02:21:47 +00:00
|
|
|
#include "wine/vfw.h"
|
2007-09-13 16:13:37 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "mediatype.h"
|
2001-10-04 02:21:47 +00:00
|
|
|
|
2002-11-26 21:00:20 +00:00
|
|
|
//#define Debug if(1)
|
|
|
|
#define Debug if(0)
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2001-03-20 00:05:27 +00:00
|
|
|
typedef long long REFERENCE_TIME;
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2001-12-11 23:29:24 +00:00
|
|
|
typedef struct __attribute__((__packed__)) RECT32
|
2001-03-20 00:05:27 +00:00
|
|
|
{
|
|
|
|
int left, top, right, bottom;
|
2001-11-21 19:12:39 +00:00
|
|
|
} RECT32;
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2002-09-13 19:43:17 +00:00
|
|
|
typedef struct __attribute__((__packed__)) tagVIDEOINFOHEADER
|
|
|
|
{
|
2001-03-20 00:05:27 +00:00
|
|
|
RECT32 rcSource; // The bit we really want to use
|
|
|
|
RECT32 rcTarget; // Where the video should go
|
|
|
|
unsigned long dwBitRate; // Approximate bit data rate
|
|
|
|
unsigned long dwBitErrorRate; // Bit error rate for this stream
|
2001-08-16 00:50:02 +00:00
|
|
|
REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units)
|
2001-12-11 23:29:24 +00:00
|
|
|
BITMAPINFOHEADER bmiHeader;
|
|
|
|
//int reserved[3];
|
2001-03-20 00:05:27 +00:00
|
|
|
} VIDEOINFOHEADER;
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2002-09-13 19:43:17 +00:00
|
|
|
typedef GUID CLSID;
|
|
|
|
typedef GUID IID;
|
2001-11-21 19:12:39 +00:00
|
|
|
|
2002-09-13 19:43:17 +00:00
|
|
|
extern const GUID IID_IBaseFilter;
|
|
|
|
extern const GUID IID_IEnumPins;
|
|
|
|
extern const GUID IID_IEnumMediaTypes;
|
|
|
|
extern const GUID IID_IMemInputPin;
|
|
|
|
extern const GUID IID_IMemAllocator;
|
|
|
|
extern const GUID IID_IMediaSample;
|
|
|
|
extern const GUID IID_DivxHidden;
|
|
|
|
extern const GUID IID_Iv50Hidden;
|
|
|
|
extern const GUID CLSID_DivxDecompressorCF;
|
|
|
|
extern const GUID IID_IDivxFilterInterface;
|
|
|
|
extern const GUID CLSID_IV50_Decoder;
|
|
|
|
extern const GUID CLSID_MemoryAllocator;
|
|
|
|
extern const GUID MEDIATYPE_Video;
|
|
|
|
extern const GUID GUID_NULL;
|
|
|
|
extern const GUID FORMAT_VideoInfo;
|
2002-11-26 21:00:20 +00:00
|
|
|
extern const GUID MEDIASUBTYPE_RGB1;
|
|
|
|
extern const GUID MEDIASUBTYPE_RGB4;
|
|
|
|
extern const GUID MEDIASUBTYPE_RGB8;
|
2002-09-13 19:43:17 +00:00
|
|
|
extern const GUID MEDIASUBTYPE_RGB565;
|
|
|
|
extern const GUID MEDIASUBTYPE_RGB555;
|
|
|
|
extern const GUID MEDIASUBTYPE_RGB24;
|
|
|
|
extern const GUID MEDIASUBTYPE_RGB32;
|
|
|
|
extern const GUID MEDIASUBTYPE_YUYV;
|
|
|
|
extern const GUID MEDIASUBTYPE_IYUV;
|
|
|
|
extern const GUID MEDIASUBTYPE_YVU9;
|
|
|
|
extern const GUID MEDIASUBTYPE_Y411;
|
|
|
|
extern const GUID MEDIASUBTYPE_Y41P;
|
|
|
|
extern const GUID MEDIASUBTYPE_YUY2;
|
|
|
|
extern const GUID MEDIASUBTYPE_YVYU;
|
|
|
|
extern const GUID MEDIASUBTYPE_UYVY;
|
|
|
|
extern const GUID MEDIASUBTYPE_Y211;
|
|
|
|
extern const GUID MEDIASUBTYPE_YV12;
|
|
|
|
extern const GUID MEDIASUBTYPE_I420;
|
|
|
|
extern const GUID MEDIASUBTYPE_IF09;
|
2001-03-20 00:05:27 +00:00
|
|
|
|
2002-11-26 21:00:20 +00:00
|
|
|
extern const GUID FORMAT_WaveFormatEx;
|
|
|
|
extern const GUID MEDIATYPE_Audio;
|
|
|
|
extern const GUID MEDIASUBTYPE_PCM;
|
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /* MPLAYER_GUIDS_H */
|