Mercurial > mplayer.hg
comparison loader/dshow/libwin32.h @ 25794:2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
capital letter are reserved for the system, those starting with _ are
reserved at the file level.
author | diego |
---|---|
date | Sun, 20 Jan 2008 17:16:39 +0000 |
parents | c98c9e7f3bd0 |
children | a8ea87c71d18 |
comparison
equal
deleted
inserted
replaced
25793:ac1a2c121d3a | 25794:2c8cdb9123b8 |
---|---|
12 #include "com.h" | 12 #include "com.h" |
13 | 13 |
14 typedef uint32_t fourcc_t; | 14 typedef uint32_t fourcc_t; |
15 | 15 |
16 /* | 16 /* |
17 typedef struct _FatalError | 17 typedef struct FatalError |
18 { | 18 { |
19 FatalError(); | 19 FatalError(); |
20 void PrintAll() {} | 20 void PrintAll() {} |
21 }FatalError; | 21 }FatalError; |
22 */ | 22 */ |
23 | 23 |
24 typedef struct _CodecInfo | 24 typedef struct CodecInfo |
25 { | 25 { |
26 char* dll; | 26 char* dll; |
27 GUID* guid; | 27 GUID* guid; |
28 }CodecInfo; | 28 }CodecInfo; |
29 | 29 |
30 | 30 |
31 typedef struct _CImage // public your_libvo_mem | 31 typedef struct CImage // public your_libvo_mem |
32 { | 32 { |
33 char* ptr; | 33 char* ptr; |
34 | 34 |
35 /*char* (*Data)(); | 35 /*char* (*Data)(); |
36 { | 36 { |
51 void SetBits(int b) { return; /*fixme*/ } | 51 void SetBits(int b) { return; /*fixme*/ } |
52 void SetSpace(int b) { return; /*fixme*/ } | 52 void SetSpace(int b) { return; /*fixme*/ } |
53 }; | 53 }; |
54 #endif | 54 #endif |
55 | 55 |
56 typedef struct _IAudioDecoder | 56 typedef struct IAudioDecoder |
57 { | 57 { |
58 WAVEFORMATEX in_fmt; | 58 WAVEFORMATEX in_fmt; |
59 CodecInfo record; | 59 CodecInfo record; |
60 /*(*IAudioDecoder)( CodecInfo * r, const WAVEFORMATEX* w); | 60 /*(*IAudioDecoder)( CodecInfo * r, const WAVEFORMATEX* w); |
61 { | 61 { |
94 { | 94 { |
95 STOP = 0, | 95 STOP = 0, |
96 START, | 96 START, |
97 }; | 97 }; |
98 | 98 |
99 typedef struct _BitmapInfo | 99 typedef struct BitmapInfo |
100 { | 100 { |
101 long biSize; | 101 long biSize; |
102 long biWidth; | 102 long biWidth; |
103 long biHeight; | 103 long biHeight; |
104 short biPlanes; | 104 short biPlanes; |
110 long biClrUsed; | 110 long biClrUsed; |
111 long biClrImportant; | 111 long biClrImportant; |
112 int colors[3]; | 112 int colors[3]; |
113 } BitmapInfo; | 113 } BitmapInfo; |
114 | 114 |
115 typedef struct _IVideoDecoder | 115 typedef struct IVideoDecoder |
116 { | 116 { |
117 int VBUFSIZE; | 117 int VBUFSIZE; |
118 int QMARKHI; | 118 int QMARKHI; |
119 int QMARKLO; | 119 int QMARKLO; |
120 int DMARKHI; | 120 int DMARKHI; |