comparison libmpdemux/stheader.h @ 12341:0db4a3a5b01d

removed loader/ dependancy, imported some files from g2, also used patches from Dominik Mierzejewski
author alex
date Wed, 28 Apr 2004 10:18:33 +0000
parents 14fa6a121a47
children 601e2c8a2922
comparison
equal deleted inserted replaced
12340:6aa3e3d97133 12341:0db4a3a5b01d
1 #ifndef __ST_HEADER_H 1 #ifndef __ST_HEADER_H
2 #define __ST_HEADER_H 1 2 #define __ST_HEADER_H 1
3 3
4 // for AVIStreamHeader: 4 #include "aviheader.h"
5 #include "wine/avifmt.h" 5 #include "ms_hdr.h"
6
7 #ifndef _WAVEFORMATEX_
8 #define _WAVEFORMATEX_
9 typedef struct __attribute__((__packed__)) _WAVEFORMATEX {
10 WORD wFormatTag;
11 WORD nChannels;
12 DWORD nSamplesPerSec;
13 DWORD nAvgBytesPerSec;
14 WORD nBlockAlign;
15 WORD wBitsPerSample;
16 WORD cbSize;
17 } WAVEFORMATEX, *PWAVEFORMATEX, *NPWAVEFORMATEX, *LPWAVEFORMATEX;
18 #endif /* _WAVEFORMATEX_ */
19
20 #ifndef _BITMAPINFOHEADER_
21 #define _BITMAPINFOHEADER_
22 typedef struct __attribute__((__packed__))
23 {
24 int biSize;
25 int biWidth;
26 int biHeight;
27 short biPlanes;
28 short biBitCount;
29 int biCompression;
30 int biSizeImage;
31 int biXPelsPerMeter;
32 int biYPelsPerMeter;
33 int biClrUsed;
34 int biClrImportant;
35 } BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
36 typedef struct {
37 BITMAPINFOHEADER bmiHeader;
38 int bmiColors[1];
39 } BITMAPINFO, *LPBITMAPINFO;
40 #endif
41 6
42 // Stream headers: 7 // Stream headers:
43 8
44 typedef struct { 9 typedef struct {
45 demux_stream_t *ds; 10 demux_stream_t *ds;