Home
last modified time | relevance | path

Searched refs:tfhd (Results 1 – 9 of 9) sorted by relevance

/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Disoff.c137 fail_unless_equals_int (traf->tfhd.version, 0); in GST_START_TEST()
138 fail_unless_equals_int (traf->tfhd.flags, in GST_START_TEST()
140 fail_unless_equals_int (traf->tfhd.track_id, 1); in GST_START_TEST()
141 fail_unless_equals_uint64 (traf->tfhd.base_data_offset, 0); in GST_START_TEST()
142 fail_unless_equals_int (traf->tfhd.sample_description_index, 0); in GST_START_TEST()
143 fail_unless_equals_int (traf->tfhd.default_sample_duration, 8); in GST_START_TEST()
144 fail_unless_equals_int (traf->tfhd.default_sample_size, 0); in GST_START_TEST()
145 fail_unless_equals_int (traf->tfhd.default_sample_flags, 0); in GST_START_TEST()
209 fail_unless_equals_int (traf->tfhd.version, 0); in GST_START_TEST()
210 fail_unless_equals_int (traf->tfhd.flags, in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/isoff/
Dgstisoff.c164 gst_isoff_tfhd_box_parse (GstTfhdBox * tfhd, GstByteReader * reader) in gst_isoff_tfhd_box_parse() argument
166 memset (tfhd, 0, sizeof (*tfhd)); in gst_isoff_tfhd_box_parse()
171 tfhd->version = gst_byte_reader_get_uint8_unchecked (reader); in gst_isoff_tfhd_box_parse()
172 if (tfhd->version != 0) in gst_isoff_tfhd_box_parse()
175 tfhd->flags = gst_byte_reader_get_uint24_be_unchecked (reader); in gst_isoff_tfhd_box_parse()
177 if (!gst_byte_reader_get_uint32_be (reader, &tfhd->track_id)) in gst_isoff_tfhd_box_parse()
180 if ((tfhd->flags & GST_TFHD_FLAGS_BASE_DATA_OFFSET_PRESENT) && in gst_isoff_tfhd_box_parse()
181 !gst_byte_reader_get_uint64_be (reader, &tfhd->base_data_offset)) in gst_isoff_tfhd_box_parse()
184 if ((tfhd->flags & GST_TFHD_FLAGS_SAMPLE_DESCRIPTION_INDEX_PRESENT) && in gst_isoff_tfhd_box_parse()
185 !gst_byte_reader_get_uint32_be (reader, &tfhd->sample_description_index)) in gst_isoff_tfhd_box_parse()
[all …]
Dgstisoff.h178 GstTfhdBox tfhd; member
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datoms.c4573 traf->tfhd.header.flags[2] |= TF_BASE_DATA_OFFSET; in atom_moof_set_base_offset()
4574 traf->tfhd.base_data_offset = offset; in atom_moof_set_base_offset()
4654 atom_tfhd_copy_data (AtomTFHD * tfhd, guint8 ** buffer, guint64 * size, in atom_tfhd_copy_data() argument
4660 if (!atom_full_copy_data (&tfhd->header, buffer, size, offset)) { in atom_tfhd_copy_data()
4664 prop_copy_uint32 (tfhd->track_ID, buffer, size, offset); in atom_tfhd_copy_data()
4666 flags = atom_full_get_flags_as_uint (&tfhd->header); in atom_tfhd_copy_data()
4669 prop_copy_uint64 (tfhd->base_data_offset, buffer, size, offset); in atom_tfhd_copy_data()
4671 prop_copy_uint32 (tfhd->sample_description_index, buffer, size, offset); in atom_tfhd_copy_data()
4673 prop_copy_uint32 (tfhd->default_sample_duration, buffer, size, offset); in atom_tfhd_copy_data()
4675 prop_copy_uint32 (tfhd->default_sample_size, buffer, size, offset); in atom_tfhd_copy_data()
[all …]
Datoms.h846 AtomTFHD tfhd; member
Dqtdemux.c3601 qtdemux_parse_tfhd (GstQTDemux * qtdemux, GstByteReader * tfhd, in qtdemux_parse_tfhd() argument
3609 if (!gst_byte_reader_skip (tfhd, 1) || in qtdemux_parse_tfhd()
3610 !gst_byte_reader_get_uint24_be (tfhd, &flags)) in qtdemux_parse_tfhd()
3613 if (!gst_byte_reader_get_uint32_be (tfhd, &track_id)) in qtdemux_parse_tfhd()
3624 if (!gst_byte_reader_get_uint64_be (tfhd, (guint64 *) base_offset)) in qtdemux_parse_tfhd()
3636 if (!gst_byte_reader_get_uint32_be (tfhd, &sample_description_index)) in qtdemux_parse_tfhd()
3647 if (!gst_byte_reader_get_uint32_be (tfhd, default_sample_duration)) in qtdemux_parse_tfhd()
3651 if (!gst_byte_reader_get_uint32_be (tfhd, default_sample_size)) in qtdemux_parse_tfhd()
3655 if (!gst_byte_reader_get_uint32_be (tfhd, default_sample_flags)) in qtdemux_parse_tfhd()
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstdashdemux.c3067 track_id = traf->tfhd.track_id; in gst_dash_demux_find_sync_samples()
3068 } else if (track_id != traf->tfhd.track_id) { in gst_dash_demux_find_sync_samples()
3071 traf->tfhd.track_id); in gst_dash_demux_find_sync_samples()
3078 if (traf->tfhd.flags & GST_TFHD_FLAGS_BASE_DATA_OFFSET_PRESENT) { in gst_dash_demux_find_sync_samples()
3079 traf_offset = traf->tfhd.base_data_offset; in gst_dash_demux_find_sync_samples()
3080 } else if (traf->tfhd.flags & GST_TFHD_FLAGS_DEFAULT_BASE_IS_MOOF) { in gst_dash_demux_find_sync_samples()
3116 } else if (traf->tfhd. in gst_dash_demux_find_sync_samples()
3118 sample_flags = traf->tfhd.default_sample_flags; in gst_dash_demux_find_sync_samples()
3127 } else if (traf->tfhd. in gst_dash_demux_find_sync_samples()
3129 sample_duration = traf->tfhd.default_sample_duration; in gst_dash_demux_find_sync_samples()
[all …]
/third_party/ffmpeg/doc/
Dmuxers.texi1554 Do not write any absolute base_data_offset in tfhd atoms. This avoids
1558 absolute base_data_offset field in tfhd atoms, but does so by using
/third_party/gstreamer/gstplugins_good/
DChangeLog25578 Fixes stream where sample_description_id is specified in the tfhd
25708 qtdemux: fix: sample description index override in tfhd not evaluated
39710 Handle the flag from the tfhd that signals the base offset to
95003 'tfhd' boxes. For each track in a 'moof', we have a 'trun' box, which
95018 Adds fourcc's for tfra, tfhd, trun, sdtp, trex, mehd and