summaryrefslogtreecommitdiffstats
path: root/gst/mxf/mxfup.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-12-07 17:16:29 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-12-07 17:16:29 +0000
commitabcc8554971b964ee697a158043afe213798af71 (patch)
tree3590a99ce896693c09e5be278cfb62ef8af3dca7 /gst/mxf/mxfup.h
parente3f042b99e9a039b9981a4b875f9c6aa59ef4a76 (diff)
downloadgst-plugins-bad-abcc8554971b964ee697a158043afe213798af71.tar.gz
gst-plugins-bad-abcc8554971b964ee697a158043afe213798af71.tar.bz2
gst-plugins-bad-abcc8554971b964ee697a158043afe213798af71.zip
gst/mxf/: Add initial support for uncompressed video essence (SMPTE S384M).
Original commit message from CVS: * gst/mxf/Makefile.am: * gst/mxf/mxfdemux.c: (gst_mxf_demux_handle_header_metadata_update_streams): * gst/mxf/mxftypes.h: * gst/mxf/mxfup.c: (mxf_is_up_essence_track), (mxf_up_handle_essence_element), (mxf_up_rgba_create_caps), (mxf_up_create_caps): * gst/mxf/mxfup.h: Add initial support for uncompressed video essence (SMPTE S384M). * gst/mxf/mxfparse.c: (mxf_metadata_rgba_picture_essence_descriptor_handle_tag), (mxf_metadata_rgba_picture_essence_descriptor_reset): Fix parsing of the RGBA descriptor and add support for parsing the pixel layout.
Diffstat (limited to 'gst/mxf/mxfup.h')
-rw-r--r--gst/mxf/mxfup.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/gst/mxf/mxfup.h b/gst/mxf/mxfup.h
new file mode 100644
index 00000000..66fc849d
--- /dev/null
+++ b/gst/mxf/mxfup.h
@@ -0,0 +1,36 @@
+/* GStreamer
+ * Copyright (C) 2008 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+/* Implementation of SMPTE 384M - Mapping of Uncompressed Pictures into the MXF
+ * Generic Container
+ */
+
+#ifndef __MXF_UP_H__
+#define __MXF_UP_H__
+
+#include <gst/gst.h>
+
+#include "mxfparse.h"
+
+gboolean mxf_is_up_essence_track (const MXFMetadataTrack *track);
+
+GstCaps *
+mxf_up_create_caps (MXFMetadataGenericPackage *package, MXFMetadataTrack *track, GstTagList **tags, MXFEssenceElementHandler *handler, gpointer *mapping_data);
+
+#endif /* __MXF_UP_H__ */