s64 129 applications/mp42avi/main.c res = (Double) (s64) b2v->cts; s64 130 applications/mp42avi/main.c res /= (Double) (s64) b2v->duration; s64 339 applications/mp42avi/main.c gf_bifs_decode_au(b2v.bifs, es_id, samp->data, samp->dataLength, ((Double)(s64)b2v.cts)/1000.0); s64 571 applications/mp42avi/main.c fps /= (Double) (s64) b2v.duration; s64 610 applications/mp42avi/main.c gf_bifs_decode_au(b2v.bifs, es_id, samp->data, samp->dataLength, ((Double)(s64)b2v.cts)/1000.0); s64 203 applications/mp42ts/main.c s64 ts_offset, cts_dts_shift; s64 502 applications/mp42ts/main.c s64 mediaOffset; s64 582 applications/mp42ts/main.c ifce->duration = (Double) (s64) gf_isom_get_media_duration(mp4, track_num); s64 687 applications/mp42ts/main.c s64 ts_offset; s64 729 applications/mp42ts/main.c rtp->ts_offset -= (s64) (time * rtp->rtp_ch->TimeScale); s64 1456 applications/mp42ts/main.c s64 min_offset = 0; s64 1569 applications/mp42ts/main.c ((GF_ESIMP4 *)source->streams[i].input_udta)->ts_offset += (s64) (-min_offset * scale); s64 1884 applications/mp42ts/main.c static GFINLINE GF_Err parse_args(int argc, char **argv, u32 *mux_rate, u32 *carrousel_rate, s64 *pcr_init_val, u32 *pcr_offset, u32 *psi_refresh_rate, GF_M2TS_PackMode *pes_packing_mode, u32 *bifs_use_pes, s64 2322 applications/mp42ts/main.c s64 pcr_init_val = -1; s64 826 applications/mp4box/filedump.c s64 cts_dts_shift = gf_isom_get_cts_to_dts_shift(file, i+1); s64 1684 applications/mp4box/filedump.c dur = (u64) (( ((Double) (s64) dur)/timescale)*1000); s64 2728 applications/mp4box/filedump.c dur = (u64) (scale * (s64)dur); s64 234 applications/mp4box/fileimport.c scale = (Double) (s64) gf_isom_get_media_timescale(file, track); s64 1103 applications/mp4box/fileimport.c dur = (Double) (s64) gf_isom_get_media_duration(mp4, i+1); s64 1162 applications/mp4box/fileimport.c start = (Double) (s64) gf_isom_get_sample_dts(mp4, tki->tk, tki->sample_count); s64 1173 applications/mp4box/fileimport.c start = (Double) (s64) samp->DTS; s64 1188 applications/mp4box/fileimport.c time = (Double) (s64) dts; s64 1293 applications/mp4box/fileimport.c t = (Double) (s64) dts; s64 1321 applications/mp4box/fileimport.c last_rap_sample_time = (Double) (s64) samp->DTS; s64 1376 applications/mp4box/fileimport.c time = (Double) (s64) tki->lastDTS; s64 1398 applications/mp4box/fileimport.c time = (Double) (s64) (dts - tki->firstDTS); s64 1422 applications/mp4box/fileimport.c time = (Double) (s64) ( gf_isom_get_sample_dts(mp4, tki->tk, tki->last_sample+1) - tki->firstDTS); s64 1431 applications/mp4box/fileimport.c time = (Double) (s64) ( gf_isom_get_sample_dts(mp4, tki->tk, tki->last_sample+1) - tki->firstDTS); s64 1477 applications/mp4box/fileimport.c time = (Double) (s64) gf_isom_get_media_duration(dest, tki->dst_tk); s64 1479 applications/mp4box/fileimport.c time -= (Double) (s64) gf_isom_get_sample_duration(dest, tki->dst_tk, tki->last_sample) / 4; s64 1504 applications/mp4box/fileimport.c time = (Double) (s64) (dts - tki->firstDTS); s64 1582 applications/mp4box/fileimport.c max_dts = (Double) (s64) chap_time; s64 1831 applications/mp4box/fileimport.c dest_orig_dur = (Double) (s64) gf_isom_get_duration(dest); s64 2087 applications/mp4box/fileimport.c gf_isom_set_edit_segment(dest, dst_tk, 0, (u64) (s64) (insert_dts*rescale), 0, GF_ISOM_EDIT_EMPTY); s64 2088 applications/mp4box/fileimport.c gf_isom_set_edit_segment(dest, dst_tk, (u64) (s64) (insert_dts*rescale), (u64) (s64) (media_dur*rescale), 0, GF_ISOM_EDIT_NORMAL); s64 2103 applications/mp4box/fileimport.c Double prev_dur = (Double) (s64) dest_track_dur_before_cat; s64 2104 applications/mp4box/fileimport.c Double dur = (Double) (s64) gf_isom_get_media_duration(orig, i+1); s64 2112 applications/mp4box/fileimport.c fprintf(stderr, "Warning: suspicious edit list entry found: duration %g sec but longest track duration before cat is %g - fixing it\n", (Double) (s64) segmentDuration/1000.0, prev_dur/1000); s64 2113 applications/mp4box/fileimport.c segmentDuration = (u64) (s64) ( (Double) (s64) (dest_track_dur_before_cat - mediaTime) * rescale ); s64 2116 applications/mp4box/fileimport.c segmentDuration += (u64) (s64) dur; s64 2156 applications/mp4box/fileimport.c t = (Double) (s64) editTime; s64 2158 applications/mp4box/fileimport.c t += (s64) edit_offset; s64 2159 applications/mp4box/fileimport.c editTime = (s64) t; s64 2160 applications/mp4box/fileimport.c t = (Double) (s64) segmentDuration; s64 2162 applications/mp4box/fileimport.c segmentDuration = (s64) t; s64 2163 applications/mp4box/fileimport.c t = (Double) (s64) mediaTime; s64 2165 applications/mp4box/fileimport.c t+= (s64) dest_track_dur_before_cat; s64 2166 applications/mp4box/fileimport.c mediaTime = (s64) t; s64 2183 applications/mp4box/fileimport.c c_time = (Double) (s64) chap_time; s64 3525 applications/mp4box/main.c s64 to_copy, done; s64 599 applications/mp4client/main.c Duration = (u64) ( 1000 * (s64) evt->duration.duration); s64 1889 applications/mp4client/main.c res /= (s64)Duration; s64 1893 applications/mp4client/main.c res = (Double)(s64)Duration; s64 1896 applications/mp4client/main.c gf_term_play_from_time(term, (u64) (s64) res, 0); s64 217 applications/osmo4_ios/main.c Duration = (u64) (((s64) Duration) * evt->duration.duration); s64 281 include/gpac/bitstream.h void gf_bs_write_long_int(GF_BitStream *bs, s64 value, s32 nBits); s64 216 include/gpac/cache.h s64 gf_cache_reader_seek_at( GF_CacheReader reader, u64 seekPosition); s64 218 include/gpac/cache.h s64 gf_cache_reader_get_position( const GF_CacheReader reader); s64 220 include/gpac/cache.h s64 gf_cache_reader_get_currentSize( GF_CacheReader reader ); s64 222 include/gpac/cache.h s64 gf_cache_reader_get_full_size( GF_CacheReader reader ); s64 192 include/gpac/html5_media.h s64 timestampOffset; /* MSE SourceBuffer value (in timescale units) */ \ s64 85 include/gpac/html5_mse.h s64 timestampOffset; s64 208 include/gpac/internal/avilib.h s64 pos; /* position in file */ s64 212 include/gpac/internal/avilib.h s64 v_codech_off; /* absolut offset of video codec (strh) info */ s64 213 include/gpac/internal/avilib.h s64 v_codecf_off; /* absolut offset of video codec (strf) info */ s64 221 include/gpac/internal/avilib.h s64 last_pos; /* Position of last frame written */ s64 224 include/gpac/internal/avilib.h s64 movi_start; s64 610 include/gpac/internal/isomedia_dev.h s64 mediaTime; s64 3247 include/gpac/internal/isomedia_dev.h GF_Err GetMediaTime(GF_TrackBox *trak, Bool force_non_empty, u64 movieTime, u64 *MediaTime, s64 *SegmentStartTime, s64 *MediaOffset, u8 *useEdit, u64 *next_edit_start_plus_one); s64 118 include/gpac/internal/mpd.h s64 mediaOffset; s64 66 include/gpac/internal/ogg.h s64 *granule_vals; /* granulepos values for headers. Not compact s64 83 include/gpac/internal/ogg.h s64 packetno; /* sequence number for decode; the framing s64 88 include/gpac/internal/ogg.h s64 granulepos; s64 101 include/gpac/internal/ogg.h s64 granulepos; s64 103 include/gpac/internal/ogg.h s64 packetno; /* sequence number for decode; the framing s64 195 include/gpac/internal/ogg.h s64 ogg_page_granulepos(ogg_page *og); s64 281 include/gpac/internal/terminal_dev.h void gf_scene_restart_dynamic(GF_Scene *scene, s64 from_time, Bool restart_only, Bool disable_addon_check); s64 1065 include/gpac/internal/terminal_dev.h s64 media_stop_time; s64 1247 include/gpac/internal/terminal_dev.h s64 gf_scene_adjust_timestamp_for_addon(GF_AddonMedia *addon, u64 orig_ts); s64 710 include/gpac/isomedia.h Bool gf_isom_get_edit_list_type(GF_ISOFile *the_file, u32 trackNumber, s64 *mediaOffset); s64 753 include/gpac/isomedia.h s64 gf_isom_get_cts_to_dts_shift(GF_ISOFile *the_file, u32 trackNumber); s64 307 include/gpac/mpegts.h GF_Err gf_m2ts_restamp(char *buffer, u32 size, s64 ts_shift, u8 *is_pes); s64 140 include/gpac/sync_layer.h s64 timeStampOffset; s64 166 include/gpac/tools.h u64 gf_fseek(FILE *f, s64 pos, s32 whence); s64 67 modules/dektec_out/dektec_video.cpp s64 frameNum; s64 104 modules/dektec_out/dektec_video.cpp s64 firstSafeFrame=-1, lastSafeFrame=-1; s64 77 modules/ffmpeg_in/ffmpeg_demux.c s64 seek_to; s64 101 modules/ffmpeg_in/ffmpeg_demux.c seek_to = (s64) (AV_TIME_BASE*ffd->seek_time); s64 563 modules/ffmpeg_in/ffmpeg_demux.c s64 last_aud_pts; s64 228 modules/ismacryp/isma_ea.c gf_bs_write_u64(bs, (s64) count); s64 108 modules/isom_in/isom_in.h s64 dts_offset; s64 48 modules/isom_in/load.c seg->startTime = (Double) (s64) start; s64 53 modules/isom_in/load.c prev_seg->Duration = (Double) (s64) (start - prev_start); s64 58 modules/isom_in/load.c prev_seg->Duration = (Double) (s64) (start); s64 69 modules/isom_in/load.c prev_seg->Duration = (Double) (s64) (start - prev_start); s64 1118 modules/isom_in/read.c track_dur = (Double) (s64) ch->duration; s64 1126 modules/isom_in/read.c media_dur = (Double) (s64) ch->duration; s64 1157 modules/isom_in/read.c ch->start = (u64) (s64) (com->play.start_range * ch->time_scale); s64 1159 modules/isom_in/read.c ch->end = (u64) (s64) (end * ch->time_scale); s64 687 modules/isom_in/read_ch.c s64 DTS, CTS; s64 688 modules/isom_in/read_ch.c DTS = (s64) ch->sample->DTS + ch->dts_offset; s64 689 modules/isom_in/read_ch.c CTS = (s64) ch->sample->DTS + ch->dts_offset + (s32) ch->sample->CTS_Offset; s64 82 modules/mpd_in/mpd_in.c s64 pto; s64 83 modules/mpd_in/mpd_in.c s64 max_cts_in_period; s64 204 modules/mpd_in/mpd_in.c s64 start, dur; s64 207 modules/mpd_in/mpd_in.c group->pto = (s64) pto; s64 229 modules/mpd_in/mpd_in.c if (group->max_cts_in_period && (s64) hdr->compositionTimeStamp > group->max_cts_in_period) { s64 236 modules/mpd_in/mpd_in.c if ((s64) hdr->decodingTimeStamp >= group->pto) s64 245 modules/mpd_in/mpd_in.c if ((s64) hdr->compositionTimeStamp >= group->pto) s64 54 modules/ogg/ogg_in.c s64 seek_granule, last_granule; s64 196 modules/ogg/ogg_in.c u64 OGG_GranuleToTime(OGGInfo *cfg, s64 granule) s64 202 modules/ogg/ogg_in.c s64 iframe = granule>>cfg->theora_kgs; s64 203 modules/ogg/ogg_in.c s64 pframe = granule - (iframe<<cfg->theora_kgs); s64 211 modules/ogg/ogg_in.c Double OGG_GranuleToMediaTime(OGGInfo *cfg, s64 granule) s64 213 modules/ogg/ogg_in.c Double t = (Double) (s64) OGG_GranuleToTime(cfg, granule); s64 303 modules/ogg/ogg_in.c st->seek_granule = (s64) (read->start_range * st->info.sample_rate); s64 305 modules/ogg/ogg_in.c s64 seek = (s64) (read->start_range * st->info.frame_rate) - 1; s64 375 modules/ogg/ogg_in.c st->seek_granule = (s64) (read->start_range * st->info.sample_rate); s64 377 modules/ogg/ogg_in.c s64 seek = (s64) (read->start_range * st->info.frame_rate) - 1; s64 656 modules/ogg/ogg_in.c read->dur = (Double) (s64) OGG_GranuleToTime(&the_info, max_gran); s64 557 modules/rtp_in/rtp_stream.c ch->ts_offset -= (s64) (ntp_clock * ch->rtp_ch->TimeScale); s64 349 modules/timedtext/timedtext_in.c com->duration.duration = (Double) (s64) gf_isom_get_media_duration(tti->mp4, tti->tt_track); s64 464 src/ietf/rtp.c s64 frac; s64 1155 src/isomedia/box_code_base.c p->mediaTime = (s64) gf_bs_read_u64(bs); s64 1159 src/isomedia/box_code_base.c p->mediaTime = (s64) tr; s64 420 src/isomedia/box_dump.c dur = (u32) (( ((Double) (s64) dur)/timescale)*1000); s64 3162 src/isomedia/box_dump.c fprintf(dump, " <set attributeName=\"display\" to=\"inline\" begin=\"%g\" end=\"%g\"/>\n", ((s64)start*1.0)/ts, ((s64)end*1.0)/ts); s64 3163 src/isomedia/box_dump.c fprintf(dump, " <discard begin=\"%g\"/>\n", ((s64)end*1.0)/ts); s64 3171 src/isomedia/box_dump.c fprintf(nhmlFile, "<NHNTSample isRAP=\"no\" DTS=\"%f\" xmlFrom=\"text_%d.start\" xmlTo=\"doc.end\"/>\n", ((s64)start*1.0), cur_frame); s64 3173 src/isomedia/box_dump.c fprintf(nhmlFile, "<NHNTSample isRAP=\"no\" DTS=\"%f\" xmlFrom=\"text_%d.start\" xmlTo=\"text_%d.start\"/>\n", ((s64)start*1.0), cur_frame, cur_frame+1); s64 101 src/isomedia/data_map.c s64 size; s64 111 src/isomedia/drm_sample.c if (s->IV_length) gf_bs_write_long_int(bs, (s64) s->IV, 8*s->IV_length); s64 696 src/isomedia/isom_intern.c GF_Err GetMediaTime(GF_TrackBox *trak, Bool force_non_empty, u64 movieTime, u64 *MediaTime, s64 *SegmentStartTime, s64 *MediaOffset, u8 *useEdit, u64 *next_edit_start_plus_one) s64 706 src/isomedia/isom_intern.c s64 mtime; s64 1042 src/isomedia/isom_read.c s64 SegmentStartTime, mediaOffset; s64 1475 src/isomedia/isom_read.c s64 gf_isom_get_cts_to_dts_shift(GF_ISOFile *the_file, u32 trackNumber) s64 1848 src/isomedia/isom_read.c s64 segStartTime, mediaOffset; s64 1981 src/isomedia/isom_read.c Bool gf_isom_get_edit_list_type(GF_ISOFile *the_file, u32 trackNumber, s64 *mediaOffset) s64 2005 src/isomedia/isom_read.c *mediaOffset = (s64) time; s64 850 src/isomedia/isom_store.c s64 res; s64 396 src/isomedia/isom_write.c movie->moov->mvhd->duration = (u64) (s64) ((s64) movie->moov->mvhd->duration * ts_scale); s64 400 src/isomedia/isom_write.c trak->Header->duration = (u64) (s64) ((s64) trak->Header->duration * ts_scale); s64 405 src/isomedia/isom_write.c ent->segmentDuration = (u64) (s64) ((s64) ent->segmentDuration * ts_scale); s64 2861 src/isomedia/isom_write.c new_tk->Header->duration = (u64) (s64) ((s64) new_tk->Header->duration * ts_scale); s64 2866 src/isomedia/isom_write.c ent->segmentDuration = (u64) (s64) ((s64) ent->segmentDuration * ts_scale); s64 3573 src/isomedia/isom_write.c s64*CTSs = NULL; s64 3594 src/isomedia/isom_write.c CTSs = (s64*)gf_malloc(sizeof(u64) * (stbl->SampleSize->sampleCount) ); s64 3605 src/isomedia/isom_write.c CTSs[idx] = (s64) ( ((s64) cur_dts + cts_o) * scale); s64 454 src/isomedia/track.c s32 drift = (s32) ((s64) traf->tfdt->baseMediaDecodeTime - (s64)trak->dts_at_seg_start); s64 379 src/media_tools/avilib.c s64 towrite = 0; s64 443 src/media_tools/avilib.c (s64)(AVI->pos+towrite) > (s64)((s64)NEW_RIFF_THRES*AVI->video_superindex->nEntriesInUse)) { s64 1600 src/media_tools/avilib.c s64 pos; s64 1879 src/media_tools/avilib.c s64 n; s64 1893 src/media_tools/avilib.c s64 oldpos=-1, newpos=-1; s64 2100 src/media_tools/avilib.c s64 lpos = gf_ftell(AVI->fdes); s64 2311 src/media_tools/avilib.c s64 pos, len; s64 2989 src/media_tools/avilib.c s64 pos; s64 3010 src/media_tools/avilib.c s64 ret; s64 3059 src/media_tools/avilib.c s64 n; s64 509 src/media_tools/dash_client.c group->dash->utc_drift_estimate = (s32) ((s64) fetch_time - (s64) utc); s64 516 src/media_tools/dash_client.c group->dash->utc_drift_estimate = (s32) ((s64) fetch_time - (s64) utc); s64 524 src/media_tools/dash_client.c if ((s64) mpd->availabilityStartTime + group->dash->utc_shift > (s64) - group->dash->utc_drift_estimate) { s64 584 src/media_tools/dash_client.c s64 diff = (s64) current_time - (s64) (mpd->media_presentation_duration); s64 1901 src/media_tools/dash_client.c s64 diff; s64 1903 src/media_tools/dash_client.c diff = (s64) group->hls_next_start_time; s64 1904 src/media_tools/dash_client.c diff -= (s64) segu->hls_utc_start_time; s64 1987 src/media_tools/dash_client.c s64 diff = new_mpd->availabilityStartTime; s64 2146 src/media_tools/dash_client.c s64 start_diff; s64 2150 src/media_tools/dash_client.c start_diff = (s64) current_start_time; s64 2151 src/media_tools/dash_client.c start_diff -= (s64) seg_url->hls_utc_start_time; s64 4602 src/media_tools/dash_client.c s64 check_time; s64 4609 src/media_tools/dash_client.c check_time = (s64) gf_net_get_utc(); s64 4616 src/media_tools/dash_client.c s64 now = check_time + (s64) seg_dur_ms; s64 4617 src/media_tools/dash_client.c if (now <= (s64) seg_ast) { s64 4622 src/media_tools/dash_client.c now -= (s64) seg_ast; s64 4623 src/media_tools/dash_client.c if (now <= (s64) seg_dur_ms) { s64 4855 src/media_tools/dash_client.c s64 segment_ast = (s64) gf_dash_get_segment_availability_start_time(dash->mpd, group, group->download_segment_index, &seg_dur_ms); s64 4856 src/media_tools/dash_client.c s64 now = (s64) gf_net_get_utc(); s64 1531 src/media_tools/dash_segmenter.c u64 track_dur = (u64) ((s64) last_sample_dur + sample->DTS + sample->CTS_Offset + tf->media_time_to_pres_time_shift); s64 1856 src/media_tools/dash_segmenter.c next_sap_dur = frag_dur + (s64) (next_sap_time - tf->next_sample_dts - next_dur) * dash_cfg->dash_scale / tf->TimeScale; s64 1993 src/media_tools/dash_segmenter.c s64 seg_start_time_min_cts = (s64) (tfref->min_cts_in_segment + tfref->media_time_to_pres_time_shift) * dash_cfg->dash_scale; s64 1999 src/media_tools/dash_segmenter.c s64 mpd_time_adjust = seg_start_time_min_cts / tfref->TimeScale; s64 2000 src/media_tools/dash_segmenter.c if ((s64) SegmentDuration < - mpd_time_adjust) { s64 3759 src/media_tools/dash_segmenter.c s32 diff = (s32) ((s64) current_duration - (s64) segment_duration); s64 4360 src/media_tools/dash_segmenter.c GF_LOG(GF_LOG_DEBUG, GF_LOG_DASH, ("[DASH] PTSOffset "LLD" - startNumber %d - time %g\n", presentationTimeOffset - 1, segment_index, (Double) (s64) (ts_seg.sidx->earliest_presentation_time + pcr_shift) / 90000.0)); s64 287 src/media_tools/filestreamer.c track->microsec_dts = (u64) (track->microsec_ts_scale * (s64) (track->au->DTS) + track->microsec_ts_offset + streamer->timelineOrigin); s64 476 src/media_tools/gpac_ogg.c s64 ogg_page_granulepos(ogg_page *og) { s64 478 src/media_tools/gpac_ogg.c s64 granulepos=page[13]&(0xff); s64 628 src/media_tools/gpac_ogg.c os->granule_vals=(s64*)gf_malloc(os->lacing_storage*sizeof(*os->granule_vals)); s64 671 src/media_tools/gpac_ogg.c os->granule_vals=(s64*)gf_realloc(os->granule_vals,os->lacing_storage*sizeof(*os->granule_vals)); s64 771 src/media_tools/gpac_ogg.c s64 granule_pos=os->granule_vals[0]; s64 1115 src/media_tools/gpac_ogg.c s64 granulepos=ogg_page_granulepos(og); s64 490 src/media_tools/html5_mse.c sb->timestampOffset = (s64)(d*sb->timescale); s64 505 src/media_tools/html5_mse.c sb->timestampOffset = (s64)((sb->timestampOffset * new_timescale * 1.0)/old_timescale); s64 620 src/media_tools/html5_mse.c s64 PTS_with_offset = frame->sl_header.compositionTimeStamp + frame->sl_header.timeStampOffset; s64 621 src/media_tools/html5_mse.c s64 DTS_with_offset = frame->sl_header.decodingTimeStamp + frame->sl_header.timeStampOffset; s64 647 src/media_tools/html5_mse.c if (DTS_with_offset < (s64) track->last_dts || s64 413 src/media_tools/ismacryp.c gf_bs_write_u64(bs, (s64) count); s64 654 src/media_tools/ismacryp.c u32 s64; s64 657 src/media_tools/ismacryp.c s64 = gf_base64_encode(Data, 24, d64, 100); s64 658 src/media_tools/ismacryp.c d64[s64] = 0; s64 80 src/media_tools/isom_hinter.c bw /= (s64) gf_isom_get_media_duration(file, Track); s64 721 src/media_tools/isom_hinter.c ts = (u64) (ft * (s64) (samp->DTS+samp->CTS_Offset)); s64 724 src/media_tools/isom_hinter.c ts = (u64) (ft * (s64)(samp->DTS)); s64 1734 src/media_tools/m2ts_mux.c u64 pcr = (s64) gf_m2ts_get_pcr(stream)/300; s64 1736 src/media_tools/m2ts_mux.c stream->pid, stream->curr_pck.data_len, stream->curr_pck.dts, pcr, (s64) stream->curr_pck.dts - (s64) pcr, s64 2064 src/media_tools/media_export.c FPS /= (s64) samp->DTS; s64 145 src/media_tools/media_import.c br = (Double) (s64) gf_isom_get_media_duration(file, track); s64 147 src/media_tools/media_import.c bitrate = (u32) ((Double) (s64)avg_rate / br); s64 1868 src/media_tools/media_import.c s64 offset; s64 2312 src/media_tools/media_import.c s64 mediaOffset; s64 2652 src/media_tools/media_import.c s64 media_size, media_done; s64 3124 src/media_tools/media_import.c s64 media_size, media_done, offset; s64 3620 src/media_tools/media_import.c else if (!stricmp(att->name, "mediaOffset")) offset = (s64) atof(att->value) ; s64 9549 src/media_tools/media_import.c ts = (u64) (((s64) ts ) / import->video_fps); s64 9599 src/media_tools/media_import.c ts = (s64) (((import->video_fps*((s64)ts) + fr) * 1000 ) / import->video_fps); s64 105 src/media_tools/mpeg2_ps.c s64 first_pes_loc; s64 108 src/media_tools/mpeg2_ps.c s64 end_dts_loc; s64 136 src/media_tools/mpeg2_ps.c s64 end_loc; s64 185 src/media_tools/mpeg2_ps.c static mpeg2ps_record_pes_t *create_record (s64 loc, u64 ts) s64 197 src/media_tools/mpeg2_ps.c void mpeg2ps_record_pts (mpeg2ps_stream_t *sptr, s64 location, mpeg2ps_ts_t *pTs) s64 686 src/media_tools/mpeg2_ps.c s64 *found_loc) s64 690 src/media_tools/mpeg2_ps.c s64 loc; s64 1138 src/media_tools/mpeg2_ps.c s64 first_loc, s64 1280 src/media_tools/mpeg2_ps.c s64 loc, first_video_loc = 0, first_audio_loc = 0; s64 1281 src/media_tools/mpeg2_ps.c s64 check, orig_check; s64 1336 src/media_tools/mpeg2_ps.c s64 diff; s64 1787 src/media_tools/mpeg2_ps.c s64 mpeg2ps_get_video_pos(mpeg2ps_t *ps, u32 streamno) s64 1792 src/media_tools/mpeg2_ps.c s64 mpeg2ps_get_audio_pos(mpeg2ps_t *ps, u32 streamno) s64 193 src/media_tools/mpeg2_ps.h s64 mpeg2ps_get_video_pos(mpeg2ps_t *ps, u32 streamno); s64 194 src/media_tools/mpeg2_ps.h s64 mpeg2ps_get_audio_pos(mpeg2ps_t *ps, u32 streamno); s64 3375 src/media_tools/mpegts.c s64 prev_diff_in_us; s64 3399 src/media_tools/mpegts.c prev_diff_in_us = (s64) (es->program->last_pcr_value /27- es->program->before_last_pcr_value/27); s64 3413 src/media_tools/mpegts.c s64 diff_in_us = (s64) (es->program->last_pcr_value - es->program->before_last_pcr_value) / 27; s64 3429 src/media_tools/mpegts.c s64 diff_in_us = (s64) (es->program->last_pcr_value - es->program->before_last_pcr_value) / 27; s64 4180 src/media_tools/mpegts.c pos = (u32) (s64) (perc * ts->file_size); s64 4690 src/media_tools/mpegts.c GF_Err gf_m2ts_restamp(char *buffer, u32 size, s64 ts_shift, u8 *is_pes) s64 1136 src/media_tools/text_import.c s64 ts_begin = -1, ts_end = -1; s64 1235 src/media_tools/text_import.c if (ts_begin < (s64)last_sample_end) { s64 1718 src/media_tools/text_import.c s->DTS = (u64) (FPS*(s64)prev_end); s64 1726 src/media_tools/text_import.c s->DTS = (u64) (FPS*(s64)start); s64 1739 src/media_tools/text_import.c s->DTS = (u64)(FPS*(s64)end); s64 1363 src/media_tools/webvtt.c fprintf(dump, "<WebVTTSample decodingTimeStamp=\""LLU"\" compositionTimeStamp=\""LLD"\" RAP=\"%d\" dataLength=\"%d\" >\n", iso_sample->DTS, (s64)iso_sample->DTS + iso_sample->CTS_Offset, iso_sample->IsRAP, iso_sample->dataLength); s64 766 src/odf/descriptors.c s64 avail; s64 770 src/odf/descriptors.c avail = (s64) gf_bs_available(bs); s64 751 src/odf/odf_parse.c s64 pos, bs_start, bs_cur; s64 1074 src/scene_manager/encode_isom.c else au->timing_sec = (double) ((s64) (au->timing / esd->slConfig->timestampResolution)); s64 73 src/scene_manager/loader_isom.c dur = (Double) (s64) gf_isom_get_track_duration(mp4, track); s64 119 src/scene_manager/loader_isom.c dur = (Double) (s64) gf_isom_get_track_duration(mp4, track); s64 274 src/scene_manager/loader_isom.c au = gf_sm_stream_au_new(sc, samp->DTS, ((Double)(s64) samp->DTS) / sc->timeScale, (samp->IsRAP==RAP) ? 1 : 0); s64 3389 src/scene_manager/scene_dump.c au->timing_sec = (Double) (s64) au->timing; s64 977 src/terminal/channel.c OCR_TS = (u32) ( (s64) (hdr.objectClockReference) * ch->ocr_scale); s64 1008 src/terminal/channel.c OCR_TS = (u32) ( (s64) (hdr.objectClockReference) * ch->ocr_scale); s64 1171 src/terminal/channel.c u64 dts= ch->ts_offset + (s64) (ch->net_dts) * 1000 / ch->ts_res; s64 1185 src/terminal/channel.c s64 res = gf_scene_adjust_timestamp_for_addon(ch->odm->parentscene->root_od->addon, ch->CTS); s64 1221 src/terminal/media_object.c dur = ((Double) (s64)mo->odm->duration)/1000.0; s64 176 src/terminal/media_sensor.c if (ck->has_seen_eos && (1000*time>=(Double) (s64)odm->subscene->duration)) { s64 197 src/terminal/media_sensor.c media_sens->sensor->mediaDuration = (Double) (s64)odm->subscene->duration; s64 199 src/terminal/media_sensor.c media_sens->sensor->mediaDuration = (Double) (s64)odm->duration; s64 224 src/terminal/mpeg4_inline.c s64 from = 0; s64 227 src/terminal/mpeg4_inline.c from = (s64) (scene->root_od->media_ctrl->media_stop * 1000) - 1; s64 231 src/terminal/mpeg4_inline.c from = (s64) (scene->root_od->media_ctrl->media_start * 1000); s64 189 src/terminal/object_browser.c info->duration = (Double) (s64)odm->duration; s64 218 src/terminal/object_browser.c info->duration = (Double) (s64)odm->subscene->duration; s64 1500 src/terminal/object_manager.c odm->media_start_time = (u64) ((s64) seg->startTime*1000); s64 1501 src/terminal/object_manager.c odm->media_stop_time = (u64) ((s64) (seg->startTime + seg->Duration)*1000); s64 1616 src/terminal/object_manager.c ck_time = (Double) (s64) odm->media_start_time; s64 1620 src/terminal/object_manager.c ck_time = (Double) (s64) odm->parentscene->root_od->media_start_time; s64 1666 src/terminal/object_manager.c com.play.end_range = (s64) range_end / 1000.0; s64 1671 src/terminal/object_manager.c com.play.end_range = (s64) odm->parentscene->root_od->media_stop_time / 1000.0; s64 927 src/terminal/scene.c dur = (Double) (s64) scene->duration; s64 1627 src/terminal/scene.c void gf_scene_restart_dynamic(GF_Scene *scene, s64 from_time, Bool restart_only, Bool disable_addon_check) {} s64 1942 src/terminal/scene.c void gf_scene_restart_dynamic(GF_Scene *scene, s64 from_time, Bool restart_only, Bool disable_addon_check) s64 1972 src/terminal/scene.c s64 live_clock = scene->obj_clock_at_main_activation + gf_sys_clock() - scene->sys_clock_at_main_activation; s64 2765 src/terminal/scene.c s64 gf_scene_adjust_timestamp_for_addon(GF_AddonMedia *addon, u64 orig_ts) s64 2767 src/terminal/scene.c s64 media_ts_ms; s64 502 src/utils/bitstream.c void gf_bs_write_long_int(GF_BitStream *bs, s64 value, s32 nBits) s64 508 src/utils/bitstream.c value <<= sizeof (s64) * 8 - nBits; s64 727 src/utils/bitstream.c s64 cur, end; s64 930 src/utils/bitstream.c s64 offset; s64 63 src/utils/cache.c s64 readPosition; s64 746 src/utils/cache.c s64 gf_cache_reader_seek_at( GF_CacheReader reader, u64 seekPosition) { s64 753 src/utils/cache.c s64 gf_cache_reader_get_position( const GF_CacheReader reader) { s64 759 src/utils/cache.c s64 gf_cache_reader_get_currentSize( GF_CacheReader reader ); s64 761 src/utils/cache.c s64 gf_cache_reader_full_size( GF_CacheReader reader ); s64 3588 src/utils/downloader.c s64 read, write, total; s64 50 src/utils/math.c typedef s64 fix_s64; s64 1708 src/utils/os_divers.c s64 local, remote; s64 1912 src/utils/os_divers.c if ((s64) current_time == -1) { s64 627 src/utils/os_file.c u64 gf_fseek(FILE *fp, s64 offset, s32 whence) s64 244 src/utils/symbian_os.cpp u64 gf_fseek(FILE *fp, s64 offset, s32 whence) s64 2021 src/utils/xml_parser.c s64 value = 0;