summaryrefslogtreecommitdiff
path: root/gst/asfdemux/gstasfdemux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/asfdemux/gstasfdemux.h')
-rwxr-xr-x[-rw-r--r--]gst/asfdemux/gstasfdemux.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gst/asfdemux/gstasfdemux.h b/gst/asfdemux/gstasfdemux.h
index 6ef8c560..daad917a 100644..100755
--- a/gst/asfdemux/gstasfdemux.h
+++ b/gst/asfdemux/gstasfdemux.h
@@ -45,6 +45,7 @@ GST_DEBUG_CATEGORY_EXTERN (asfdemux_dbg);
typedef struct _GstASFDemux GstASFDemux;
typedef struct _GstASFDemuxClass GstASFDemuxClass;
+typedef enum _GstASF3DMode GstASF3DMode;
typedef struct {
guint32 packet;
@@ -57,6 +58,21 @@ typedef struct {
guint16 len; /* save this so we can skip unknown IDs */
} AsfPayloadExtension;
+/**
+ * 3D Types for Media play
+ */
+enum _GstASF3DMode
+{
+ GST_ASF_3D_NONE = 0x00,
+
+ //added, interim format - half
+ GST_ASF_3D_SIDE_BY_SIDE_HALF_LR = 0x01,
+ GST_ASF_3D_SIDE_BY_SIDE_HALF_RL = 0x02,
+ GST_ASF_3D_TOP_AND_BOTTOM_HALF_LR = 0x03,
+ GST_ASF_3D_TOP_AND_BOTTOM_HALF_RL = 0x04,
+ GST_ASF_3D_DUAL_STREAM = 0x0D, /**< Full format*/
+};
+
typedef struct
{
gboolean valid; /* TRUE if structure is valid/filled */
@@ -209,6 +225,9 @@ struct _GstASFDemux {
AsfSimpleIndexEntry *sidx_entries; /* packet number for each entry */
GSList *other_streams; /* remember streams that are in header but have unknown type */
+
+ /* parsing 3D */
+ GstASF3DMode asf_3D_mode;
};
struct _GstASFDemuxClass {