summaryrefslogtreecommitdiffstats
path: root/gst/mxf/mxfparse.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-11-27 16:26:39 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-11-27 16:26:39 +0000
commita926db34ad8b983c95ef72ed9a5cb884c55430d1 (patch)
tree2b47b510a32a870e75251a402c4d231f3d11daec /gst/mxf/mxfparse.h
parent9e6654352e1e92664efad60f9a951cc2dd3c2a8a (diff)
downloadgst-plugins-bad-a926db34ad8b983c95ef72ed9a5cb884c55430d1.tar.gz
gst-plugins-bad-a926db34ad8b983c95ef72ed9a5cb884c55430d1.tar.bz2
gst-plugins-bad-a926db34ad8b983c95ef72ed9a5cb884c55430d1.zip
gst/mxf/: Implement parsing of the random index pack, which provides a seek table (including body sid) to the start o...
Original commit message from CVS: * gst/mxf/mxfdemux.c: (gst_mxf_demux_reset), (gst_mxf_demux_handle_random_index_pack), (gst_mxf_demux_pull_random_index_pack), (gst_mxf_demux_loop): * gst/mxf/mxfdemux.h: * gst/mxf/mxfparse.c: (mxf_random_index_pack_parse): * gst/mxf/mxfparse.h: * gst/mxf/mxftypes.h: Implement parsing of the random index pack, which provides a seek table (including body sid) to the start of partition packs. Later this will be used for reading all index table segments of the complete file efficiently.
Diffstat (limited to 'gst/mxf/mxfparse.h')
-rw-r--r--gst/mxf/mxfparse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/mxf/mxfparse.h b/gst/mxf/mxfparse.h
index 99295762..6cace267 100644
--- a/gst/mxf/mxfparse.h
+++ b/gst/mxf/mxfparse.h
@@ -77,6 +77,8 @@ void mxf_partition_pack_reset (MXFPartitionPack *pack);
gboolean mxf_primer_pack_parse (const MXFUL *key, MXFPrimerPack *pack, const guint8 *data, guint size);
void mxf_primer_pack_reset (MXFPrimerPack *pack);
+gboolean mxf_random_index_pack_parse (const MXFUL *key, const guint8 *data, guint size, GArray **array);
+
gboolean mxf_local_tag_parse (const guint8 * data, guint size, guint16 * tag,
guint16 * tag_size, const guint8 ** tag_data);
void gst_mxf_local_tag_free (MXFLocalTag *tag);