Lines Matching refs:tfhd
4573 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()
4677 prop_copy_uint32 (tfhd->default_sample_flags, buffer, size, offset); in atom_tfhd_copy_data()
4772 if (!atom_tfhd_copy_data (&traf->tfhd, buffer, size, offset)) { in atom_traf_copy_data()
4827 atom_tfhd_init (AtomTFHD * tfhd, guint32 track_ID) in atom_tfhd_init() argument
4831 atom_full_init (&tfhd->header, FOURCC_tfhd, 0, 0, 0, flags); in atom_tfhd_init()
4832 tfhd->track_ID = track_ID; in atom_tfhd_init()
4833 tfhd->base_data_offset = 0; in atom_tfhd_init()
4834 tfhd->sample_description_index = 1; in atom_tfhd_init()
4835 tfhd->default_sample_duration = 0; in atom_tfhd_init()
4836 tfhd->default_sample_size = 0; in atom_tfhd_init()
4837 tfhd->default_sample_flags = 0; in atom_tfhd_init()
4966 atom_tfhd_init (&traf->tfhd, track_ID); in atom_traf_init()
5028 traf->tfhd.header.flags[2] = TF_DEFAULT_SAMPLE_DURATION | in atom_traf_add_samples()
5030 traf->tfhd.default_sample_duration = delta; in atom_traf_add_samples()
5031 traf->tfhd.default_sample_size = size; in atom_traf_add_samples()
5032 traf->tfhd.default_sample_flags = flags; in atom_traf_add_samples()
5046 if (traf->tfhd.default_sample_duration != delta || prev_trun == trun) { in atom_traf_add_samples()
5047 traf->tfhd.header.flags[2] &= ~TF_DEFAULT_SAMPLE_DURATION; in atom_traf_add_samples()
5052 if (traf->tfhd.default_sample_size != size || prev_trun == trun) { in atom_traf_add_samples()
5053 traf->tfhd.header.flags[2] &= ~TF_DEFAULT_SAMPLE_SIZE; in atom_traf_add_samples()
5058 if (traf->tfhd.default_sample_flags != flags || prev_trun == trun) { in atom_traf_add_samples()
5061 traf->tfhd.default_sample_flags = flags; in atom_traf_add_samples()
5065 traf->tfhd.header.flags[2] &= ~TF_DEFAULT_SAMPLE_FLAGS; in atom_traf_add_samples()