xine-lib: xine-lib-1.2.12/src/libw32dll/DirectShow/guids.h Source File

xine-lib 1.2.12

guids.h
Go to the documentation of this file.
1#ifndef DS_GUIDS_H
2#define DS_GUIDS_H
3
4#include "com.h"
5#include "../wine/module.h"
6#include "../wine/windef.h"
7#include "../wine/vfw.h"
8
9//#define Debug if(1)
10#define Debug if(0)
11
12typedef struct __attribute__((__packed__)) _MediaType
13{
14 GUID majortype; //0x0
15 GUID subtype; //0x10
16 int bFixedSizeSamples; //0x20
17 int bTemporalCompression; //0x24
18 unsigned long lSampleSize; //0x28
19 GUID formattype; //0x2c
20 IUnknown* pUnk; //0x3c
21 unsigned long cbFormat; //0x40
22 char* pbFormat; //0x44
23} AM_MEDIA_TYPE;
24
25 typedef long long REFERENCE_TIME;
26
27typedef struct __attribute__((__packed__)) RECT32
28{
29 int left, top, right, bottom;
30} RECT32;
31
32typedef struct __attribute__((__packed__)) tagVIDEOINFOHEADER
33{
34 RECT32 rcSource; // The bit we really want to use
35 RECT32 rcTarget; // Where the video should go
36 unsigned long dwBitRate; // Approximate bit data rate
37 unsigned long dwBitErrorRate; // Bit error rate for this stream
38 REFERENCE_TIME AvgTimePerFrame; // Average time per frame (100ns units)
39 BITMAPINFOHEADER bmiHeader;
40 //int reserved[3];
41} VIDEOINFOHEADER;
42
43 typedef GUID CLSID;
44 typedef GUID IID;
45
46extern const GUID IID_IBaseFilter;
47extern const GUID IID_IEnumPins;
48extern const GUID IID_IEnumMediaTypes;
49extern const GUID IID_IMemInputPin;
50extern const GUID IID_IMemAllocator;
51extern const GUID IID_IMediaSample;
52extern const GUID IID_DivxHidden;
53extern const GUID IID_Iv50Hidden;
54extern const GUID CLSID_DivxDecompressorCF;
55extern const GUID IID_IDivxFilterInterface;
56extern const GUID CLSID_IV50_Decoder;
57extern const GUID CLSID_MemoryAllocator;
58extern const GUID MEDIATYPE_Video;
59extern const GUID GUID_NULL;
60extern const GUID FORMAT_VideoInfo;
61extern const GUID MEDIASUBTYPE_RGB1;
62extern const GUID MEDIASUBTYPE_RGB4;
63extern const GUID MEDIASUBTYPE_RGB8;
64extern const GUID MEDIASUBTYPE_RGB565;
65extern const GUID MEDIASUBTYPE_RGB555;
66extern const GUID MEDIASUBTYPE_RGB24;
67extern const GUID MEDIASUBTYPE_RGB32;
68extern const GUID MEDIASUBTYPE_YUYV;
69extern const GUID MEDIASUBTYPE_IYUV;
70extern const GUID MEDIASUBTYPE_YVU9;
71extern const GUID MEDIASUBTYPE_Y411;
72extern const GUID MEDIASUBTYPE_Y41P;
73extern const GUID MEDIASUBTYPE_YUY2;
74extern const GUID MEDIASUBTYPE_YVYU;
75extern const GUID MEDIASUBTYPE_UYVY;
76extern const GUID MEDIASUBTYPE_Y211;
77extern const GUID MEDIASUBTYPE_YV12;
78extern const GUID MEDIASUBTYPE_I420;
79extern const GUID MEDIASUBTYPE_IF09;
80
81extern const GUID FORMAT_WaveFormatEx;
82extern const GUID MEDIATYPE_Audio;
83extern const GUID MEDIASUBTYPE_PCM;
84
85#endif /* DS_GUIDS_H */
GUID_NULL
const GUID GUID_NULL
Definition: guids.c:25
IID_IBaseFilter
const GUID IID_IBaseFilter
Definition: guids.c:10
FORMAT_WaveFormatEx
const GUID FORMAT_WaveFormatEx
Definition: guids.c:74
CLSID_MemoryAllocator
const GUID CLSID_MemoryAllocator
Definition: guids.c:67
CLSID_DivxDecompressorCF
const GUID CLSID_DivxDecompressorCF
Definition: guids.c:3
IID
GUID IID
Definition: guids.h:44
MEDIASUBTYPE_I420
const GUID MEDIASUBTYPE_I420
Definition: guids.c:63
REFERENCE_TIME
long long REFERENCE_TIME
Definition: guids.h:25
MEDIASUBTYPE_RGB32
const GUID MEDIASUBTYPE_RGB32
Definition: guids.c:41
IID_IDivxFilterInterface
const GUID IID_IDivxFilterInterface
Definition: guids.c:5
FORMAT_VideoInfo
const GUID FORMAT_VideoInfo
Definition: guids.c:27
IID_DivxHidden
const GUID IID_DivxHidden
Definition: guids.c:69
MEDIASUBTYPE_Y411
const GUID MEDIASUBTYPE_Y411
Definition: guids.c:49
AM_MEDIA_TYPE
AM_MEDIA_TYPE
Definition: guids.h:23
IID_IMemInputPin
const GUID IID_IMemInputPin
Definition: guids.c:16
__attribute__
struct __attribute__((__packed__)) _MediaType
Definition: guids.h:12
MEDIATYPE_Audio
const GUID MEDIATYPE_Audio
Definition: guids.c:76
IID_Iv50Hidden
const GUID IID_Iv50Hidden
Definition: guids.c:71
MEDIATYPE_Video
const GUID MEDIATYPE_Video
Definition: guids.c:23
MEDIASUBTYPE_RGB565
const GUID MEDIASUBTYPE_RGB565
Definition: guids.c:35
MEDIASUBTYPE_Y211
const GUID MEDIASUBTYPE_Y211
Definition: guids.c:59
MEDIASUBTYPE_IF09
const GUID MEDIASUBTYPE_IF09
Definition: guids.c:65
MEDIASUBTYPE_IYUV
const GUID MEDIASUBTYPE_IYUV
Definition: guids.c:45
MEDIASUBTYPE_RGB4
const GUID MEDIASUBTYPE_RGB4
Definition: guids.c:31
MEDIASUBTYPE_YVYU
const GUID MEDIASUBTYPE_YVYU
Definition: guids.c:55
IID_IEnumPins
const GUID IID_IEnumPins
Definition: guids.c:12
MEDIASUBTYPE_YV12
const GUID MEDIASUBTYPE_YV12
Definition: guids.c:61
CLSID_IV50_Decoder
const GUID CLSID_IV50_Decoder
Definition: guids.c:8
MEDIASUBTYPE_Y41P
const GUID MEDIASUBTYPE_Y41P
Definition: guids.c:51
VIDEOINFOHEADER
VIDEOINFOHEADER
Definition: guids.h:41
MEDIASUBTYPE_UYVY
const GUID MEDIASUBTYPE_UYVY
Definition: guids.c:57
IID_IMemAllocator
const GUID IID_IMemAllocator
Definition: guids.c:18
MEDIASUBTYPE_PCM
const GUID MEDIASUBTYPE_PCM
Definition: guids.c:78
IID_IMediaSample
const GUID IID_IMediaSample
Definition: guids.c:20
MEDIASUBTYPE_RGB8
const GUID MEDIASUBTYPE_RGB8
Definition: guids.c:33
MEDIASUBTYPE_RGB24
const GUID MEDIASUBTYPE_RGB24
Definition: guids.c:39
MEDIASUBTYPE_YUY2
const GUID MEDIASUBTYPE_YUY2
Definition: guids.c:53
IID_IEnumMediaTypes
const GUID IID_IEnumMediaTypes
Definition: guids.c:14
RECT32
RECT32
Definition: guids.h:30
MEDIASUBTYPE_RGB555
const GUID MEDIASUBTYPE_RGB555
Definition: guids.c:37
CLSID
GUID CLSID
Definition: guids.h:43
MEDIASUBTYPE_YVU9
const GUID MEDIASUBTYPE_YVU9
Definition: guids.c:47
MEDIASUBTYPE_RGB1
const GUID MEDIASUBTYPE_RGB1
Definition: guids.c:29
MEDIASUBTYPE_YUYV
const GUID MEDIASUBTYPE_YUYV
Definition: guids.c:43