Media             698 include/gpac/internal/isomedia_dev.h 	struct __tag_media_box *Media;
Media              92 include/gpac/internal/m3u8.h 		Media media;
Media             147 src/isomedia/avc_ext.c 			e = stbl_findEntryForTime(ref_trak->Media->information->sampleTable, sampleDTS, 0, &ref_sample_num, &prev_ref_sample_num);
Media             154 src/isomedia/avc_ext.c 			e = Media_GetSample(ref_trak->Media, ref_sample_num, &ref_samp, &di, GF_FALSE, NULL);
Media             460 src/isomedia/avc_ext.c 		entry = gf_list_get(tbas->Media->information->sampleTable->SampleDescription->other_boxes, idx);
Media             564 src/isomedia/avc_ext.c 					if (a_track && a_track->Media && a_track->Media->information && a_track->Media->information->sampleTable && a_track->Media->information->sampleTable->SampleDescription)
Media             565 src/isomedia/avc_ext.c 						an_entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(a_track->Media->information->sampleTable->SampleDescription->other_boxes, 0);
Media             931 src/isomedia/avc_ext.c 		if (a_track && a_track->Media && a_track->Media->information && a_track->Media->information->sampleTable && a_track->Media->information->sampleTable->SampleDescription)
Media             932 src/isomedia/avc_ext.c 			an_entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(a_track->Media->information->sampleTable->SampleDescription->other_boxes, 0);
Media            1169 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !cfg) return GF_BAD_PARAM;
Media            1172 src/isomedia/avc_ext.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            1175 src/isomedia/avc_ext.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            1179 src/isomedia/avc_ext.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1187 src/isomedia/avc_ext.c 	e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, entry);
Media            1188 src/isomedia/avc_ext.c 	*outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            1202 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return GF_BAD_PARAM;
Media            1203 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1335 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return GF_BAD_PARAM;
Media            1336 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1383 src/isomedia/avc_ext.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media            1384 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, 0);
Media            1418 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !cfg) return GF_BAD_PARAM;
Media            1421 src/isomedia/avc_ext.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            1424 src/isomedia/avc_ext.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            1428 src/isomedia/avc_ext.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1443 src/isomedia/avc_ext.c 	e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, entry);
Media            1444 src/isomedia/avc_ext.c 	*outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            1474 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !cfg) return GF_BAD_PARAM;
Media            1477 src/isomedia/avc_ext.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            1480 src/isomedia/avc_ext.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            1484 src/isomedia/avc_ext.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1492 src/isomedia/avc_ext.c 	e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, entry);
Media            1493 src/isomedia/avc_ext.c 	*outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            1552 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return GF_BAD_PARAM;
Media            1553 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1723 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return NULL;
Media            1727 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1747 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return NULL;
Media            1750 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1762 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return NULL;
Media            1765 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1778 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return NULL;
Media            1781 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1795 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return GF_ISOM_AVCTYPE_NONE;
Media            1796 src/isomedia/avc_ext.c 	if (trak->Media->handler->handlerType != GF_ISOM_MEDIA_VISUAL) return GF_ISOM_AVCTYPE_NONE;
Media            1797 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1836 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return GF_ISOM_HEVCTYPE_NONE;
Media            1837 src/isomedia/avc_ext.c 	if (trak->Media->handler->handlerType != GF_ISOM_MEDIA_VISUAL) return GF_ISOM_HEVCTYPE_NONE;
Media            1838 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1876 src/isomedia/avc_ext.c 	if (!trak || !trak->Media || !DescriptionIndex) return NULL;
Media            1879 src/isomedia/avc_ext.c 	entry = (GF_MPEGVisualSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            6740 src/isomedia/box_code_base.c 	if (ptr->Media) gf_isom_box_del((GF_Box *)ptr->Media);
Media            6755 src/isomedia/box_code_base.c 	if (!trak->Media || !trak->Media->information) {
Media            6759 src/isomedia/box_code_base.c 	if (!trak->Media->information->sampleTable) {
Media            6761 src/isomedia/box_code_base.c 		trak->Media->information->sampleTable = (GF_SampleTableBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STBL);
Media            6764 src/isomedia/box_code_base.c 	if (!trak->Media->information->sampleTable->SampleDescription) {
Media            6766 src/isomedia/box_code_base.c 		trak->Media->information->sampleTable->SampleDescription = (GF_SampleDescriptionBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STSD);
Media            6771 src/isomedia/box_code_base.c 	while ((a = (GF_UnknownBox*)gf_list_enum(trak->Media->information->sampleTable->SampleDescription->other_boxes, &i))) {
Media            6839 src/isomedia/box_code_base.c 		switch (trak->Media->handler->handlerType) {
Media            6844 src/isomedia/box_code_base.c 			gf_list_rem(trak->Media->information->sampleTable->SampleDescription->other_boxes, i-1);
Media            6875 src/isomedia/box_code_base.c 			gf_list_insert(trak->Media->information->sampleTable->SampleDescription->other_boxes, genv, i-1);
Media            6882 src/isomedia/box_code_base.c 			gf_list_rem(trak->Media->information->sampleTable->SampleDescription->other_boxes, i-1);
Media            6912 src/isomedia/box_code_base.c 			gf_list_insert(trak->Media->information->sampleTable->SampleDescription->other_boxes, gena, i-1);
Media            6921 src/isomedia/box_code_base.c 			gf_list_rem(trak->Media->information->sampleTable->SampleDescription->other_boxes, i-1);
Media            6956 src/isomedia/box_code_base.c 			gf_list_insert(trak->Media->information->sampleTable->SampleDescription->other_boxes, genm, i-1);
Media            6991 src/isomedia/box_code_base.c 		if (ptr->Media) ERROR_ON_DUPLICATED_BOX(a, ptr)
Media            6992 src/isomedia/box_code_base.c 			ptr->Media = (GF_MediaBox *)a;
Media            7027 src/isomedia/box_code_base.c 	if (!ptr->Media) {
Media            7063 src/isomedia/box_code_base.c 	if (ptr->Media) {
Media            7064 src/isomedia/box_code_base.c 		e = gf_isom_box_write((GF_Box *) ptr->Media, bs);
Media            7107 src/isomedia/box_code_base.c 	if (ptr->Media) {
Media            7108 src/isomedia/box_code_base.c 		e = gf_isom_box_size((GF_Box *) ptr->Media);
Media            7110 src/isomedia/box_code_base.c 		ptr->size += ptr->Media->size;
Media             537 src/isomedia/box_dump.c 	if (p->Media) gf_isom_box_dump(p->Media, trace);
Media            2452 src/isomedia/box_dump.c 	e = Media_GetSampleDesc(trak->Media, descIndex, (GF_SampleEntryBox **) &entry, &count);
Media            2617 src/isomedia/box_dump.c 	switch (trak->Media->handler->handlerType) {
Media            2625 src/isomedia/box_dump.c 	txt = (GF_Tx3gSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, 0);
Media            2646 src/isomedia/box_dump.c 	nb_descs = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            2648 src/isomedia/box_dump.c 		GF_Tx3gSampleEntryBox *txt = (GF_Tx3gSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, i);
Media            2731 src/isomedia/box_dump.c 			GF_TextSampleEntryBox *text = (GF_TextSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, i);
Media            2778 src/isomedia/box_dump.c 		fprintf(dump, "<TextSample sampleTime=\"%s\" sampleDescriptionIndex=\"%d\"", tx3g_format_time(s->DTS, trak->Media->mediaHeader->timeScale, szDur, GF_FALSE), di);
Media            2790 src/isomedia/box_dump.c 				delay /= trak->Media->mediaHeader->timeScale;
Media            2800 src/isomedia/box_dump.c 			last_DTS = (u32) trak->Media->mediaHeader->duration;
Media            2908 src/isomedia/box_dump.c 				t /= trak->Media->mediaHeader->timeScale;
Media            2912 src/isomedia/box_dump.c 					t /= trak->Media->mediaHeader->timeScale;
Media            2928 src/isomedia/box_dump.c 	if (last_DTS < trak->Media->mediaHeader->duration) {
Media            2929 src/isomedia/box_dump.c 		fprintf(dump, "<TextSample sampleTime=\"%s\" text=\"\" />\n", tx3g_format_time(trak->Media->mediaHeader->duration, trak->Media->mediaHeader->timeScale, szDur, GF_FALSE));
Media            2951 src/isomedia/box_dump.c 	switch (trak->Media->handler->handlerType) {
Media            2959 src/isomedia/box_dump.c 	ts = trak->Media->mediaHeader->timeScale;
Media            2994 src/isomedia/box_dump.c 		txtd = (GF_Tx3gSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, di-1);
Media            3112 src/isomedia/box_dump.c 	switch (trak->Media->handler->handlerType) {
Media            3124 src/isomedia/box_dump.c 	fprintf(nhmlFile, "<NHNTStream streamType=\"3\" objectTypeIndication=\"10\" timeScale=\"%d\" baseMediaFile=\"file.svg\" inRootOD=\"yes\">\n", trak->Media->mediaHeader->timeScale);
Media            3127 src/isomedia/box_dump.c 	ts = trak->Media->mediaHeader->timeScale;
Media            3306 src/isomedia/box_dump.c 		e = Media_GetSampleDesc(trak->Media, i+1, (GF_SampleEntryBox **) &entry, NULL);
Media             129 src/isomedia/drm_sample.c 	Media_GetSampleDesc(trak->Media, sampleDescriptionIndex, &sea, NULL);
Media             330 src/isomedia/drm_sample.c 	if (!trak || !trak->Media || !sampleDescriptionIndex) return GF_BAD_PARAM;
Media             362 src/isomedia/drm_sample.c 	if (!trak || !trak->Media || !sampleDescriptionIndex) return GF_BAD_PARAM;
Media             390 src/isomedia/drm_sample.c 	e = Media_GetSampleDesc(trak->Media, desc_index, &sea, NULL);
Media             536 src/isomedia/drm_sample.c 	Media_GetSampleDesc(trak->Media, sampleDescriptionIndex, &sea, NULL);
Media             647 src/isomedia/drm_sample.c 	stbl = trak->Media->information->sampleTable;
Media             669 src/isomedia/drm_sample.c 	stbl = trak->Media->information->sampleTable;
Media             697 src/isomedia/drm_sample.c 	stbl = trak->Media->information->sampleTable;
Media             752 src/isomedia/drm_sample.c 	stbl = trak->Media->information->sampleTable;
Media             784 src/isomedia/drm_sample.c 	stbl = trak->Media->information->sampleTable;
Media             990 src/isomedia/drm_sample.c 	stbl = trak->Media->information->sampleTable;
Media            1164 src/isomedia/drm_sample.c 	stbl = trak->Media->information->sampleTable;
Media            1201 src/isomedia/drm_sample.c 		return isom_cenc_get_sai_by_saiz_saio(trak->Media, sampleNumber, IV_size, sai);
Media              32 src/isomedia/hint_track.c 	if (trak->Media->handler->handlerType != GF_ISOM_MEDIA_HINT) return GF_FALSE;
Media              34 src/isomedia/hint_track.c 	if (trak->Media->information->InfoHeader
Media              35 src/isomedia/hint_track.c 	        && (trak->Media->information->InfoHeader->type != GF_ISOM_BOX_TYPE_HMHD)
Media              36 src/isomedia/hint_track.c 	        && (trak->Media->information->InfoHeader->type != GF_ISOM_BOX_TYPE_NMHD)
Media              45 src/isomedia/hint_track.c 	GF_HintMediaHeaderBox *hmhd = (GF_HintMediaHeaderBox *)trak->Media->information->InfoHeader;
Media              47 src/isomedia/hint_track.c 		GF_Box *a = (GF_Box *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, 0);
Media             115 src/isomedia/hint_track.c 	hmhd = (GF_HintMediaHeaderBox *)trak->Media->information->InfoHeader;
Media             192 src/isomedia/hint_track.c 	e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, NULL, NULL, &drefIndex);
Media             197 src/isomedia/hint_track.c 	e = stsd_AddBox((GF_Box*)trak->Media->information->sampleTable->SampleDescription, (GF_Box *) hdesc);
Media             199 src/isomedia/hint_track.c 	*HintDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             203 src/isomedia/hint_track.c 		e = gf_isom_rtp_set_timescale(the_file, trackNumber, *HintDescriptionIndex, trak->Media->mediaHeader->timeScale);
Media             235 src/isomedia/hint_track.c 	hdesc = (GF_HintSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, HintDescriptionIndex - 1);
Media             264 src/isomedia/hint_track.c 	hdesc = (GF_HintSampleEntryBox *) gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, HintDescriptionIndex - 1);
Media             294 src/isomedia/hint_track.c 	hdesc = (GF_HintSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, HintDescriptionIndex - 1);
Media             324 src/isomedia/hint_track.c 	if (trak->Media->information->sampleTable->TimeToSample->w_LastDTS > TransmissionTime) return GF_BAD_PARAM;
Media             329 src/isomedia/hint_track.c 		descIndex = trak->Media->information->sampleTable->currentEntryIndex;
Media             331 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, descIndex, (GF_SampleEntryBox **) &entry, &dataRefIndex);
Media             336 src/isomedia/hint_track.c 	trak->Media->information->sampleTable->currentEntryIndex = descIndex;
Media             364 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, trak->Media->information->sampleTable->currentEntryIndex, (GF_SampleEntryBox **) &entry, &dataRefIndex);
Media             370 src/isomedia/hint_track.c 	e = AdjustHintInfo(entry, trak->Media->information->sampleTable->SampleSize->sampleCount + 1);
Media             389 src/isomedia/hint_track.c 	e = gf_isom_add_sample(the_file, trackNumber, trak->Media->information->sampleTable->currentEntryIndex, samp);
Media             412 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, trak->Media->information->sampleTable->currentEntryIndex, (GF_SampleEntryBox **) &entry, &count);
Media             440 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, trak->Media->information->sampleTable->currentEntryIndex, (GF_SampleEntryBox **) &entry, &count);
Media             468 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, trak->Media->information->sampleTable->currentEntryIndex, (GF_SampleEntryBox **) &entry, &count);
Media             494 src/isomedia/hint_track.c 		if (SampleNumber > trak->Media->information->sampleTable->SampleSize->sampleCount + 1) {
Media             500 src/isomedia/hint_track.c 		if (!SampleNumber || (SampleNumber == trak->Media->information->sampleTable->SampleSize->sampleCount + 1)) {
Media             515 src/isomedia/hint_track.c 			dte->sampleNumber = trak->Media->information->sampleTable->SampleSize->sampleCount + 1;
Media             536 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, trak->Media->information->sampleTable->currentEntryIndex, (GF_SampleEntryBox **) &entry, &count);
Media             578 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, trak->Media->information->sampleTable->currentEntryIndex, (GF_SampleEntryBox **) &entry, &dataRefIndex);
Media             613 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, trak->Media->information->sampleTable->currentEntryIndex, (GF_SampleEntryBox **) &entry, &dataRefIndex);
Media             646 src/isomedia/hint_track.c 	e = Media_GetSampleDesc(trak->Media, trak->Media->information->sampleTable->currentEntryIndex, (GF_SampleEntryBox **) &entry, &dataRefIndex);
Media             972 src/isomedia/hinting.c 	if (sample_start>=trak->Media->information->sampleTable->SampleSize->sampleCount) return GF_BAD_PARAM;
Media             974 src/isomedia/hinting.c 	e = Media_GetSampleDesc(trak->Media, 1, (GF_SampleEntryBox **) &entry, NULL);
Media            1005 src/isomedia/hinting.c 	if (entry->cur_sample>trak->Media->information->sampleTable->SampleSize->sampleCount) return GF_EOS;
Media            1035 src/isomedia/hinting.c 	Media_GetSample(trak->Media, sample_num, &samp, &i, 0, NULL);
Media            1068 src/isomedia/hinting.c 	e = Media_GetSampleDesc(trak->Media, 1, (GF_SampleEntryBox **) &entry, NULL);
Media             709 src/isomedia/isom_intern.c 	GF_SampleTableBox *stbl = trak->Media->information->sampleTable;
Media             717 src/isomedia/isom_intern.c 	if (!trak->moov->mvhd->timeScale || !trak->Media->mediaHeader->timeScale || !stbl->SampleSize) {
Media             725 src/isomedia/isom_intern.c 		lastSampleTime = trak->Media->mediaHeader->duration;
Media             743 src/isomedia/isom_intern.c 	scale_ts = trak->Media->mediaHeader->timeScale;
Media             809 src/isomedia/isom_intern.c 	mtime = ent->mediaTime + movieTime - (time * trak->Media->mediaHeader->timeScale / trak->moov->mvhd->timeScale);
Media             869 src/isomedia/isom_intern.c 		if (time * trak->Media->mediaHeader->timeScale >= movieTime * trak->moov->mvhd->timeScale) {
Media             872 src/isomedia/isom_intern.c 				*OutMovieTime = time * trak->Media->mediaHeader->timeScale / trak->moov->mvhd->timeScale;
Media             898 src/isomedia/isom_intern.c 			if ( (time + ent->segmentDuration) * trak->Media->mediaHeader->timeScale >= movieTime * trak->moov->mvhd->timeScale) {
Media             899 src/isomedia/isom_intern.c 				*OutMovieTime = time * trak->Media->mediaHeader->timeScale / trak->moov->mvhd->timeScale;
Media             906 src/isomedia/isom_intern.c 		if ( time * trak->Media->mediaHeader->timeScale >= movieTime * trak->moov->mvhd->timeScale) {
Media             907 src/isomedia/isom_intern.c 			*OutMovieTime = time * trak->Media->mediaHeader->timeScale / trak->moov->mvhd->timeScale;
Media            1079 src/isomedia/isom_intern.c 	if (!trak->Media || !trak->Media->information->sampleTable || !trak->Media->information->sampleTable->sub_samples) return 0;
Media            1080 src/isomedia/isom_intern.c 	return gf_list_count(trak->Media->information->sampleTable->sub_samples);
Media            1089 src/isomedia/isom_intern.c 	if (!trak->Media || !trak->Media->information->sampleTable || !trak->Media->information->sampleTable->sub_samples) return GF_FALSE;
Media            1090 src/isomedia/isom_intern.c 	sub_samples = gf_list_get(trak->Media->information->sampleTable->sub_samples, subs_index-1);
Media            1103 src/isomedia/isom_intern.c 	if (!trak->Media || !trak->Media->information->sampleTable || !trak->Media->information->sampleTable->sub_samples) return 0;
Media            1104 src/isomedia/isom_intern.c 	count = gf_list_count(trak->Media->information->sampleTable->sub_samples);
Media            1106 src/isomedia/isom_intern.c 		sub_samples = gf_list_get(trak->Media->information->sampleTable->sub_samples, i);
Media             234 src/isomedia/isom_read.c 	trak->Media = (GF_MediaBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_MDIA);
Media             235 src/isomedia/isom_read.c 	trak->Media->mediaTrack = trak;
Media             236 src/isomedia/isom_read.c 	trak->Media->mediaHeader = (GF_MediaHeaderBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_MDHD);
Media             237 src/isomedia/isom_read.c 	trak->Media->mediaHeader->timeScale = timescale;
Media             239 src/isomedia/isom_read.c 	trak->Media->handler = (GF_HandlerBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_HDLR);
Media             240 src/isomedia/isom_read.c 	trak->Media->handler->handlerType = width ? GF_ISOM_MEDIA_VISUAL : GF_ISOM_MEDIA_AUDIO;
Media             242 src/isomedia/isom_read.c 	trak->Media->information = (GF_MediaInformationBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_MINF);
Media             243 src/isomedia/isom_read.c 	trak->Media->information->sampleTable = (GF_SampleTableBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STBL);
Media             244 src/isomedia/isom_read.c 	trak->Media->information->sampleTable->SampleSize = (GF_SampleSizeBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STSZ);
Media             245 src/isomedia/isom_read.c 	trak->Media->information->sampleTable->TimeToSample = (GF_TimeToSampleBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STTS);
Media             246 src/isomedia/isom_read.c 	trak->Media->information->sampleTable->ChunkOffset = (GF_Box *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STCO);
Media             247 src/isomedia/isom_read.c 	trak->Media->information->sampleTable->SampleToChunk = (GF_SampleToChunkBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STSC);
Media             248 src/isomedia/isom_read.c 	trak->Media->information->sampleTable->SyncSample = (GF_SyncSampleBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STSS);
Media             250 src/isomedia/isom_read.c 	trak->Media->information->sampleTable->SampleDescription = (GF_SampleDescriptionBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STSD);
Media             305 src/isomedia/isom_read.c 		gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, avc);
Media             328 src/isomedia/isom_read.c 		gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, aac);
Media             465 src/isomedia/isom_read.c 			if (trak->Media && trak->Media->information && trak->Media->information->scalableDataHandler && (trak->Media->information->scalableDataHandler != movie->movieFileMap))
Media             466 src/isomedia/isom_read.c 				gf_isom_datamap_del(trak->Media->information->scalableDataHandler);
Media             857 src/isomedia/isom_read.c 	count = gf_list_count(trak->Media->other_boxes);
Media             861 src/isomedia/isom_read.c 			GF_Box *box = (GF_Box *)gf_list_get(trak->Media->other_boxes, i);
Media             869 src/isomedia/isom_read.c 		*lang = gf_strdup(trak->Media->mediaHeader->packedLanguage);
Media            1061 src/isomedia/isom_read.c 	if ( (movie->LastError = Media_GetSampleDescIndex(trak->Media, for_time, &streamDescIndex)) ) {
Media            1075 src/isomedia/isom_read.c 	return gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            1106 src/isomedia/isom_read.c 	Media_GetESD(trak->Media, StreamDescriptionIndex, &esd, GF_FALSE);
Media            1134 src/isomedia/isom_read.c 	return trak->Media->mediaHeader->duration;
Media            1146 src/isomedia/isom_read.c 	return trak->Media->mediaHeader->original_duration;
Media            1156 src/isomedia/isom_read.c 	return trak->Media->mediaHeader->timeScale;
Media            1277 src/isomedia/isom_read.c 	return (trak->Media && trak->Media->handler) ? trak->Media->handler->handlerType : 0;
Media            1315 src/isomedia/isom_read.c 	entry = (GF_Box*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, 0);
Media            1331 src/isomedia/isom_read.c 	if (!trak || !DescriptionIndex || !trak->Media || !trak->Media->information || !trak->Media->information->sampleTable) return 0;
Media            1332 src/isomedia/isom_read.c 	entry = (GF_Box*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1359 src/isomedia/isom_read.c 	entry = (GF_Box*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media            1374 src/isomedia/isom_read.c 	*outName = trak->Media->handler->nameUTF8;
Media            1390 src/isomedia/isom_read.c 	e = Media_GetSampleDesc(trak->Media, StreamDescriptionIndex , NULL, &drefIndex);
Media            1393 src/isomedia/isom_read.c 	return Media_CheckDataEntry(trak->Media, drefIndex);
Media            1412 src/isomedia/isom_read.c 	e = Media_GetSampleDesc(trak->Media, StreamDescriptionIndex , NULL, &drefIndex);
Media            1416 src/isomedia/isom_read.c 	url = (GF_DataEntryURLBox*)gf_list_get(trak->Media->information->dataInformation->dref->other_boxes, drefIndex - 1);
Media            1441 src/isomedia/isom_read.c 	if (!trak || !trak->Media->information->sampleTable->SampleSize) return 0;
Media            1442 src/isomedia/isom_read.c 	return trak->Media->information->sampleTable->SampleSize->sampleCount
Media            1454 src/isomedia/isom_read.c 	return trak->Media->information->sampleTable->SampleSize->sampleSize;
Media            1464 src/isomedia/isom_read.c 	if (!trak || !trak->Media->information->sampleTable->CompositionOffset) return 0;
Media            1467 src/isomedia/isom_read.c 	ctts = trak->Media->information->sampleTable->CompositionOffset;
Media            1479 src/isomedia/isom_read.c 	if (!trak || !trak->Media->information->sampleTable->CompositionToDecode) return 0;
Media            1480 src/isomedia/isom_read.c 	return trak->Media->information->sampleTable->CompositionToDecode->compositionToDTSShift;
Media            1488 src/isomedia/isom_read.c 	if (!trak->Media->information->sampleTable->ShadowSync) return GF_FALSE;
Media            1489 src/isomedia/isom_read.c 	if (gf_list_count(trak->Media->information->sampleTable->ShadowSync->entries) ) return GF_TRUE;
Media            1498 src/isomedia/isom_read.c 	if (!trak->Media->information->sampleTable->SampleDep) return GF_FALSE;
Media            1512 src/isomedia/isom_read.c 	if (!trak->Media->information->sampleTable->SampleDep) return GF_BAD_PARAM;
Media            1513 src/isomedia/isom_read.c 	return stbl_GetSampleDepType(trak->Media->information->sampleTable->SampleDep, sampleNumber, isLeading, dependsOn, dependedOn, redundant);
Media            1539 src/isomedia/isom_read.c 	e = Media_GetSample(trak->Media, sampleNumber, &samp, &descIndex, GF_FALSE, NULL);
Media            1565 src/isomedia/isom_read.c 	stbl_GetSampleDTS_and_Duration(trak->Media->information->sampleTable->TimeToSample, sampleNumber, &dts, &dur);
Media            1580 src/isomedia/isom_read.c 	stbl_GetSampleSize(trak->Media->information->sampleTable->SampleSize, sampleNumber, &size);
Media            1592 src/isomedia/isom_read.c 	if (! trak->Media->information->sampleTable->SyncSample) return 1;
Media            1597 src/isomedia/isom_read.c 	e = stbl_GetSampleRAP(trak->Media->information->sampleTable->SyncSample, sampleNumber, &is_rap, NULL, NULL);
Media            1619 src/isomedia/isom_read.c 	e = Media_GetSample(trak->Media, sampleNumber, &samp, sampleDescriptionIndex, GF_TRUE, data_offset);
Media            1645 src/isomedia/isom_read.c 	if (stbl_GetSampleDTS(trak->Media->information->sampleTable->TimeToSample, sampleNumber, &dts) != GF_OK) return 0;
Media            1656 src/isomedia/isom_read.c 	return Media_IsSelfContained(trak->Media, sampleDescriptionIndex);
Media            1670 src/isomedia/isom_read.c 	stbl = trak->Media->information->sampleTable;
Media            1699 src/isomedia/isom_read.c 	stbl = trak->Media->information->sampleTable;
Media            1718 src/isomedia/isom_read.c 	if (! trak->Media->information->sampleTable->SyncSample) {
Media            1726 src/isomedia/isom_read.c 			sampleNumber = trak->Media->information->sampleTable->SampleSize->sampleCount;
Media            1767 src/isomedia/isom_read.c 		e = Media_FindSyncSample(trak->Media->information->sampleTable,
Media            1777 src/isomedia/isom_read.c 		e = Media_FindSyncSample(trak->Media->information->sampleTable,
Media            1804 src/isomedia/isom_read.c 	e = Media_GetSample(trak->Media, sampleNumber, sample, StreamDescriptionIndex, GF_FALSE, NULL);
Media            1865 src/isomedia/isom_read.c 	else if ((movieTime * trak->moov->mvhd->timeScale > trak->Header->duration * trak->Media->mediaHeader->timeScale)
Media            1915 src/isomedia/isom_read.c 	tsscale = trak->Media->mediaHeader->timeScale;
Media            1924 src/isomedia/isom_read.c 			if (the_file->moov->mvex && !trak->Media->information->sampleTable->SampleSize->sampleCount)
Media            1965 src/isomedia/isom_read.c 	return trak->Media->BytesMissing;
Media            2003 src/isomedia/isom_read.c 			time *= trak->Media->mediaHeader->timeScale;
Media            2077 src/isomedia/isom_read.c 	if (trak->Media->information->sampleTable->SyncSample) {
Media            2078 src/isomedia/isom_read.c 		if (!trak->Media->information->sampleTable->SyncSample->nb_entries) return 2;
Media            2091 src/isomedia/isom_read.c 	if (trak->Media->information->sampleTable->SyncSample) {
Media            2092 src/isomedia/isom_read.c 		return trak->Media->information->sampleTable->SyncSample->nb_entries;
Media            2133 src/isomedia/isom_read.c 	return stbl_GetPaddingBits(trak->Media->information->sampleTable->PaddingBits,
Media            2147 src/isomedia/isom_read.c 	if (trak->Media->information->sampleTable->PaddingBits) return GF_TRUE;
Media            2342 src/isomedia/isom_read.c 	stsc = trak->Media->information->sampleTable->SampleToChunk;
Media            2343 src/isomedia/isom_read.c 	stts = trak->Media->information->sampleTable->TimeToSample;
Media            2353 src/isomedia/isom_read.c 		if (stsc->entries[i].samplesPerChunk >  2*trak->Media->information->sampleTable->SampleSize->sampleCount) {
Media            2354 src/isomedia/isom_read.c 			GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[iso file] likely broken stco entry (%u samples per chunk but %u samples total)\n", stsc->entries[i].samplesPerChunk, trak->Media->information->sampleTable->SampleSize->sampleCount));
Media            2366 src/isomedia/isom_read.c 				stbl_GetSampleSize(trak->Media->information->sampleTable->SampleSize, k+sample_idx, &size);
Media            2406 src/isomedia/isom_read.c 	return stbl_GetSampleFragmentCount(trak->Media->information->sampleTable->Fragments, sampleNumber);
Media            2417 src/isomedia/isom_read.c 	return stbl_GetSampleFragmentSize(trak->Media->information->sampleTable->Fragments, sampleNumber, FragmentIndex);
Media            2452 src/isomedia/isom_read.c 	stbl = trak->Media->information->sampleTable;
Media            2563 src/isomedia/isom_read.c 			if (trak->Media->information->dataHandler == previous_movie_fileMap_address) {
Media            2565 src/isomedia/isom_read.c 				trak->Media->information->scalableDataHandler = movie->movieFileMap;
Media            2567 src/isomedia/isom_read.c 				trak->Media->information->dataHandler = movie->movieFileMap;
Media            2568 src/isomedia/isom_read.c 			} else if (trak->Media->information->scalableDataHandler == previous_movie_fileMap_address) {
Media            2628 src/isomedia/isom_read.c 		GF_SampleTableBox *stbl = trak->Media->information->sampleTable;
Media            2674 src/isomedia/isom_read.c 			trak->Media->information->sampleTable->SampleSize->sampleCount = 0;
Media            2700 src/isomedia/isom_read.c 		if (trak->Media->information->dataHandler == movie->movieFileMap) {
Media            2701 src/isomedia/isom_read.c 			trak->Media->information->dataHandler = NULL;
Media            2703 src/isomedia/isom_read.c 		if (trak->Media->information->scalableDataHandler == movie->movieFileMap) {
Media            2704 src/isomedia/isom_read.c 			trak->Media->information->scalableDataHandler = NULL;
Media            2706 src/isomedia/isom_read.c 			if (trak->Media->information->scalableDataHandler==trak->Media->information->dataHandler)
Media            2707 src/isomedia/isom_read.c 				trak->Media->information->dataHandler = NULL;
Media            2709 src/isomedia/isom_read.c 			gf_isom_datamap_del(trak->Media->information->scalableDataHandler);
Media            2710 src/isomedia/isom_read.c 			trak->Media->information->scalableDataHandler = NULL;
Media            2717 src/isomedia/isom_read.c 			GF_SampleTableBox *stbl = trak->Media->information->sampleTable;
Media            2730 src/isomedia/isom_read.c 						base_track_sample_count = base->Media->information->sampleTable->SampleSize->sampleCount;
Media            2844 src/isomedia/isom_read.c 			if (trak->Media->information->dataHandler == NULL) {
Media            2845 src/isomedia/isom_read.c 				trak->Media->information->dataHandler = movie->movieFileMap;
Media            2865 src/isomedia/isom_read.c 			trak->Media->information->scalableDataHandler = tmp;
Media            2867 src/isomedia/isom_read.c 				trak->Media->information->scalableDataHandler = tmp;
Media            2871 src/isomedia/isom_read.c 			trak->Media->information->dataHandler = tmp;
Media            2931 src/isomedia/isom_read.c 	if (!trak || !StreamDescriptionIndex || !trak->Media || !trak->Media->information || !trak->Media->information->sampleTable) return 0;
Media            2933 src/isomedia/isom_read.c 	entry = (GF_GenericVisualSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, StreamDescriptionIndex-1);
Media            3033 src/isomedia/isom_read.c 	stsd = trak->Media->information->sampleTable->SampleDescription;
Media            3045 src/isomedia/isom_read.c 	} else if (trak->Media->handler->handlerType==GF_ISOM_MEDIA_SCENE) {
Media            3064 src/isomedia/isom_read.c 	stsd = trak->Media->information->sampleTable->SampleDescription;
Media            3093 src/isomedia/isom_read.c 	stsd = trak->Media->information->sampleTable->SampleDescription;
Media            3183 src/isomedia/isom_read.c 	stsz = tk->Media->information->sampleTable->SampleSize;
Media            3517 src/isomedia/isom_read.c 	if (!trak->Media->information->sampleTable->sub_samples) return 0;
Media            3550 src/isomedia/isom_read.c 	entry = (GF_MPEGVisualSampleEntryBox *) gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, sampleDescriptionIndex-1);
Media            3583 src/isomedia/isom_read.c 		trak->Media->information->sampleTable->SampleSize->sampleCount = 0;
Media            3607 src/isomedia/isom_read.c 	if (!trak->Media->information->sampleTable->sampleGroups) return GF_OK;
Media            3610 src/isomedia/isom_read.c 		count = gf_list_count(trak->Media->information->sampleTable->sampleGroupsDescription);
Media            3612 src/isomedia/isom_read.c 			GF_SampleGroupDescriptionBox *sgdesc = (GF_SampleGroupDescriptionBox*)gf_list_get(trak->Media->information->sampleTable->sampleGroupsDescription, i);
Media            3635 src/isomedia/isom_read.c 	count = gf_list_count(trak->Media->information->sampleTable->sampleGroups);
Media            3643 src/isomedia/isom_read.c 		sg = (GF_SampleGroupBox*)gf_list_get(trak->Media->information->sampleTable->sampleGroups, i);
Media            3658 src/isomedia/isom_read.c 		for (j=0; j<gf_list_count(trak->Media->information->sampleTable->sampleGroupsDescription); j++) {
Media            3659 src/isomedia/isom_read.c 			sgdesc = (GF_SampleGroupDescriptionBox*)gf_list_get(trak->Media->information->sampleTable->sampleGroupsDescription, j);
Media            3687 src/isomedia/isom_read.c 	if (!trak->Media->information->sampleTable->sampleGroupsDescription) return NULL;
Media            3689 src/isomedia/isom_read.c 	count = gf_list_count(trak->Media->information->sampleTable->sampleGroupsDescription);
Media            3691 src/isomedia/isom_read.c 		GF_SampleGroupDescriptionBox *sgdesc = (GF_SampleGroupDescriptionBox*)gf_list_get(trak->Media->information->sampleTable->sampleGroupsDescription, i);
Media            3834 src/isomedia/isom_read.c 	if (!trak->Media || !trak->Media->information || !trak->Media->information->sampleTable || !trak->Media->information->sampleTable->CompositionToDecode) return 0;
Media            3835 src/isomedia/isom_read.c 	return trak->Media->information->sampleTable->CompositionToDecode->compositionToDTSShift;
Media            3944 src/isomedia/isom_read.c 	if (trak->Media->information->sampleTable->SampleSize && trak->Media->information->sampleTable->SampleSize->sampleCount>=sample_number) {
Media            3945 src/isomedia/isom_read.c 		stbl_GetSampleInfos(trak->Media->information->sampleTable, sample_number, &offset, &chunkNum, &descIndex, &edit);
Media            3955 src/isomedia/isom_read.c 	if (trak->Media->information->sampleTable->sampleGroups) {
Media            3956 src/isomedia/isom_read.c 		count = gf_list_count(trak->Media->information->sampleTable->sampleGroups);
Media            3958 src/isomedia/isom_read.c 			sample_group = (GF_SampleGroupBox*)gf_list_get(trak->Media->information->sampleTable->sampleGroups, i);
Media            4008 src/isomedia/isom_read.c 		for (j=0; j<gf_list_count(trak->Media->information->sampleTable->sampleGroupsDescription); j++) {
Media            4009 src/isomedia/isom_read.c 			sgdesc = (GF_SampleGroupDescriptionBox*)gf_list_get(trak->Media->information->sampleTable->sampleGroupsDescription, j);
Media             145 src/isomedia/isom_store.c 		writer->mdia = trak->Media;
Media             146 src/isomedia/isom_store.c 		writer->timeScale = trak->Media->mediaHeader->timeScale;
Media             151 src/isomedia/isom_store.c 		if (trak->Media->information->sampleTable->ChunkOffset->type == GF_ISOM_BOX_TYPE_STCO) {
Media             159 src/isomedia/isom_store.c 		if (Media_IsSelfContained(writer->mdia, 1)) mw->total_samples += trak->Media->information->sampleTable->SampleSize->sampleCount;
Media            1290 src/isomedia/isom_store.c 			if (trak->Media->handler->nameUTF8 && strstr(trak->Media->handler->nameUTF8, "@GPAC")) {
Media            1291 src/isomedia/isom_store.c 				gf_free(trak->Media->handler->nameUTF8);
Media            1292 src/isomedia/isom_store.c 				trak->Media->handler->nameUTF8 = gf_strdup("MediaHandler");
Media            1294 src/isomedia/isom_store.c 			trak->Media->mediaHeader->creationTime = 0;
Media            1295 src/isomedia/isom_store.c 			trak->Media->mediaHeader->modificationTime = 0;
Media              48 src/isomedia/isom_write.c 		e = stbl_UnpackOffsets(trak->Media->information->sampleTable);
Media              50 src/isomedia/isom_write.c 		e = stbl_unpackCTS(trak->Media->information->sampleTable);
Media             259 src/isomedia/isom_write.c 		memcpy(trak->Media->mediaHeader->packedLanguage, code, sizeof(char)*3);
Media             270 src/isomedia/isom_write.c 		memcpy(trak->Media->mediaHeader->packedLanguage, code_3cc, sizeof(char)*3);
Media             280 src/isomedia/isom_write.c 		count = gf_list_count(trak->Media->other_boxes);
Media             282 src/isomedia/isom_write.c 			GF_Box *box = (GF_Box *)gf_list_get(trak->Media->other_boxes, i);
Media             291 src/isomedia/isom_write.c 				trak->Media->other_boxes = gf_list_new();
Media             293 src/isomedia/isom_write.c 			gf_list_add(trak->Media->other_boxes, elng);
Media             303 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             646 src/isomedia/isom_write.c 	if (!trak || !trak->Media ||
Media             651 src/isomedia/isom_write.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             654 src/isomedia/isom_write.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             661 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             702 src/isomedia/isom_write.c 		descIndex = trak->Media->information->sampleTable->currentEntryIndex;
Media             704 src/isomedia/isom_write.c 	e = Media_GetSampleDesc(trak->Media, descIndex, &entry, &dataRefIndex);
Media             708 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->currentEntryIndex = descIndex;
Media             712 src/isomedia/isom_write.c 	Dentry = (GF_DataEntryURLBox*)gf_list_get(trak->Media->information->dataInformation->dref->other_boxes, dataRefIndex - 1);
Media             716 src/isomedia/isom_write.c 	e = gf_isom_datamap_open(trak->Media, dataRefIndex, 1);
Media             720 src/isomedia/isom_write.c 	data_offset = gf_isom_datamap_get_offset(trak->Media->information->dataHandler);
Media             723 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_OD) {
Media             725 src/isomedia/isom_write.c 		e = Media_ParseODFrame(trak->Media, sample, &od_sample);
Media             727 src/isomedia/isom_write.c 		e = Media_AddSample(trak->Media, data_offset, od_sample, descIndex, 0);
Media             729 src/isomedia/isom_write.c 		e = gf_isom_datamap_add_data(trak->Media->information->dataHandler, od_sample->data, od_sample->dataLength);
Media             733 src/isomedia/isom_write.c 		e = Media_AddSample(trak->Media, data_offset, sample, descIndex, 0);
Media             736 src/isomedia/isom_write.c 			e = gf_isom_datamap_add_data(trak->Media->information->dataHandler, sample->data, sample->dataLength);
Media             742 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             771 src/isomedia/isom_write.c 	e = stbl_findEntryForTime(trak->Media->information->sampleTable, sample->DTS, 0, &sampleNum, &prevSampleNum);
Media             782 src/isomedia/isom_write.c 	e = Media_GetSampleDesc(trak->Media, descIndex, &entry, &dataRefIndex);
Media             785 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->currentEntryIndex = descIndex;
Media             788 src/isomedia/isom_write.c 	Dentry = (GF_DataEntryURLBox*)gf_list_get(trak->Media->information->dataInformation->dref->other_boxes, dataRefIndex - 1);
Media             792 src/isomedia/isom_write.c 	e = gf_isom_datamap_open(trak->Media, dataRefIndex, 1);
Media             795 src/isomedia/isom_write.c 	data_offset = gf_isom_datamap_get_offset(trak->Media->information->dataHandler);
Media             799 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_OD) {
Media             801 src/isomedia/isom_write.c 		e = Media_ParseODFrame(trak->Media, sample, &od_sample);
Media             802 src/isomedia/isom_write.c 		if (!e) e = Media_AddSample(trak->Media, data_offset, od_sample, descIndex, sampleNum);
Media             803 src/isomedia/isom_write.c 		if (!e) e = gf_isom_datamap_add_data(trak->Media->information->dataHandler, od_sample->data, od_sample->dataLength);
Media             806 src/isomedia/isom_write.c 		e = Media_AddSample(trak->Media, data_offset, sample, descIndex, sampleNum);
Media             807 src/isomedia/isom_write.c 		if (!e) e = gf_isom_datamap_add_data(trak->Media->information->dataHandler, sample->data, sample->dataLength);
Media             816 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             830 src/isomedia/isom_write.c 	stbl = trak->Media->information->sampleTable;
Media             852 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_OD) return GF_BAD_PARAM;
Media             855 src/isomedia/isom_write.c 	descIndex = trak->Media->information->sampleTable->currentEntryIndex;
Media             857 src/isomedia/isom_write.c 	e = Media_GetSampleDesc(trak->Media, descIndex, &entry, &dataRefIndex);
Media             862 src/isomedia/isom_write.c 	Dentry = (GF_DataEntryURLBox*)gf_list_get(trak->Media->information->dataInformation->dref->other_boxes, dataRefIndex - 1);
Media             866 src/isomedia/isom_write.c 	e = gf_isom_datamap_open(trak->Media, dataRefIndex, 1);
Media             870 src/isomedia/isom_write.c 	e = gf_isom_datamap_add_data(trak->Media->information->dataHandler, data, data_size);
Media             873 src/isomedia/isom_write.c 	return stbl_SampleSizeAppend(trak->Media->information->sampleTable->SampleSize, data_size);
Media             901 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_OD) {
Media             909 src/isomedia/isom_write.c 		descIndex = trak->Media->information->sampleTable->currentEntryIndex;
Media             911 src/isomedia/isom_write.c 	e = Media_GetSampleDesc(trak->Media, descIndex, &entry, &dataRefIndex);
Media             915 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->currentEntryIndex = descIndex;
Media             919 src/isomedia/isom_write.c 	Dentry =(GF_DataEntryURLBox*) gf_list_get(trak->Media->information->dataInformation->dref->other_boxes, dataRefIndex - 1);
Media             923 src/isomedia/isom_write.c 	e = Media_AddSample(trak->Media, dataOffset, sample, descIndex, 0);
Media             927 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             952 src/isomedia/isom_write.c 	mdur = trak->Media->mediaHeader->duration;
Media             953 src/isomedia/isom_write.c 	stts = trak->Media->information->sampleTable->TimeToSample;
Media             976 src/isomedia/isom_write.c 		stts->w_currentSampleNum = trak->Media->information->sampleTable->SampleSize->sampleCount;
Media             979 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             980 src/isomedia/isom_write.c 	trak->Media->mediaHeader->duration = mdur;
Media            1001 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_HINT) return GF_BAD_PARAM;
Media            1004 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_OD) {
Media            1006 src/isomedia/isom_write.c 		e = Media_ParseODFrame(trak->Media, sample, &od_sample);
Media            1007 src/isomedia/isom_write.c 		if (!e) e = Media_UpdateSample(trak->Media, sampleNumber, od_sample, data_only);
Media            1010 src/isomedia/isom_write.c 		e = Media_UpdateSample(trak->Media, sampleNumber, sample, data_only);
Media            1014 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1033 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_HINT) return GF_BAD_PARAM;
Media            1041 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_OD) {
Media            1045 src/isomedia/isom_write.c 	e = Media_UpdateSampleReference(trak->Media, sampleNumber, sample, data_offset);
Media            1049 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1065 src/isomedia/isom_write.c 	if (!trak || !sampleNumber || (sampleNumber > trak->Media->information->sampleTable->SampleSize->sampleCount) )
Media            1069 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType == GF_ISOM_MEDIA_HINT) return GF_BAD_PARAM;
Media            1075 src/isomedia/isom_write.c 	e = stbl_RemoveDTS(trak->Media->information->sampleTable, sampleNumber, trak->Media->mediaHeader->timeScale);
Media            1078 src/isomedia/isom_write.c 	if (trak->Media->information->sampleTable->CompositionOffset) {
Media            1079 src/isomedia/isom_write.c 		e = stbl_RemoveCTS(trak->Media->information->sampleTable, sampleNumber);
Media            1083 src/isomedia/isom_write.c 	e = stbl_RemoveSize(trak->Media->information->sampleTable->SampleSize, sampleNumber);
Media            1086 src/isomedia/isom_write.c 	e = stbl_RemoveChunk(trak->Media->information->sampleTable, sampleNumber);
Media            1089 src/isomedia/isom_write.c 	if (trak->Media->information->sampleTable->SyncSample) {
Media            1090 src/isomedia/isom_write.c 		e = stbl_RemoveRAP(trak->Media->information->sampleTable, sampleNumber);
Media            1094 src/isomedia/isom_write.c 	if (trak->Media->information->sampleTable->SampleDep) {
Media            1095 src/isomedia/isom_write.c 		e = stbl_RemoveRedundant(trak->Media->information->sampleTable, sampleNumber);
Media            1099 src/isomedia/isom_write.c 	if (trak->Media->information->sampleTable->ShadowSync) {
Media            1100 src/isomedia/isom_write.c 		e = stbl_RemoveShadow(trak->Media->information->sampleTable->ShadowSync, sampleNumber);
Media            1104 src/isomedia/isom_write.c 	e = stbl_RemovePaddingBits(trak->Media->information->sampleTable, sampleNumber);
Media            1107 src/isomedia/isom_write.c 	e = stbl_RemoveSubSample(trak->Media->information->sampleTable, sampleNumber);
Media            1110 src/isomedia/isom_write.c 	e = stbl_RemoveSampleGroup(trak->Media->information->sampleTable, sampleNumber);
Media            1158 src/isomedia/isom_write.c 	e = Media_GetESD(trak->Media, StreamDescriptionIndex, &esd, GF_TRUE);
Media            1167 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1235 src/isomedia/isom_write.c 	stsd = trak->Media->information->sampleTable->SampleDescription;
Media            1246 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1270 src/isomedia/isom_write.c 	stsd = trak->Media->information->sampleTable->SampleDescription;
Media            1281 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1290 src/isomedia/isom_write.c 	} else if (trak->Media->handler->handlerType==GF_ISOM_MEDIA_SCENE) {
Media            1313 src/isomedia/isom_write.c 	stsd = trak->Media->information->sampleTable->SampleDescription;
Media            1322 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1353 src/isomedia/isom_write.c 	stsd = trak->Media->information->sampleTable->SampleDescription;
Media            1362 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1397 src/isomedia/isom_write.c 	stsd = trak->Media->information->sampleTable->SampleDescription;
Media            1408 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1714 src/isomedia/isom_write.c 		if (trak->Media->handler->handlerType != GF_ISOM_MEDIA_OD) continue;
Media            2176 src/isomedia/isom_write.c 	if (!trak->Media || !trak->Media->information
Media            2177 src/isomedia/isom_write.c 	        || !trak->Media->information->sampleTable || !trak->Media->information->sampleTable->SampleSize)
Media            2180 src/isomedia/isom_write.c 	stsz = trak->Media->information->sampleTable->SampleSize;
Media            2385 src/isomedia/isom_write.c 	return stbl_SetPaddingBits(trak->Media->information->sampleTable, sampleNumber, NbBits);
Media            2580 src/isomedia/isom_write.c 	return stbl_AddSampleFragment(trak->Media->information->sampleTable, sampleNumber, FragmentSize);
Media            2595 src/isomedia/isom_write.c 	return stbl_RemoveSampleFragments(trak->Media->information->sampleTable, sampleNumber);
Media            2609 src/isomedia/isom_write.c 	if (trak->Media->information->sampleTable->Fragments) {
Media            2610 src/isomedia/isom_write.c 		gf_isom_box_del((GF_Box *)trak->Media->information->sampleTable->Fragments);
Media            2611 src/isomedia/isom_write.c 		trak->Media->information->sampleTable->Fragments = NULL;
Media            2722 src/isomedia/isom_write.c 				if (keep_hint_tracks || (trak->Media->handler->handlerType != GF_ISOM_MEDIA_HINT)) {
Media            2802 src/isomedia/isom_write.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media            2804 src/isomedia/isom_write.c 	stbl = trak->Media->information->sampleTable;
Media            2810 src/isomedia/isom_write.c 	trak->Media->information->sampleTable = stbl_temp;
Media            2824 src/isomedia/isom_write.c 	trak->Media->information->sampleTable = stbl;
Media            2833 src/isomedia/isom_write.c 	stbl = new_tk->Media->information->sampleTable;
Media            2872 src/isomedia/isom_write.c 		gf_isom_box_array_del(new_tk->Media->information->dataInformation->dref->other_boxes);
Media            2873 src/isomedia/isom_write.c 		new_tk->Media->information->dataInformation->dref->other_boxes = gf_list_new();
Media            2875 src/isomedia/isom_write.c 		entry = (GF_SampleEntryBox*)gf_list_get(new_tk->Media->information->sampleTable->SampleDescription->other_boxes, 0);
Media            2878 src/isomedia/isom_write.c 			Media_CreateDataRef(new_tk->Media->information->dataInformation->dref, NULL, NULL, &dref);
Media            2883 src/isomedia/isom_write.c 		for (i=0; i<gf_list_count(new_tk->Media->information->dataInformation->dref->other_boxes); i++) {
Media            2884 src/isomedia/isom_write.c 			GF_DataEntryBox *dref_entry = (GF_DataEntryBox *)gf_list_get(new_tk->Media->information->dataInformation->dref->other_boxes, i);
Media            2908 src/isomedia/isom_write.c 	if (!dst_trak || !dst_trak->Media) return GF_BAD_PARAM;
Media            2910 src/isomedia/isom_write.c 	if (!src_trak || !src_trak->Media) return GF_BAD_PARAM;
Media            2913 src/isomedia/isom_write.c 		gf_isom_box_array_del(dst_trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            2914 src/isomedia/isom_write.c 		dst_trak->Media->information->sampleTable->SampleDescription->other_boxes = gf_list_new();
Media            2917 src/isomedia/isom_write.c 	for (i=0; i<gf_list_count(src_trak->Media->information->sampleTable->SampleDescription->other_boxes); i++) {
Media            2942 src/isomedia/isom_write.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media            2944 src/isomedia/isom_write.c 	entry = (GF_Box*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, orig_desc_index-1);
Media            2961 src/isomedia/isom_write.c 	if (!trak || !trak->Media) goto exit;
Media            2964 src/isomedia/isom_write.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            2967 src/isomedia/isom_write.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            2971 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            2974 src/isomedia/isom_write.c 	e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, entry);
Media            2975 src/isomedia/isom_write.c 	*outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            2999 src/isomedia/isom_write.c 	if (!trak || !trak->Media || !udesc) return GF_BAD_PARAM;
Media            3002 src/isomedia/isom_write.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            3005 src/isomedia/isom_write.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            3009 src/isomedia/isom_write.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            3011 src/isomedia/isom_write.c 	if (trak->Media->handler->handlerType==GF_ISOM_MEDIA_VISUAL) {
Media            3046 src/isomedia/isom_write.c 		e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, entry);
Media            3048 src/isomedia/isom_write.c 	else if (trak->Media->handler->handlerType==GF_ISOM_MEDIA_AUDIO) {
Media            3078 src/isomedia/isom_write.c 		e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, gena);
Media            3102 src/isomedia/isom_write.c 		e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, genm);
Media            3104 src/isomedia/isom_write.c 	*outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            3120 src/isomedia/isom_write.c 	if (!trak || !trak->Media || !StreamDescriptionIndex) return GF_BAD_PARAM;
Media            3122 src/isomedia/isom_write.c 	entry = (GF_GenericVisualSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, StreamDescriptionIndex-1);
Media            3204 src/isomedia/isom_write.c 	if (!trak || !trak->Media || !streamDescIndex) return GF_BAD_PARAM;
Media            3205 src/isomedia/isom_write.c 	entry = (GF_Box*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, streamDescIndex-1);
Media            3207 src/isomedia/isom_write.c 	gf_list_rem(trak->Media->information->sampleTable->SampleDescription->other_boxes, streamDescIndex-1);
Media            3372 src/isomedia/isom_write.c 	if (!trak->Media->information->sampleTable->CompositionOffset) return GF_BAD_PARAM;
Media            3373 src/isomedia/isom_write.c 	if (!trak->Media->information->sampleTable->CompositionOffset->unpack_mode) return GF_BAD_PARAM;
Media            3375 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->CompositionOffset->entries[sample_number - 1].decodingOffset = offset;
Media            3383 src/isomedia/isom_write.c 	if (!trak->Media->information->sampleTable->CompositionOffset) return GF_OK;
Media            3385 src/isomedia/isom_write.c 	gf_isom_box_del((GF_Box *)trak->Media->information->sampleTable->CompositionOffset);
Media            3386 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->CompositionOffset = NULL;
Media            3400 src/isomedia/isom_write.c 		if (!trak->Media->information->sampleTable->CompositionOffset) trak->Media->information->sampleTable->CompositionOffset = (GF_CompositionOffsetBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_CTTS);
Media            3401 src/isomedia/isom_write.c 		e = stbl_unpackCTS(trak->Media->information->sampleTable);
Media            3403 src/isomedia/isom_write.c 		if (!trak->Media->information->sampleTable->CompositionOffset) return GF_OK;
Media            3404 src/isomedia/isom_write.c 		e = stbl_repackCTS(trak->Media->information->sampleTable->CompositionOffset);
Media            3478 src/isomedia/isom_write.c 		gf_bs_write_u32(bs, trak->Media->information->sampleTable->groupID);
Media            3479 src/isomedia/isom_write.c 		gf_bs_write_u32(bs, trak->Media->information->sampleTable->trackPriority);
Media            3538 src/isomedia/isom_write.c 			trak->Media->information->sampleTable->groupID = gf_bs_read_u32(bs);
Media            3539 src/isomedia/isom_write.c 			trak->Media->information->sampleTable->trackPriority = gf_bs_read_u32(bs);
Media            3562 src/isomedia/isom_write.c 	if (!trak || !trak->Media | !trak->Media->mediaHeader) return GF_BAD_PARAM;
Media            3563 src/isomedia/isom_write.c 	if (trak->Media->mediaHeader->timeScale==newTS) return GF_OK;
Media            3566 src/isomedia/isom_write.c 	scale /= trak->Media->mediaHeader->timeScale;
Media            3567 src/isomedia/isom_write.c 	trak->Media->mediaHeader->timeScale = newTS;
Media            3570 src/isomedia/isom_write.c 		GF_SampleTableBox *stbl = trak->Media->information->sampleTable;
Media            3712 src/isomedia/isom_write.c 	if (!trak1 || !trak1->Media) return GF_FALSE;
Media            3714 src/isomedia/isom_write.c 	if (!trak2 || !trak2->Media) return GF_FALSE;
Media            3716 src/isomedia/isom_write.c 	if (trak1->Media->handler->handlerType != trak2->Media->handler->handlerType) return GF_FALSE;
Media            3717 src/isomedia/isom_write.c 	count = gf_list_count(trak1->Media->information->sampleTable->SampleDescription->other_boxes);
Media            3718 src/isomedia/isom_write.c 	if (count != gf_list_count(trak2->Media->information->sampleTable->SampleDescription->other_boxes)) {
Media            3724 src/isomedia/isom_write.c 		GF_Box *ent1 = (GF_Box *)gf_list_get(trak1->Media->information->sampleTable->SampleDescription->other_boxes, i);
Media            3725 src/isomedia/isom_write.c 		GF_Box *ent2 = (GF_Box *)gf_list_get(trak2->Media->information->sampleTable->SampleDescription->other_boxes, i);
Media            3727 src/isomedia/isom_write.c 		if (sdesc_index1) ent1 = (GF_Box *)gf_list_get(trak1->Media->information->sampleTable->SampleDescription->other_boxes, sdesc_index1 - 1);
Media            3728 src/isomedia/isom_write.c 		if (sdesc_index2) ent2 = (GF_Box *)gf_list_get(trak2->Media->information->sampleTable->SampleDescription->other_boxes, sdesc_index2 - 1);
Media            3742 src/isomedia/isom_write.c 			Media_GetESD(trak1->Media, sdesc_index1 ? sdesc_index1 : i+1, &esd1, GF_TRUE);
Media            3743 src/isomedia/isom_write.c 			Media_GetESD(trak2->Media, sdesc_index2 ? sdesc_index2 : i+1, &esd2, GF_TRUE);
Media            3856 src/isomedia/isom_write.c 	a = (GF_Box *)trak1->Media->information->sampleTable->SampleDescription;
Media            3857 src/isomedia/isom_write.c 	b = (GF_Box *)trak2->Media->information->sampleTable->SampleDescription;
Media            3900 src/isomedia/isom_write.c 	stbl = trak->Media->information->sampleTable;
Media            3920 src/isomedia/isom_write.c 	stbl = trak->Media->information->sampleTable;
Media            3947 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->groupID = GroupID;
Media            3962 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->trackPriority = Priority > 255 ? 255 : Priority;
Media            3975 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->MaxSamplePerChunk = maxSamplesPerChunk;
Media            3991 src/isomedia/isom_write.c 	e = Media_GetSampleDesc(trak->Media, StreamDescriptionIndex, &entry, NULL);
Media            4032 src/isomedia/isom_write.c 	e = Media_GetSampleDesc(trak->Media, StreamDescriptionIndex, &entry, NULL);
Media            4066 src/isomedia/isom_write.c 	return trak->Media->information->sampleTable->groupID;
Media            4075 src/isomedia/isom_write.c 	return trak->Media->information->sampleTable->trackPriority;
Media            4096 src/isomedia/isom_write.c 	if (trak->Media->handler->nameUTF8) gf_free(trak->Media->handler->nameUTF8);
Media            4097 src/isomedia/isom_write.c 	trak->Media->handler->nameUTF8 = NULL;
Media            4120 src/isomedia/isom_write.c 		trak->Media->handler->nameUTF8 = (char*)gf_malloc(sizeof(char)*(size_t)(size+1));
Media            4121 src/isomedia/isom_write.c 		size = fread(trak->Media->handler->nameUTF8, sizeof(char), (size_t)size, f);
Media            4122 src/isomedia/isom_write.c 		trak->Media->handler->nameUTF8[size] = 0;
Media            4170 src/isomedia/isom_write.c 		trak->Media->handler->nameUTF8 = gf_strdup(szLine);
Media            4217 src/isomedia/isom_write.c 	trak->Media->handler->handlerType = new_type;
Media            4228 src/isomedia/isom_write.c 	entry = (GF_SampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, sampleDescriptionIndex - 1);
Media            4590 src/isomedia/isom_write.c 	if (!trak || !trak->Media || !trak->Media->information->sampleTable)
Media            4593 src/isomedia/isom_write.c 	if (!trak->Media->information->sampleTable->sub_samples) {
Media            4594 src/isomedia/isom_write.c 		trak->Media->information->sampleTable->sub_samples=gf_list_new();
Media            4598 src/isomedia/isom_write.c 	count = gf_list_count(trak->Media->information->sampleTable->sub_samples);
Media            4600 src/isomedia/isom_write.c 		sub_samples = gf_list_get(trak->Media->information->sampleTable->sub_samples, i);
Media            4606 src/isomedia/isom_write.c 		gf_list_add(trak->Media->information->sampleTable->sub_samples, sub_samples);
Media            4628 src/isomedia/isom_write.c 	entry = (GF_MPEGVisualSampleEntryBox *) gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, sampleDescriptionIndex-1);
Media            4838 src/isomedia/isom_write.c 	return gf_isom_set_sample_group_info_ex(trak->Media->information->sampleTable, NULL, sample_number, grouping_type, grouping_type_parameter, udta, sg_create_entry, sg_compare_entry);
Media            4858 src/isomedia/isom_write.c 	sgdesc = get_sgdp(trak->Media->information->sampleTable, NULL, grouping_type);
Media            4938 src/isomedia/isom_write.c 	if (!trak->Media->information->sampleTable->sampleGroupsDescription)
Media            4941 src/isomedia/isom_write.c 	count = gf_list_count(trak->Media->information->sampleTable->sampleGroupsDescription);
Media            4943 src/isomedia/isom_write.c 		sgdesc = (GF_SampleGroupDescriptionBox*)gf_list_get(trak->Media->information->sampleTable->sampleGroupsDescription, i);
Media            4946 src/isomedia/isom_write.c 			gf_list_rem(trak->Media->information->sampleTable->sampleGroupsDescription, i);
Media            4967 src/isomedia/isom_write.c 	if (!trak->Media->information->sampleTable->sampleGroups)
Media            4968 src/isomedia/isom_write.c 		trak->Media->information->sampleTable->sampleGroups = gf_list_new();
Media            4970 src/isomedia/isom_write.c 	groupList = trak->Media->information->sampleTable->sampleGroups;
Media            5188 src/isomedia/isom_write.c 	ctts = trak->Media->information->sampleTable->CompositionOffset;
Media            5202 src/isomedia/isom_write.c 	if (!trak->Media->information->sampleTable->CompositionToDecode)
Media            5203 src/isomedia/isom_write.c 		trak->Media->information->sampleTable->CompositionToDecode = (GF_CompositionToDecodeBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_CSLG);
Media            5205 src/isomedia/isom_write.c 	cslg = trak->Media->information->sampleTable->CompositionToDecode;
Media            5226 src/isomedia/isom_write.c 	ctts = trak->Media->information->sampleTable->CompositionOffset;
Media            5228 src/isomedia/isom_write.c 	if (!trak->Media->information->sampleTable->CompositionToDecode)
Media            5244 src/isomedia/isom_write.c 		cslg = trak->Media->information->sampleTable->CompositionToDecode;
Media            5250 src/isomedia/isom_write.c 		trak->Media->information->sampleTable->CompositionToDecode = NULL;
Media            5253 src/isomedia/isom_write.c 		u64 dur = trak->Media->mediaHeader->duration;
Media            5255 src/isomedia/isom_write.c 		dur /= trak->Media->mediaHeader->timeScale;
Media            5276 src/isomedia/isom_write.c 	ctts = trak->Media->information->sampleTable->CompositionOffset;
Media            5300 src/isomedia/isom_write.c 	trak->Media->information->sampleTable->SyncSample = (GF_SyncSampleBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STSS);
Media            5357 src/isomedia/isom_write.c 	dst_sample_num = dst_trak->Media->information->sampleTable->SampleSize->sampleCount;
Media            5360 src/isomedia/isom_write.c 	if (src_trak->Media->information->sampleTable->SampleDep) {
Media            5365 src/isomedia/isom_write.c 		e = stbl_GetSampleDepType(src_trak->Media->information->sampleTable->SampleDep, sampleNumber, &isLeading, &dependsOn, &dependedOn, &redundant);
Media            5368 src/isomedia/isom_write.c 		e = stbl_AppendDependencyType(dst_trak->Media->information->sampleTable, isLeading, dependsOn, dependedOn, redundant);
Media            5382 src/isomedia/isom_write.c 		if (!dst_trak->Media->information->sampleTable->sub_samples) {
Media            5383 src/isomedia/isom_write.c 			dst_trak->Media->information->sampleTable->sub_samples = gf_list_new();
Media            5385 src/isomedia/isom_write.c 		count = gf_list_count(dst_trak->Media->information->sampleTable->sub_samples);
Media            5387 src/isomedia/isom_write.c 			dst_subs = gf_list_get(dst_trak->Media->information->sampleTable->sub_samples, i);
Media            5395 src/isomedia/isom_write.c 			gf_list_add(dst_trak->Media->information->sampleTable->sub_samples, dst_subs);
Media            5407 src/isomedia/isom_write.c 	if (src_trak->Media->information->sampleTable->sampleGroups) {
Media            5408 src/isomedia/isom_write.c 		count = gf_list_count(src_trak->Media->information->sampleTable->sampleGroups);
Media            5415 src/isomedia/isom_write.c 			sg = (GF_SampleGroupBox*)gf_list_get(src_trak->Media->information->sampleTable->sampleGroups, i);
Media            5423 src/isomedia/isom_write.c 				if (!dst_trak->Media->information->sampleTable->sampleGroups)
Media            5424 src/isomedia/isom_write.c 					dst_trak->Media->information->sampleTable->sampleGroups = gf_list_new();
Media            5438 src/isomedia/isom_write.c 					if (!dst_trak->Media->information->sampleTable->sampleGroupsDescription)
Media            5439 src/isomedia/isom_write.c 						dst_trak->Media->information->sampleTable->sampleGroupsDescription = gf_list_new();
Media            5442 src/isomedia/isom_write.c 					for (k=0; k< gf_list_count(dst_trak->Media->information->sampleTable->sampleGroupsDescription); k++) {
Media            5443 src/isomedia/isom_write.c 						sgd_dst = gf_list_get(dst_trak->Media->information->sampleTable->sampleGroupsDescription, k);
Media            5450 src/isomedia/isom_write.c 						gf_list_add(dst_trak->Media->information->sampleTable->sampleGroupsDescription, sgd_dst);
Media            5475 src/isomedia/isom_write.c 				e = gf_isom_add_sample_group_entry(dst_trak->Media->information->sampleTable->sampleGroups, dst_sample_num, sg->grouping_type, sg->grouping_type_parameter, group_desc_index_dst);
Media            5497 src/isomedia/isom_write.c 	for (i=0; i < gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes); i++) {
Media            5501 src/isomedia/isom_write.c 		txt = (GF_Tx3gSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, i);
Media            5567 src/isomedia/isom_write.c 	if (!trak->moov->mvhd->timeScale || !trak->Media->mediaHeader->timeScale) return GF_ISOM_INVALID_FILE;
Media            5568 src/isomedia/isom_write.c 	trackDuration = (trak->Media->mediaHeader->duration * trak->moov->mvhd->timeScale) / trak->Media->mediaHeader->timeScale;
Media            5579 src/isomedia/isom_write.c 			if ((ent->mediaTime>=0) && ((u64) ent->mediaTime>=trak->Media->mediaHeader->duration)) {
Media            5580 src/isomedia/isom_write.c 				ent->mediaTime = trak->Media->mediaHeader->duration;
Media            5587 src/isomedia/isom_write.c 		trackDuration = (trak->Media->mediaHeader->duration * trak->moov->mvhd->timeScale) / trak->Media->mediaHeader->timeScale;
Media             633 src/isomedia/media.c 	if (!trak->Media->information->sampleTable->SampleSize || !trak->Media->information->sampleTable->TimeToSample)
Media             636 src/isomedia/media.c 	nbSamp = trak->Media->information->sampleTable->SampleSize->sampleCount;
Media             643 src/isomedia/media.c 		trak->Media->mediaHeader->duration = 0;
Media             644 src/isomedia/media.c 		if (Track_IsMPEG4Stream(trak->Media->handler->handlerType)) {
Media             645 src/isomedia/media.c 			Media_GetESD(trak->Media, 1, &esd, 1);
Media             646 src/isomedia/media.c 			if (esd && esd->URLString) trak->Media->mediaHeader->duration = (u64) -1;
Media             657 src/isomedia/media.c 		e = stbl_GetSampleDTS(trak->Media->information->sampleTable->TimeToSample, nbSamp, &DTS);
Media             661 src/isomedia/media.c 		if (trak->Media->information->sampleTable->TimeToSample->nb_entries > 0) {
Media             662 src/isomedia/media.c 			ent = &trak->Media->information->sampleTable->TimeToSample->entries[trak->Media->information->sampleTable->TimeToSample->nb_entries-1];
Media             666 src/isomedia/media.c 		trak->Media->mediaHeader->duration = DTS;
Media             668 src/isomedia/media.c 		trak->Media->mediaHeader->duration += trak->dts_at_seg_start;
Media             673 src/isomedia/media.c 		if (ent) trak->Media->mediaHeader->duration += ent->sampleDelta;
Media             677 src/isomedia/media.c 			stbl_GetSampleDTS(trak->Media->information->sampleTable->TimeToSample, nbSamp-1, &DTSprev);
Media             678 src/isomedia/media.c 			trak->Media->mediaHeader->duration += (DTS - DTSprev);
Media             681 src/isomedia/media.c 			if (trak->moov->mov->editFileMap && trak->Media->information->sampleTable->CompositionOffset) {
Media             685 src/isomedia/media.c 				GF_CompositionOffsetBox *ctts = trak->Media->information->sampleTable->CompositionOffset;
Media             688 src/isomedia/media.c 					max_ts = trak->Media->mediaHeader->duration;
Media             695 src/isomedia/media.c 							stbl_GetSampleDTS(trak->Media->information->sampleTable->TimeToSample, nbSamp-i, &DTS);
Media             698 src/isomedia/media.c 							if (max_ts>=trak->Media->mediaHeader->duration) {
Media             699 src/isomedia/media.c 								trak->Media->mediaHeader->duration = max_ts;
Media             704 src/isomedia/media.c 						if (max_ts<trak->Media->mediaHeader->duration) {
Media             712 src/isomedia/media.c 			trak->Media->mediaHeader->duration += ent->sampleDelta;
Media             511 src/isomedia/media_odf.c 		if (od_tk->Media->handler->handlerType != GF_ISOM_MEDIA_OD) continue;
Media             513 src/isomedia/media_odf.c 		for (j=0; j<od_tk->Media->information->sampleTable->SampleSize->sampleCount; j++) {
Media             515 src/isomedia/media_odf.c 			the_od_id = Media_FindOD_ID(od_tk->Media, samp, tk->Header->trackID);
Media             127 src/isomedia/movie_fragments.c 			if (trex->track->Media->information->sampleTable->CompositionToDecode) {
Media             129 src/isomedia/movie_fragments.c 				if (!trex->track->Media->information->sampleTable->SampleSize || ! trex->track->Media->information->sampleTable->SampleSize->sampleCount) {
Media             130 src/isomedia/movie_fragments.c 					gf_list_add(trep->other_boxes, trex->track->Media->information->sampleTable->CompositionToDecode);
Media             131 src/isomedia/movie_fragments.c 					trex->track->Media->information->sampleTable->CompositionToDecode = NULL;
Media             138 src/isomedia/movie_fragments.c 					memcpy(cslg, trex->track->Media->information->sampleTable->CompositionToDecode, sizeof(GF_CompositionToDecodeBox) );
Media             140 src/isomedia/movie_fragments.c 					gf_list_add(trep->other_boxes, trex->track->Media->information->sampleTable->CompositionToDecode);
Media            1204 src/isomedia/movie_fragments.c 		sidx->timescale = trak->Media->mediaHeader->timeScale;
Media            1325 src/isomedia/movie_fragments.c 			sidx->timescale = trak ? trak->Media->mediaHeader->timeScale : 1000;
Media            1809 src/isomedia/movie_fragments.c 	if (traf->trex->track->Media->handler->handlerType == GF_ISOM_MEDIA_OD) {
Media            1811 src/isomedia/movie_fragments.c 		Media_ParseODFrame(traf->trex->track->Media, sample, &od_sample);
Media            1989 src/isomedia/movie_fragments.c 	if (trak->Media->information->sampleTable->SampleDep) {
Media            2000 src/isomedia/movie_fragments.c 		e = stbl_GetSampleDepType(trak->Media->information->sampleTable->SampleDep, sampleNumber, &isLeading, &dependsOn, &dependedOn, &redundant);
Media            2050 src/isomedia/movie_fragments.c 	if (trak->Media->information->sampleTable->sampleGroups) {
Media            2051 src/isomedia/movie_fragments.c 		count = gf_list_count(trak->Media->information->sampleTable->sampleGroups);
Media            2058 src/isomedia/movie_fragments.c 			sg = (GF_SampleGroupBox*)gf_list_get(trak->Media->information->sampleTable->sampleGroups, i);
Media            2070 src/isomedia/movie_fragments.c 				e = gf_isom_copy_sample_group_entry_to_traf(traf, trak->Media->information->sampleTable, sg->grouping_type, sg->grouping_type_parameter,  sg->sample_entries[j].group_description_index, sgpd_in_traf);
Media             207 src/isomedia/sample_descs.c 	entry = (GF_SampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, StreamDescriptionIndex-1);
Media             241 src/isomedia/sample_descs.c 	entry = (GF_MPEGAudioSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, StreamDescriptionIndex-1);
Media             265 src/isomedia/sample_descs.c 	if (!trak || !trak->Media || !cfg) return GF_BAD_PARAM;
Media             270 src/isomedia/sample_descs.c 		if (trak->Media->handler->handlerType!=GF_ISOM_MEDIA_AUDIO) return GF_BAD_PARAM;
Media             274 src/isomedia/sample_descs.c 		if (trak->Media->handler->handlerType!=GF_ISOM_MEDIA_AUDIO) return GF_BAD_PARAM;
Media             278 src/isomedia/sample_descs.c 		if (trak->Media->handler->handlerType!=GF_ISOM_MEDIA_AUDIO) return GF_BAD_PARAM;
Media             282 src/isomedia/sample_descs.c 		if (trak->Media->handler->handlerType!=GF_ISOM_MEDIA_AUDIO) return GF_BAD_PARAM;
Media             286 src/isomedia/sample_descs.c 		if (trak->Media->handler->handlerType!=GF_ISOM_MEDIA_VISUAL) return GF_BAD_PARAM;
Media             296 src/isomedia/sample_descs.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             299 src/isomedia/sample_descs.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             303 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             320 src/isomedia/sample_descs.c 		entry->samplerate_hi = trak->Media->mediaHeader->timeScale;
Media             322 src/isomedia/sample_descs.c 		e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, entry);
Media             323 src/isomedia/sample_descs.c 		*outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             337 src/isomedia/sample_descs.c 		e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, entry);
Media             338 src/isomedia/sample_descs.c 		*outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             357 src/isomedia/sample_descs.c 	if (!trak || !trak->Media || !param || !DescriptionIndex) return GF_BAD_PARAM;
Media             360 src/isomedia/sample_descs.c 	a_entry = (GF_MPEGAudioSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media             395 src/isomedia/sample_descs.c 	if (!trak || !trak->Media || !cfg) return GF_BAD_PARAM;
Media             398 src/isomedia/sample_descs.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             401 src/isomedia/sample_descs.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             405 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             421 src/isomedia/sample_descs.c 	entry->samplerate_hi = trak->Media->mediaHeader->timeScale;
Media             423 src/isomedia/sample_descs.c 	e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, entry);
Media             424 src/isomedia/sample_descs.c 	*outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             439 src/isomedia/sample_descs.c 	dims = (GF_DIMSSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, descriptionIndex-1);
Media             472 src/isomedia/sample_descs.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media             474 src/isomedia/sample_descs.c 	if (trak->Media->handler->handlerType != GF_ISOM_MEDIA_SCENE) return GF_BAD_PARAM;
Media             477 src/isomedia/sample_descs.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             480 src/isomedia/sample_descs.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             484 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             488 src/isomedia/sample_descs.c 	gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, dims);
Media             489 src/isomedia/sample_descs.c 	if (outDescriptionIndex) *outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             520 src/isomedia/sample_descs.c 	if (!trak || !trak->Media || !desc || !DescriptionIndex) return GF_BAD_PARAM;
Media             522 src/isomedia/sample_descs.c 	dims = (GF_DIMSSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media             529 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             631 src/isomedia/sample_descs.c 	ptr = (GF_MetaDataSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, sampleDescription-1);
Media             657 src/isomedia/sample_descs.c 	if (!trak || !trak->Media || !_namespace)
Media             660 src/isomedia/sample_descs.c 	switch (trak->Media->handler->handlerType) {
Media             670 src/isomedia/sample_descs.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             673 src/isomedia/sample_descs.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             677 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             687 src/isomedia/sample_descs.c 	e = gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, metad);
Media             688 src/isomedia/sample_descs.c 	if (outDescriptionIndex) *outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             715 src/isomedia/sample_descs.c 	entry = (GF_MetaDataSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, StreamDescriptionIndex-1);
Media             751 src/isomedia/sample_descs.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media             753 src/isomedia/sample_descs.c 	switch (trak->Media->handler->handlerType) {
Media             768 src/isomedia/sample_descs.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             771 src/isomedia/sample_descs.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             775 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             779 src/isomedia/sample_descs.c 	gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, stpp);
Media             780 src/isomedia/sample_descs.c 	if (outDescriptionIndex) *outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             799 src/isomedia/sample_descs.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media             801 src/isomedia/sample_descs.c 	switch (trak->Media->handler->handlerType) {
Media             809 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             830 src/isomedia/sample_descs.c 	entry = (GF_MetaDataSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, StreamDescriptionIndex-1);
Media             866 src/isomedia/sample_descs.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media             868 src/isomedia/sample_descs.c 	switch (trak->Media->handler->handlerType) {
Media             894 src/isomedia/sample_descs.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             897 src/isomedia/sample_descs.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             901 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             905 src/isomedia/sample_descs.c 	gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, sample_entry);
Media             906 src/isomedia/sample_descs.c 	if (outDescriptionIndex) *outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             930 src/isomedia/sample_descs.c 	if (!trak || !trak->Media || !DescriptionIndex) return GF_BAD_PARAM;
Media             932 src/isomedia/sample_descs.c 	sample_entry = (GF_MetaDataSampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, DescriptionIndex-1);
Media             944 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             971 src/isomedia/sample_descs.c 	if (!trak || !trak->Media) return NULL;
Media             973 src/isomedia/sample_descs.c 	switch (trak->Media->handler->handlerType) {
Media             980 src/isomedia/sample_descs.c 	wvtt = (GF_WebVTTSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, descriptionIndex - 1);
Media            1007 src/isomedia/sample_descs.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media            1009 src/isomedia/sample_descs.c 	switch (trak->Media->handler->handlerType) {
Media            1018 src/isomedia/sample_descs.c 	wvtt = (GF_WebVTTSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, descriptionIndex - 1);
Media            1028 src/isomedia/sample_descs.c 			trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1048 src/isomedia/sample_descs.c 	if (!trak || !trak->Media) return GF_BAD_PARAM;
Media            1050 src/isomedia/sample_descs.c 	switch (trak->Media->handler->handlerType) {
Media            1060 src/isomedia/sample_descs.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            1063 src/isomedia/sample_descs.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media            1067 src/isomedia/sample_descs.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media            1071 src/isomedia/sample_descs.c 	gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, wvtt);
Media            1072 src/isomedia/sample_descs.c 	if (outDescriptionIndex) *outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            1104 src/isomedia/sample_descs.c 	if (!trak || !sampleDescriptionIndex || !trak->Media) return GF_BAD_PARAM;
Media            1106 src/isomedia/sample_descs.c 	ent = (GF_SampleEntryBox *)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, sampleDescriptionIndex - 1);
Media            1859 src/isomedia/stbl_write.c 	stsz = trak->Media->information->sampleTable->SampleSize;
Media              87 src/isomedia/track.c 	e = Media_GetESD(trak->Media, StreamDescIndex, &esd, 0);
Media              90 src/isomedia/track.c 	e = Media_GetSampleDesc(trak->Media, StreamDescIndex, (GF_SampleEntryBox **) &entry, NULL);
Media             187 src/isomedia/track.c 	if ((trak->Media->mediaHeader->packedLanguage[0] != 'u')
Media             188 src/isomedia/track.c 	        || (trak->Media->mediaHeader->packedLanguage[1] != 'n')
Media             189 src/isomedia/track.c 	        || (trak->Media->mediaHeader->packedLanguage[2] != 'd') ) {
Media             192 src/isomedia/track.c 		esd->langDesc->langCode = trak->Media->mediaHeader->packedLanguage[0];
Media             194 src/isomedia/track.c 		esd->langDesc->langCode |= trak->Media->mediaHeader->packedLanguage[1];
Media             196 src/isomedia/track.c 		esd->langDesc->langCode |= trak->Media->mediaHeader->packedLanguage[2];
Media             257 src/isomedia/track.c 	esd->slConfig->timestampResolution = trak->Media->mediaHeader->timeScale;
Media             263 src/isomedia/track.c 	stbl = trak->Media->information->sampleTable;
Media             325 src/isomedia/track.c 	e = Media_GetSampleDescIndex(trak->Media, CTS, &sampleDescIndex );
Media             391 src/isomedia/track.c 	if (!trak->moov->mvhd->timeScale || !trak->Media->mediaHeader->timeScale) return GF_ISOM_INVALID_FILE;
Media             392 src/isomedia/track.c 	trackDuration = (trak->Media->mediaHeader->duration * trak->moov->mvhd->timeScale) / trak->Media->mediaHeader->timeScale;
Media             405 src/isomedia/track.c 		trackDuration = (trak->Media->mediaHeader->duration * trak->moov->mvhd->timeScale) / trak->Media->mediaHeader->timeScale;
Media             484 src/isomedia/track.c 			stbl_AppendSize(trak->Media->information->sampleTable, size);
Media             486 src/isomedia/track.c 			stbl_AppendTime(trak->Media->information->sampleTable, duration);
Media             504 src/isomedia/track.c 				stbl_AppendChunk(trak->Media->information->sampleTable, data_offset);
Media             506 src/isomedia/track.c 				stbl_AppendSampleToChunk(trak->Media->information->sampleTable,
Media             514 src/isomedia/track.c 			stbl_AppendCTSOffset(trak->Media->information->sampleTable, cts_offset);
Media             518 src/isomedia/track.c 			if (trak->Media->information->sampleTable->no_sync_found && sync) {
Media             519 src/isomedia/track.c 				trak->Media->information->sampleTable->no_sync_found = 0;
Media             521 src/isomedia/track.c 			stbl_AppendRAP(trak->Media->information->sampleTable, sync);
Media             523 src/isomedia/track.c 			if (pad) stbl_AppendPadding(trak->Media->information->sampleTable, pad);
Media             525 src/isomedia/track.c 			if (degr) stbl_AppendDegradation(trak->Media->information->sampleTable, degr);
Media             527 src/isomedia/track.c 			stbl_AppendDependencyType(trak->Media->information->sampleTable, GF_ISOM_GET_FRAG_LEAD(flags), GF_ISOM_GET_FRAG_DEPENDS(flags), GF_ISOM_GET_FRAG_DEPENDED(flags), GF_ISOM_GET_FRAG_REDUNDANT(flags));
Media             537 src/isomedia/track.c 		if (!trak->Media->information->sampleTable->sampleGroups)
Media             538 src/isomedia/track.c 			trak->Media->information->sampleTable->sampleGroups = gf_list_new();
Media             540 src/isomedia/track.c 		if (!trak->Media->information->sampleTable->sampleGroupsDescription)
Media             541 src/isomedia/track.c 			trak->Media->information->sampleTable->sampleGroupsDescription = gf_list_new();
Media             543 src/isomedia/track.c 		groupDescs = trak->Media->information->sampleTable->sampleGroupsDescription;
Media             594 src/isomedia/track.c 		groups = trak->Media->information->sampleTable->sampleGroups;
Media             653 src/isomedia/track.c 			for (i = 0; i < gf_list_count(trak->Media->information->sampleTable->other_boxes); i++) {
Media             654 src/isomedia/track.c 				GF_Box *a = (GF_Box *)gf_list_get(trak->Media->information->sampleTable->other_boxes, i);
Media             673 src/isomedia/track.c 				if (!trak->Media->information->sampleTable->other_boxes) trak->Media->information->sampleTable->other_boxes = gf_list_new();
Media             751 src/isomedia/track.c 					gf_isom_cenc_merge_saiz_saio(senc, trak->Media->information->sampleTable, offset, size);
Media             972 src/isomedia/track.c 	if (!Track_IsMPEG4Stream(trak->Media->handler->handlerType)) return GF_ISOM_INVALID_MEDIA;
Media            1056 src/isomedia/track.c 		trak->Media->mediaHeader->packedLanguage[0] = (esd->langDesc->langCode>>16)&0xFF;
Media            1057 src/isomedia/track.c 		trak->Media->mediaHeader->packedLanguage[1] = (esd->langDesc->langCode>>8)&0xFF;
Media            1058 src/isomedia/track.c 		trak->Media->mediaHeader->packedLanguage[2] = (esd->langDesc->langCode)&0xFF;
Media            1065 src/isomedia/track.c 		entry = (GF_MPEGSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, StreamDescriptionIndex - 1);
Media            1119 src/isomedia/track.c 		StreamDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media            1121 src/isomedia/track.c 			entry = (GF_MPEGSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, StreamDescriptionIndex - 1);
Media            1127 src/isomedia/track.c 		switch (trak->Media->handler->handlerType) {
Media            1163 src/isomedia/track.c 				entry_a->samplerate_hi = trak->Media->mediaHeader->timeScale;
Media            1186 src/isomedia/track.c 		e = stsd_AddBox((GF_Box*)trak->Media->information->sampleTable->SampleDescription, (GF_Box *) entry);
Media            1188 src/isomedia/track.c 		if(outStreamIndex) *outStreamIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media              45 src/isomedia/tx3g.c 	if (!trak || !trak->Media || !desc->font_count) return GF_BAD_PARAM;
Media              47 src/isomedia/tx3g.c 	switch (trak->Media->handler->handlerType) {
Media              55 src/isomedia/tx3g.c 	txt = (GF_Tx3gSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, descriptionIndex - 1);
Media              66 src/isomedia/tx3g.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media              97 src/isomedia/tx3g.c 	if (!trak || !trak->Media || !desc || !desc->font_count) return GF_BAD_PARAM;
Media              99 src/isomedia/tx3g.c 	switch (trak->Media->handler->handlerType) {
Media             108 src/isomedia/tx3g.c 	e = Media_FindDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             111 src/isomedia/tx3g.c 		e = Media_CreateDataRef(trak->Media->information->dataInformation->dref, URLname, URNname, &dataRefIndex);
Media             115 src/isomedia/tx3g.c 		trak->Media->mediaHeader->modificationTime = gf_isom_get_mp4time();
Media             119 src/isomedia/tx3g.c 	gf_list_add(trak->Media->information->sampleTable->SampleDescription->other_boxes, txt);
Media             120 src/isomedia/tx3g.c 	if (outDescriptionIndex) *outDescriptionIndex = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             369 src/isomedia/tx3g.c 	if (!trak || !trak->Media || !desc->font_count) return GF_BAD_PARAM;
Media             371 src/isomedia/tx3g.c 	switch (trak->Media->handler->handlerType) {
Media             379 src/isomedia/tx3g.c 	count = gf_list_count(trak->Media->information->sampleTable->SampleDescription->other_boxes);
Media             382 src/isomedia/tx3g.c 		txt = (GF_Tx3gSampleEntryBox*)gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, i);
Media             633 src/isomedia/tx3g.c 		if (tk->Media->handler && (tk->Media->handler->handlerType == GF_ISOM_MEDIA_VISUAL)) {
Media             722 src/isomedia/tx3g.c 	a = (GF_Tx3gSampleEntryBox *) gf_list_get(trak->Media->information->sampleTable->SampleDescription->other_boxes, sidx-1);
Media            1118 src/media_tools/dash_segmenter.c 				while (gf_list_count(trak->Media->information->sampleTable->sampleGroupsDescription)) {
Media            1119 src/media_tools/dash_segmenter.c 					GF_Box* box = (GF_Box*)gf_list_get(trak->Media->information->sampleTable->sampleGroupsDescription, 0);
Media            1121 src/media_tools/dash_segmenter.c 					gf_list_rem(trak->Media->information->sampleTable->sampleGroupsDescription, 0);