ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MinGW/include/bdatypes.h
Revision: 1046
Committed: Mon Aug 29 13:19:38 2016 UTC (9 years, 1 month ago) by alloc
Content type: text/x-chdr
File size: 600 byte(s)
Log Message:
Daodan: Added Windows MinGW and build batch file

File Contents

# Content
1 #ifndef _BDATYPES_H
2 #define _BDATYPES_H
3 #if __GNUC__ >= 3
4 #pragma GCC system_header
5 #endif
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 /*--- DirectShow Reference - DirectShow Enumerated Types */
12 typedef enum {
13 MEDIA_TRANSPORT_PACKET,
14 MEDIA_ELEMENTARY_STREAM,
15 MEDIA_MPEG2_PSI,
16 MEDIA_TRANSPORT_PAYLOAD
17 } MEDIA_SAMPLE_CONTENT;
18 /*--- DirectShow Reference - DirectShow Structures */
19 typedef struct {
20 DWORD dwOffset;
21 DWORD dwPacketLength;
22 DWORD dwStride;
23 } MPEG2_TRANSPORT_STRIDE;
24 typedef struct {
25 ULONG ulPID;
26 MEDIA_SAMPLE_CONTENT MediaSampleContent ;
27 } PID_MAP;
28
29 #ifdef __cplusplus
30 }
31 #endif
32 #endif