summaryrefslogtreecommitdiffstats
path: root/gst/mxf/mxfalaw.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-11-28 18:13:30 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-11-28 18:13:30 +0000
commite268611ed89350024e42b1ef89601b58dc18e175 (patch)
tree032310038c79fd718030f4b9eb6be281d47d0ddc /gst/mxf/mxfalaw.h
parent4215682bf3232ba87108c37782cf1c178a8768a3 (diff)
downloadgst-plugins-bad-e268611ed89350024e42b1ef89601b58dc18e175.tar.gz
gst-plugins-bad-e268611ed89350024e42b1ef89601b58dc18e175.tar.bz2
gst-plugins-bad-e268611ed89350024e42b1ef89601b58dc18e175.zip
gst/mxf/: Add support for A-Law encoded audio essence (SMPTE 388M and 382M).
Original commit message from CVS: * gst/mxf/Makefile.am: * gst/mxf/mxfaes-bwf.c: (mxf_bwf_create_caps): * gst/mxf/mxfalaw.c: (mxf_is_alaw_audio_essence_track), (mxf_alaw_handle_essence_element), (mxf_alaw_create_caps): * gst/mxf/mxfalaw.h: * gst/mxf/mxfdemux.c: (gst_mxf_demux_handle_header_metadata_update_streams): Add support for A-Law encoded audio essence (SMPTE 388M and 382M).
Diffstat (limited to 'gst/mxf/mxfalaw.h')
-rw-r--r--gst/mxf/mxfalaw.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/gst/mxf/mxfalaw.h b/gst/mxf/mxfalaw.h
new file mode 100644
index 00000000..5c19a309
--- /dev/null
+++ b/gst/mxf/mxfalaw.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 388M - Mapping A-Law coded audio into the MXF
+ * Generic Container
+ */
+
+#ifndef __MXF_ALAW_H__
+#define __MXF_ALAW_H__
+
+#include <gst/gst.h>
+
+#include "mxfparse.h"
+
+gboolean mxf_is_alaw_audio_essence_track (const MXFMetadataTrack *track);
+
+GstCaps *
+mxf_alaw_create_caps (MXFMetadataGenericPackage *package, MXFMetadataTrack *track, GstTagList **tags, MXFEssenceElementHandler *handler, gpointer *mapping_data);
+
+#endif /* __MXF_ALAW_H__ */