forked from opencv/opencv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vadim Pisarevsky
committed
Jun 23, 2011
1 parent
b1bf1de
commit d4fbb2c
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |