parent
b1bf1deed0
commit
d4fbb2c4fb
1 changed files with 32 additions and 0 deletions
@ -0,0 +1,32 @@ |
|||||||
|
#ifndef _BDATYPES_H |
||||||
|
#define _BDATYPES_H |
||||||
|
#if __GNUC__ >= 3 |
||||||
|
#pragma GCC system_header |
||||||
|
#endif |
||||||
|
|
||||||
|
#ifdef __cplusplus |
||||||
|
extern "C" { |
||||||
|
#endif |
||||||
|
|
||||||
|
/*--- DirectShow Reference - DirectShow Enumerated Types */ |
||||||
|
typedef enum { |
||||||
|
MEDIA_TRANSPORT_PACKET, |
||||||
|
MEDIA_ELEMENTARY_STREAM, |
||||||
|
MEDIA_MPEG2_PSI, |
||||||
|
MEDIA_TRANSPORT_PAYLOAD |
||||||
|
} MEDIA_SAMPLE_CONTENT; |
||||||
|
/*--- DirectShow Reference - DirectShow Structures */ |
||||||
|
typedef struct { |
||||||
|
DWORD dwOffset; |
||||||
|
DWORD dwPacketLength; |
||||||
|
DWORD dwStride; |
||||||
|
} MPEG2_TRANSPORT_STRIDE; |
||||||
|
typedef struct { |
||||||
|
ULONG ulPID; |
||||||
|
MEDIA_SAMPLE_CONTENT MediaSampleContent ; |
||||||
|
} PID_MAP; |
||||||
|
|
||||||
|
#ifdef __cplusplus |
||||||
|
} |
||||||
|
#endif |
||||||
|
#endif |
Loading…
Reference in new issue