annotate loader/dshow/guids.h @ 5145:109377795585

mpegpes support
author arpi
date Sat, 16 Mar 2002 20:36:24 +0000
parents e3bbf44dbab2
children 1baa35e06053
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
1 #ifndef GUIDS_H
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
2 #define GUIDS_H
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
3
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1545
diff changeset
4 #include "com.h"
3467
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
5 #include "wine/module.h"
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
6 #include "wine/windef.h"
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1545
diff changeset
7 #include "wine/vfw.h"
ce45cce7f7a5 sync with avifile
arpi
parents: 1545
diff changeset
8
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
9 extern int DSHOW_DEBUG;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
10 #define Debug if(DSHOW_DEBUG)
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
11
3467
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
12 typedef struct __attribute__((__packed__)) _MediaType
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
13 {
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
14 GUID majortype; //0x0
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
15 GUID subtype; //0x10
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
16 int bFixedSizeSamples; //0x20
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
17 int bTemporalCompression; //0x24
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
18 unsigned long lSampleSize; //0x28
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
19 GUID formattype; //0x2c
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
20 IUnknown* pUnk; //0x3c
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
21 unsigned long cbFormat; //0x40
3467
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
22 char* pbFormat; //0x44
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
23 } AM_MEDIA_TYPE;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
24
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
25 typedef enum
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
26 {
3467
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
27 PINDIR_INPUT = 0,
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
28 PINDIR_OUTPUT
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
29 } PIN_DIRECTION;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
30
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
31 typedef long long REFERENCE_TIME;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
32
3467
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
33 typedef struct __attribute__((__packed__)) RECT32
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
34 {
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
35 int left, top, right, bottom;
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
36 } RECT32;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
37
3467
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
38 typedef struct __attribute__((__packed__)) tagVIDEOINFOHEADER {
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
39
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
40 RECT32 rcSource; // The bit we really want to use
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
41 RECT32 rcTarget; // Where the video should go
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
42 unsigned long dwBitRate; // Approximate bit data rate
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
43 unsigned long dwBitErrorRate; // Bit error rate for this stream
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
44 REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units)
3467
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
45 BITMAPINFOHEADER bmiHeader;
e3bbf44dbab2 avifile sync
arpi
parents: 3056
diff changeset
46 //int reserved[3];
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
47 } VIDEOINFOHEADER;
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
48
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
49 typedef struct _AllocatorProperties
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
50 {
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
51 long cBuffers;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
52 long cbBuffer;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
53 long cbAlign;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
54 long cbPrefix;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
55 } ALLOCATOR_PROPERTIES;
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
56
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
57 typedef struct _IBaseFilter IBaseFilter;
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
58 typedef struct _PinInfo
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
59 {
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
60 IBaseFilter* pFilter;
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
61 PIN_DIRECTION dir;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
62 unsigned short achName[128];
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 168
diff changeset
63 } PIN_INFO;
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
64
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
65
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
66 extern GUID IID_IBaseFilter;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
67 extern GUID IID_IEnumPins;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
68 extern GUID IID_IEnumMediaTypes;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
69 extern GUID IID_IMemInputPin;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
70 extern GUID IID_IMemAllocator;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
71 extern GUID IID_IMediaSample;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
72 extern GUID IID_DivxHidden;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
73 extern GUID IID_Iv50Hidden;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
74 extern GUID CLSID_DivxDecompressorCF;
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 2069
diff changeset
75 extern GUID IID_IDivxFilterInterface;
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
76 extern GUID CLSID_IV50_Decoder;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
77 extern GUID CLSID_MemoryAllocator;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
78 extern GUID MEDIATYPE_Video;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
79 extern GUID GUID_NULL;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
80 extern GUID FORMAT_VideoInfo;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
81 extern GUID MEDIASUBTYPE_RGB565;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
82 extern GUID MEDIASUBTYPE_RGB555;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
83 extern GUID MEDIASUBTYPE_RGB24;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
84 extern GUID MEDIASUBTYPE_RGB32;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
85 extern GUID MEDIASUBTYPE_YUYV;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
86 extern GUID MEDIASUBTYPE_IYUV;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
87 extern GUID MEDIASUBTYPE_YVU9;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
88 extern GUID MEDIASUBTYPE_Y411;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
89 extern GUID MEDIASUBTYPE_Y41P;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
90 extern GUID MEDIASUBTYPE_YUY2;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
91 extern GUID MEDIASUBTYPE_YVYU;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
92 extern GUID MEDIASUBTYPE_UYVY;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
93 extern GUID MEDIASUBTYPE_Y211;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
94 extern GUID MEDIASUBTYPE_YV12;
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
95
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
96 #endif