comparison loader/dshow/guids.h @ 7386:174e2a58b4cd

avifile sync - 95% cosmetics 5% bug
author arpi
date Fri, 13 Sep 2002 19:43:17 +0000
parents 1baa35e06053
children 9533c26c0806
comparison
equal deleted inserted replaced
7385:e2fcdd7608b1 7386:174e2a58b4cd
1 #ifndef GUIDS_H 1 #ifndef DS_GUIDS_H
2 #define GUIDS_H 2 #define DS_GUIDS_H
3 3
4 #include "com.h" 4 #include "com.h"
5 #include "wine/module.h" 5 #include "wine/module.h"
6 #include "wine/windef.h" 6 #include "wine/windef.h"
7 #include "wine/vfw.h" 7 #include "wine/vfw.h"
20 IUnknown* pUnk; //0x3c 20 IUnknown* pUnk; //0x3c
21 unsigned long cbFormat; //0x40 21 unsigned long cbFormat; //0x40
22 char* pbFormat; //0x44 22 char* pbFormat; //0x44
23 } AM_MEDIA_TYPE; 23 } AM_MEDIA_TYPE;
24 24
25 typedef enum
26 {
27 PINDIR_INPUT = 0,
28 PINDIR_OUTPUT
29 } PIN_DIRECTION;
30
31 typedef long long REFERENCE_TIME; 25 typedef long long REFERENCE_TIME;
32 26
33 typedef struct __attribute__((__packed__)) RECT32 27 typedef struct __attribute__((__packed__)) RECT32
34 { 28 {
35 int left, top, right, bottom; 29 int left, top, right, bottom;
36 } RECT32; 30 } RECT32;
37 31
38 typedef struct __attribute__((__packed__)) tagVIDEOINFOHEADER { 32 typedef struct __attribute__((__packed__)) tagVIDEOINFOHEADER
39 33 {
40 RECT32 rcSource; // The bit we really want to use 34 RECT32 rcSource; // The bit we really want to use
41 RECT32 rcTarget; // Where the video should go 35 RECT32 rcTarget; // Where the video should go
42 unsigned long dwBitRate; // Approximate bit data rate 36 unsigned long dwBitRate; // Approximate bit data rate
43 unsigned long dwBitErrorRate; // Bit error rate for this stream 37 unsigned long dwBitErrorRate; // Bit error rate for this stream
44 REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units) 38 REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units)
45 BITMAPINFOHEADER bmiHeader; 39 BITMAPINFOHEADER bmiHeader;
46 //int reserved[3]; 40 //int reserved[3];
47 } VIDEOINFOHEADER; 41 } VIDEOINFOHEADER;
48 42
49 typedef struct _AllocatorProperties 43 typedef GUID CLSID;
50 { 44 typedef GUID IID;
51 long cBuffers;
52 long cbBuffer;
53 long cbAlign;
54 long cbPrefix;
55 } ALLOCATOR_PROPERTIES;
56 45
57 typedef struct _IBaseFilter IBaseFilter; 46 extern const GUID IID_IBaseFilter;
58 typedef struct _PinInfo 47 extern const GUID IID_IEnumPins;
59 { 48 extern const GUID IID_IEnumMediaTypes;
60 IBaseFilter* pFilter; 49 extern const GUID IID_IMemInputPin;
61 PIN_DIRECTION dir; 50 extern const GUID IID_IMemAllocator;
62 unsigned short achName[128]; 51 extern const GUID IID_IMediaSample;
63 } PIN_INFO; 52 extern const GUID IID_DivxHidden;
53 extern const GUID IID_Iv50Hidden;
54 extern const GUID CLSID_DivxDecompressorCF;
55 extern const GUID IID_IDivxFilterInterface;
56 extern const GUID CLSID_IV50_Decoder;
57 extern const GUID CLSID_MemoryAllocator;
58 extern const GUID MEDIATYPE_Video;
59 extern const GUID GUID_NULL;
60 extern const GUID FORMAT_VideoInfo;
61 extern const GUID MEDIASUBTYPE_RGB565;
62 extern const GUID MEDIASUBTYPE_RGB555;
63 extern const GUID MEDIASUBTYPE_RGB24;
64 extern const GUID MEDIASUBTYPE_RGB32;
65 extern const GUID MEDIASUBTYPE_YUYV;
66 extern const GUID MEDIASUBTYPE_IYUV;
67 extern const GUID MEDIASUBTYPE_YVU9;
68 extern const GUID MEDIASUBTYPE_Y411;
69 extern const GUID MEDIASUBTYPE_Y41P;
70 extern const GUID MEDIASUBTYPE_YUY2;
71 extern const GUID MEDIASUBTYPE_YVYU;
72 extern const GUID MEDIASUBTYPE_UYVY;
73 extern const GUID MEDIASUBTYPE_Y211;
74 extern const GUID MEDIASUBTYPE_YV12;
75 extern const GUID MEDIASUBTYPE_I420;
76 extern const GUID MEDIASUBTYPE_IF09;
64 77
65 78 #endif /* DS_GUIDS_H */
66 extern GUID IID_IBaseFilter;
67 extern GUID IID_IEnumPins;
68 extern GUID IID_IEnumMediaTypes;
69 extern GUID IID_IMemInputPin;
70 extern GUID IID_IMemAllocator;
71 extern GUID IID_IMediaSample;
72 extern GUID IID_DivxHidden;
73 extern GUID IID_Iv50Hidden;
74 extern GUID CLSID_DivxDecompressorCF;
75 extern GUID IID_IDivxFilterInterface;
76 extern GUID CLSID_IV50_Decoder;
77 extern GUID CLSID_MemoryAllocator;
78 extern GUID MEDIATYPE_Video;
79 extern GUID GUID_NULL;
80 extern GUID FORMAT_VideoInfo;
81 extern GUID MEDIASUBTYPE_RGB565;
82 extern GUID MEDIASUBTYPE_RGB555;
83 extern GUID MEDIASUBTYPE_RGB24;
84 extern GUID MEDIASUBTYPE_RGB32;
85 extern GUID MEDIASUBTYPE_YUYV;
86 extern GUID MEDIASUBTYPE_IYUV;
87 extern GUID MEDIASUBTYPE_YVU9;
88 extern GUID MEDIASUBTYPE_Y411;
89 extern GUID MEDIASUBTYPE_Y41P;
90 extern GUID MEDIASUBTYPE_YUY2;
91 extern GUID MEDIASUBTYPE_YVYU;
92 extern GUID MEDIASUBTYPE_UYVY;
93 extern GUID MEDIASUBTYPE_Y211;
94 extern GUID MEDIASUBTYPE_YV12;
95 extern GUID MEDIASUBTYPE_I420;
96
97 #endif