gst/qtdemux/: Cleanup and refactor to make the code more readable.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_combine_flows),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_chain), (qtdemux_sink_activate_pull),
(qtdemux_inflate), (qtdemux_parse_moov), (qtdemux_parse_container),
(qtdemux_parse_node), (qtdemux_tree_get_child_by_type),
(qtdemux_tree_get_sibling_by_type), (gst_qtdemux_add_stream),
(qtdemux_parse_samples), (qtdemux_parse_segments),
(qtdemux_parse_trak), (qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_date), (qtdemux_tag_add_gnre),
(qtdemux_parse_udta), (qtdemux_redirects_sort_func),
(qtdemux_process_redirects), (qtdemux_parse_redirects),
(qtdemux_parse_tree), (gst_qtdemux_handle_esds),
(qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
* gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_dump_unknown), (qtdemux_node_dump_foreach),
(qtdemux_node_dump):
* gst/qtdemux/qtdemux_dump.h:
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c: (qtdemux_type_get):
* gst/qtdemux/qtdemux_types.h:
* gst/qtdemux/qtpalette.h:
Cleanup and refactor to make the code more readable.
Move debugging/tables into separate files.
Add 2/4/16 color palletee support.
Fix raw 15 bit RGB handling.
Use more FOURCC constants.
Add some docs.
2007-01-12 10:22:16 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
2009-10-23 12:06:44 +00:00
|
|
|
* Copyright (C) <2009> STEricsson <benjamin.gaignard@stericsson.com>
|
gst/qtdemux/: Cleanup and refactor to make the code more readable.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_combine_flows),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_chain), (qtdemux_sink_activate_pull),
(qtdemux_inflate), (qtdemux_parse_moov), (qtdemux_parse_container),
(qtdemux_parse_node), (qtdemux_tree_get_child_by_type),
(qtdemux_tree_get_sibling_by_type), (gst_qtdemux_add_stream),
(qtdemux_parse_samples), (qtdemux_parse_segments),
(qtdemux_parse_trak), (qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_date), (qtdemux_tag_add_gnre),
(qtdemux_parse_udta), (qtdemux_redirects_sort_func),
(qtdemux_process_redirects), (qtdemux_parse_redirects),
(qtdemux_parse_tree), (gst_qtdemux_handle_esds),
(qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
* gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_dump_unknown), (qtdemux_node_dump_foreach),
(qtdemux_node_dump):
* gst/qtdemux/qtdemux_dump.h:
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c: (qtdemux_type_get):
* gst/qtdemux/qtdemux_types.h:
* gst/qtdemux/qtpalette.h:
Cleanup and refactor to make the code more readable.
Move debugging/tables into separate files.
Add 2/4/16 color palletee support.
Fix raw 15 bit RGB handling.
Use more FOURCC constants.
Add some docs.
2007-01-12 10:22:16 +00:00
|
|
|
*
|
|
|
|
* 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
|
2012-11-04 00:07:18 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
gst/qtdemux/: Cleanup and refactor to make the code more readable.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_combine_flows),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_chain), (qtdemux_sink_activate_pull),
(qtdemux_inflate), (qtdemux_parse_moov), (qtdemux_parse_container),
(qtdemux_parse_node), (qtdemux_tree_get_child_by_type),
(qtdemux_tree_get_sibling_by_type), (gst_qtdemux_add_stream),
(qtdemux_parse_samples), (qtdemux_parse_segments),
(qtdemux_parse_trak), (qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_date), (qtdemux_tag_add_gnre),
(qtdemux_parse_udta), (qtdemux_redirects_sort_func),
(qtdemux_process_redirects), (qtdemux_parse_redirects),
(qtdemux_parse_tree), (gst_qtdemux_handle_esds),
(qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
* gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_dump_unknown), (qtdemux_node_dump_foreach),
(qtdemux_node_dump):
* gst/qtdemux/qtdemux_dump.h:
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c: (qtdemux_type_get):
* gst/qtdemux/qtdemux_types.h:
* gst/qtdemux/qtpalette.h:
Cleanup and refactor to make the code more readable.
Move debugging/tables into separate files.
Add 2/4/16 color palletee support.
Fix raw 15 bit RGB handling.
Use more FOURCC constants.
Add some docs.
2007-01-12 10:22:16 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GST_QTDEMUX_DUMP_H__
|
|
|
|
#define __GST_QTDEMUX_DUMP_H__
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
#include <qtdemux.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
2009-10-23 12:06:44 +00:00
|
|
|
gboolean qtdemux_dump_mvhd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_tkhd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_elst (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_mdhd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_hdlr (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_vmhd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_dref (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_stsd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_stts (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_stss (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_stps (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_stsc (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_stsz (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_stco (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_co64 (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_dcom (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_cmvd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_ctts (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
2015-06-17 19:19:47 +00:00
|
|
|
gboolean qtdemux_dump_cslg (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
2010-03-11 14:34:49 +00:00
|
|
|
gboolean qtdemux_dump_mfro (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
2014-11-26 14:58:26 +00:00
|
|
|
gboolean qtdemux_dump_mfhd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
2010-03-11 14:34:49 +00:00
|
|
|
gboolean qtdemux_dump_tfra (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_tfhd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_trun (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_trex (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_mehd (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_sdtp (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
2012-07-03 15:50:24 +00:00
|
|
|
gboolean qtdemux_dump_tfdt (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
2009-10-23 12:06:44 +00:00
|
|
|
gboolean qtdemux_dump_unknown (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
2015-06-09 15:26:15 +00:00
|
|
|
gboolean qtdemux_dump_svmi (GstQTDemux *qtdemux, GstByteReader *data,
|
|
|
|
int depth);
|
2016-11-17 13:59:48 +00:00
|
|
|
gboolean qtdemux_dump_dfLa (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
|
|
|
gboolean qtdemux_dump_fLaC (GstQTDemux * qtdemux, GstByteReader * data,
|
|
|
|
int depth);
|
gst/qtdemux/: Cleanup and refactor to make the code more readable.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_combine_flows),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_chain), (qtdemux_sink_activate_pull),
(qtdemux_inflate), (qtdemux_parse_moov), (qtdemux_parse_container),
(qtdemux_parse_node), (qtdemux_tree_get_child_by_type),
(qtdemux_tree_get_sibling_by_type), (gst_qtdemux_add_stream),
(qtdemux_parse_samples), (qtdemux_parse_segments),
(qtdemux_parse_trak), (qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_date), (qtdemux_tag_add_gnre),
(qtdemux_parse_udta), (qtdemux_redirects_sort_func),
(qtdemux_process_redirects), (qtdemux_parse_redirects),
(qtdemux_parse_tree), (gst_qtdemux_handle_esds),
(qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
* gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_dump_unknown), (qtdemux_node_dump_foreach),
(qtdemux_node_dump):
* gst/qtdemux/qtdemux_dump.h:
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c: (qtdemux_type_get):
* gst/qtdemux/qtdemux_types.h:
* gst/qtdemux/qtpalette.h:
Cleanup and refactor to make the code more readable.
Move debugging/tables into separate files.
Add 2/4/16 color palletee support.
Fix raw 15 bit RGB handling.
Use more FOURCC constants.
Add some docs.
2007-01-12 10:22:16 +00:00
|
|
|
|
2009-08-19 00:36:33 +00:00
|
|
|
gboolean qtdemux_node_dump (GstQTDemux * qtdemux, GNode * node);
|
gst/qtdemux/: Cleanup and refactor to make the code more readable.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_combine_flows),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_chain), (qtdemux_sink_activate_pull),
(qtdemux_inflate), (qtdemux_parse_moov), (qtdemux_parse_container),
(qtdemux_parse_node), (qtdemux_tree_get_child_by_type),
(qtdemux_tree_get_sibling_by_type), (gst_qtdemux_add_stream),
(qtdemux_parse_samples), (qtdemux_parse_segments),
(qtdemux_parse_trak), (qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_date), (qtdemux_tag_add_gnre),
(qtdemux_parse_udta), (qtdemux_redirects_sort_func),
(qtdemux_process_redirects), (qtdemux_parse_redirects),
(qtdemux_parse_tree), (gst_qtdemux_handle_esds),
(qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
* gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_dump_unknown), (qtdemux_node_dump_foreach),
(qtdemux_node_dump):
* gst/qtdemux/qtdemux_dump.h:
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c: (qtdemux_type_get):
* gst/qtdemux/qtdemux_types.h:
* gst/qtdemux/qtpalette.h:
Cleanup and refactor to make the code more readable.
Move debugging/tables into separate files.
Add 2/4/16 color palletee support.
Fix raw 15 bit RGB handling.
Use more FOURCC constants.
Add some docs.
2007-01-12 10:22:16 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GST_QTDEMUX_DUMP_H__ */
|