added missing bdatypes.h
authorVadim Pisarevsky <no@email>
Thu, 23 Jun 2011 11:57:27 +0000 (11:57 +0000)
committerVadim Pisarevsky <no@email>
Thu, 23 Jun 2011 11:57:27 +0000 (11:57 +0000)
3rdparty/include/dshow/bdatypes.h [new file with mode: 0755]

diff --git a/3rdparty/include/dshow/bdatypes.h b/3rdparty/include/dshow/bdatypes.h
new file mode 100755 (executable)
index 0000000..d42dceb
--- /dev/null
@@ -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