diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-16 00:50:02 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-16 00:50:02 +0000 |
commit | bda27f2adc68d6065d7a7df1e6558c062efe41f1 (patch) | |
tree | 4077a416a09134894f71166eef48f9f39782fc9d /loader/dshow/guids.h | |
parent | fda7100c9d34a2c5dccddfd25e87193abe55a152 (diff) | |
download | mpv-bda27f2adc68d6065d7a7df1e6558c062efe41f1.tar.bz2 mpv-bda27f2adc68d6065d7a7df1e6558c062efe41f1.tar.xz |
big avifile sync - from now we have common code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1546 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow/guids.h')
-rw-r--r-- | loader/dshow/guids.h | 28 |
1 files changed, 17 insertions, 11 deletions
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 <loader.h> -//#include <wine/winbase.h> + #include <com.h> -#include <formats.h> +#include <wine/winbase.h> +#include <wine/windef.h> +#include <wine/winuser.h> +#include <wine/vfw.h> +//#include <formats.h> 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; |