From bda27f2adc68d6065d7a7df1e6558c062efe41f1 Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 16 Aug 2001 00:50:02 +0000 Subject: big avifile sync - from now we have common code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1546 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/dshow/guids.h | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'loader/dshow/guids.h') diff --git a/loader/dshow/guids.h b/loader/dshow/guids.h index 3a9b63897b..9c08a0f86e 100644 --- a/loader/dshow/guids.h +++ b/loader/dshow/guids.h @@ -1,9 +1,12 @@ #ifndef GUIDS_H #define GUIDS_H -//#include -//#include + #include -#include +#include +#include +#include +#include +//#include extern int DSHOW_DEBUG; #define Debug if(DSHOW_DEBUG) @@ -20,43 +23,46 @@ typedef struct _MediaType unsigned long cbFormat; //0x40 char *pbFormat; //0x44 } AM_MEDIA_TYPE; + typedef enum { PINDIR_INPUT = 0, PINDIR_OUTPUT = PINDIR_INPUT + 1 } PIN_DIRECTION; + typedef long long REFERENCE_TIME; -//typedef long long LONGLONG; + struct RECT32 { int left, top, right, bottom; }; + typedef struct tagVIDEOINFOHEADER { 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 - REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units) - + REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units) BITMAPINFOHEADER bmiHeader; - } VIDEOINFOHEADER; + typedef struct _AllocatorProperties { long cBuffers; long cbBuffer; long cbAlign; long cbPrefix; -} ALLOCATOR_PROPERTIES; +} ALLOCATOR_PROPERTIES; + struct IBaseFilter; + typedef struct _PinInfo { IBaseFilter *pFilter; PIN_DIRECTION dir; - unsigned short achName[ 128 ]; -} PIN_INFO; - + unsigned short achName[128]; +} PIN_INFO; extern GUID IID_IBaseFilter; extern GUID IID_IEnumPins; -- cgit v1.2.3