u64 150 applications/dashcast/audio_decoder.c static int ensure_resampler(AudioInputFile *audio_input_file, int sample_rate, int num_channels, u64 channel_layout, enum AVSampleFormat sample_format) u64 310 applications/dashcast/audio_decoder.c u64 channel_layout = codec_ctx->channel_layout; u64 314 applications/dashcast/audio_decoder.c u64 channel_layout; u64 110 applications/dashcast/audio_muxer.h u64 frame_ntp; u64 50 applications/dashcast/controler.c u64 utc_time, ntpts; u64 646 applications/dashcast/controler.c u64 start_utc, seg_utc; u64 878 applications/dashcast/controler.c u64 start_utc, seg_utc; u64 1004 applications/dashcast/controler.c u64 now = gf_net_get_utc(); u64 1014 applications/dashcast/controler.c ms = (u32) ((u64) 1000 * frac / 0xFFFFFFFF); u64 86 applications/dashcast/video_data.h u64 frame_duration; u64 115 applications/dashcast/video_data.h u64 frame_duration; u64 131 applications/dashcast/video_data.h u64 frame_ntp, frame_utc; u64 332 applications/dashcast/video_decoder.c u64 pts; u64 61 applications/dashcast/video_decoder.h u64 first_pts, prev_pts, pts_dur_estimate, sync_tolerance; u64 62 applications/dashcast/video_decoder.h u64 utc_at_init; u64 165 applications/dashcast/video_encoder.c u64 time_spent; u64 38 applications/dashcast/video_muxer.c static GF_Err avc_import_ffextradata(const u8 *extradata, const u64 extradata_size, GF_AVCConfig *dstcfg) u64 60 applications/dashcast/video_muxer.c const u64 nal_start = 4; u64 103 applications/dashcast/video_muxer.c const u64 nal_start = 4 + nal_size + 4; u64 147 applications/dashcast/video_muxer.c static GF_Err hevc_import_ffextradata(const u8 *extradata, const u64 extradata_size, GF_HEVCConfig *dst_cfg) u64 170 applications/dashcast/video_muxer.c u64 nal_start, start_code; u64 892 applications/dashcast/video_muxer.c (video_output_file->nb_segments+1)*video_output_file->seg_dur * (u64)video_output_file->timescale); u64 895 applications/dashcast/video_muxer.c (video_output_file->seg_dur * (u64)video_output_file->timescale); u64 899 applications/dashcast/video_muxer.c (video_output_file->frag_dur * (u64)video_output_file->timescale)); u64 85 applications/dashcast/video_muxer.h u64 first_dts_in_fragment; u64 86 applications/dashcast/video_muxer.h u64 ntp_at_first_dts; u64 95 applications/dashcast/video_muxer.h u64 pts_at_segment_start, pts_at_first_segment; u64 96 applications/dashcast/video_muxer.h u64 last_pts, last_dts; u64 97 applications/dashcast/video_muxer.h u64 frame_dur; u64 103 applications/dashcast/video_muxer.h u64 frame_ntp, frame_utc; u64 87 applications/dashcast/video_scaler.h u64 frame_ntp, frame_utc; u64 103 applications/mp42avi/main.c u64 duration, cts; u64 173 applications/mp42ts/main.c u64 samples_done, samples_count; u64 250 applications/mp42ts/main.c static u32 format_af_descriptor(char *af_data, u32 timeline_id, u64 timecode, u32 timescale, u64 ntp, const char *temi_url, u32 *last_url_time) u64 362 applications/mp42ts/main.c u64 ntp=0; u64 363 applications/mp42ts/main.c u64 tc = priv->sample->DTS + priv->sample->CTS_Offset + priv->cts_dts_shift; u64 369 applications/mp42ts/main.c tc += ((u64) temi_offset) * ifce->timescale / 1000; u64 411 applications/mp42ts/main.c u64 start; u64 413 applications/mp42ts/main.c GF_List *gf_webvtt_parse_iso_cues(GF_ISOSample *iso_sample, u64 start); u64 454 applications/mp42ts/main.c u64 duration; u64 458 applications/mp42ts/main.c duration = (u64) (gf_isom_get_duration(priv->mp4) * scale); u64 500 applications/mp42ts/main.c u64 avg_rate, duration; u64 692 applications/mp42ts/main.c u64 prev_cts; u64 693 applications/mp42ts/main.c u64 prev_dts; u64 982 applications/mp42ts/main.c static void SampleCallBack(void *calling_object, u16 ESID, char *data, u32 size, u64 ts); u64 986 applications/mp42ts/main.c u64 audio_discontinuity_offset = 0; u64 1029 applications/mp42ts/main.c static void SampleCallBack(void *calling_object, u16 ESID, char *data, u32 size, u64 ts) u64 1223 applications/mp42ts/main.c u64 last_src_modif, mod_time; u64 2428 applications/mp42ts/main.c if (pcr_init_val>=0) gf_m2ts_mux_set_initial_pcr(muxer, (u64) pcr_init_val); u64 2662 applications/mp42ts/main.c audio_discontinuity_offset = gf_m2ts_get_sys_clock(muxer) * (u64)esd->slConfig->timestampResolution / 1000; u64 2813 applications/mp42ts/main.c u64 bits = muxer->tot_pck_sent*8*188; u64 2814 applications/mp42ts/main.c u64 dur_ms = gf_m2ts_get_ts_clock(muxer); u64 834 applications/mp4box/filedump.c u64 dts, cts, offset; u64 867 applications/mp4box/filedump.c u64 adts, acts; u64 1355 applications/mp4box/filedump.c u64 dts, cts; u64 1677 applications/mp4box/filedump.c static char *format_duration(u64 dur, u32 timescale, char *szDur) u64 1680 applications/mp4box/filedump.c if ((dur==(u64) -1) || (dur==(u32) -1)) { u64 1684 applications/mp4box/filedump.c dur = (u64) (( ((Double) (s64) dur)/timescale)*1000); u64 1710 applications/mp4box/filedump.c static char *format_date(u64 time, char *szTime) u64 1812 applications/mp4box/filedump.c u64 chapter_time; u64 1964 applications/mp4box/filedump.c u64 time_slice, dur, size; u64 2007 applications/mp4box/filedump.c u64 frag_duration; u64 2437 applications/mp4box/filedump.c u64 orig_len; u64 2728 applications/mp4box/filedump.c dur = (u64) (scale * (s64)dur); u64 2757 applications/mp4box/filedump.c u64 time; u64 2807 applications/mp4box/filedump.c u64 create, modif; u64 2820 applications/mp4box/filedump.c u64 tfdt; u64 2897 applications/mp4box/filedump.c u64 time; u64 3102 applications/mp4box/filedump.c u64 interpolated_pcr_value = 0; u64 3106 applications/mp4box/filedump.c u64 delta_pcr_value = pes->last_pcr_value - pes->before_last_pcr_value; u64 3113 applications/mp4box/filedump.c interpolated_pcr_value = pes->last_pcr_value + (u64)((delta_pcr_value*delta_pts_pcr_pck_num*1.0)/delta_pcr_pck_num); u64 3183 applications/mp4box/filedump.c u64 fsize, fdone; u64 226 applications/mp4box/fileimport.c u64 ref_duration, chap_duration; u64 236 applications/mp4box/fileimport.c ref_duration = (u64) (ref_duration * scale); u64 628 applications/mp4box/fileimport.c u64 tk_dur; u64 635 applications/mp4box/fileimport.c u64 to_skip = (timescale*(-delay))/1000; u64 753 applications/mp4box/fileimport.c u64 tk_dur; u64 760 applications/mp4box/fileimport.c u64 to_skip = (timescale*(-delay))/1000; u64 762 applications/mp4box/fileimport.c u64 media_time = (-delay)*gf_isom_get_media_timescale(import.dest, track) / 1000; u64 980 applications/mp4box/fileimport.c u64 firstDTS, lastDTS; u64 991 applications/mp4box/fileimport.c GF_Err split_isomedia_file(GF_ISOFile *mp4, Double split_dur, u64 split_size_kb, char *inName, Double InterleavingTime, Double chunk_start_time, Bool adjust_split_end, char *outName, const char *tmpdir) u64 1006 applications/mp4box/fileimport.c if (split_size_kb == (u64)-1) rap_split = 1; u64 1167 applications/mp4box/fileimport.c e = gf_isom_get_sample_for_media_time(mp4, tki->tk, (u64) (chunk_start*tki->time_scale), &di, GF_ISOM_SEARCH_SYNC_BACKWARD, &samp, &sample_num); u64 1186 applications/mp4box/fileimport.c u64 dts; u64 1194 applications/mp4box/fileimport.c tki->firstDTS = (u64) (chunk_start*tki->time_scale); u64 1264 applications/mp4box/fileimport.c u64 dts; u64 1359 applications/mp4box/fileimport.c u64 est_size = gf_isom_estimate_size(dest); u64 1397 applications/mp4box/fileimport.c u64 dts = gf_isom_get_sample_dts(mp4, tki->tk, tki->last_sample+1); u64 1405 applications/mp4box/fileimport.c if (!nb_add && (!max_dts || (tki->lastDTS <= 1 + (u64) (tki->time_scale*max_dts) ))) u64 1501 applications/mp4box/fileimport.c u64 dts; u64 1512 applications/mp4box/fileimport.c tki->firstDTS += (u64) (file_split_dur*tki->time_scale); u64 1540 applications/mp4box/fileimport.c u64 new_track_dur; u64 1562 applications/mp4box/fileimport.c u64 editTime, segDur, MediaTime; u64 1580 applications/mp4box/fileimport.c u64 chap_time; u64 1587 applications/mp4box/fileimport.c chap_time = (u64) (max_dts*1000); u64 1752 applications/mp4box/fileimport.c u64 insert_dts; u64 1849 applications/mp4box/fileimport.c u64 last_DTS, dest_track_dur_before_cat; u64 2018 applications/mp4box/fileimport.c insert_dts = (u64) (aligned_to_DTS * gf_isom_get_media_timescale(dest, dst_tk)); u64 2032 applications/mp4box/fileimport.c u64 editTime, segmentDuration, mediaTime, dst_editTime, dst_segmentDuration, dst_mediaTime; u64 2053 applications/mp4box/fileimport.c samp->DTS = (u64) (ts_scale * samp->DTS + (new_track ? 0 : insert_dts)); u64 2059 applications/mp4box/fileimport.c u64 offset; u64 2080 applications/mp4box/fileimport.c u64 media_dur = gf_isom_get_media_duration(orig, i+1); u64 2087 applications/mp4box/fileimport.c gf_isom_set_edit_segment(dest, dst_tk, 0, (u64) (s64) (insert_dts*rescale), 0, GF_ISOM_EDIT_EMPTY); u64 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); u64 2098 applications/mp4box/fileimport.c u64 editTime, segmentDuration, mediaTime; u64 2113 applications/mp4box/fileimport.c segmentDuration = (u64) (s64) ( (Double) (s64) (dest_track_dur_before_cat - mediaTime) * rescale ); u64 2116 applications/mp4box/fileimport.c segmentDuration += (u64) (s64) dur; u64 2122 applications/mp4box/fileimport.c u64 editTime, segmentDuration, mediaTime, edit_offset; u64 2139 applications/mp4box/fileimport.c segmentDuration = (u64) (dest_track_dur_before_cat * rescale); u64 2181 applications/mp4box/fileimport.c u64 chap_time; u64 2190 applications/mp4box/fileimport.c u64 last_chap_time; u64 2196 applications/mp4box/fileimport.c chap_time = (u64) (c_time*1000); u64 214 applications/mp4box/live.c u64 carousel_ts, time_at_carousel_store; u64 268 applications/mp4box/live.c static void live_session_callback(void *calling_object, u16 ESID, char *data, u32 size, u64 ts) u64 294 applications/mp4box/live.c ts += rtpch->timescale*((u64)gf_sys_clock()-rtpch->init_time + rtpch->ts_delta)/1000; u64 313 applications/mp4box/live.c u64 ts=0; u64 316 applications/mp4box/live.c ts = ch->carousel_ts + ch->timescale * ( (ch->adjust_carousel_time ? (u64)gf_sys_clock() : ch->time_at_carousel_store) - ch->init_time + ch->ts_delta)/1000; u64 486 applications/mp4box/live.c u64 last_src_modif, mod_time; u64 874 applications/mp4box/live.c u64 nb_pck; u64 75 applications/mp4box/main.c GF_Err split_isomedia_file(GF_ISOFile *mp4, Double split_dur, u64 split_size_kb, char *inName, Double interleaving_time, Double chunk_start, Bool adjust_split_end, char *outName, const char *tmpdir); u64 1215 applications/mp4box/main.c static void progress_quiet(const void *cbck, const char *title, u64 done, u64 total) { } u64 1807 applications/mp4box/main.c u64 utc_clock = gf_net_get_utc() ; u64 1829 applications/mp4box/main.c u64 movie_time, initial_tfdt; u64 1870 applications/mp4box/main.c u64 dash_start_date=0; u64 4029 applications/mp4box/main.c u64 ms_in_session=0; u64 4108 applications/mp4box/main.c u64 missing_bytes; u64 4782 applications/mp4box/main.c u64 tk_dur; u64 4793 applications/mp4box/main.c u64 to_skip = (timescale*(-tka->delay_ms))/1000; u64 4795 applications/mp4box/main.c u64 media_time = (-tka->delay_ms)*gf_isom_get_media_timescale(file, track) / 1000; u64 85 applications/mp4client/extract.c extern u64 Duration; u64 617 applications/mp4client/extract.c u64 max_dur, nb_bytes, audio_time; u64 678 applications/mp4client/extract.c u64 dump_dur; u64 99 applications/mp4client/main.c u64 Duration; u64 116 applications/mp4client/main.c static u64 log_time_start = 0; u64 374 applications/mp4client/main.c static void PrintTime(u64 time) u64 599 applications/mp4client/main.c Duration = (u64) ( 1000 * (s64) evt->duration.duration); u64 1033 applications/mp4client/main.c static u64 last_log_time=0; u64 1044 applications/mp4client/main.c u64 now = gf_sys_clock_high_res(); u64 1049 applications/mp4client/main.c u64 utc_clock = gf_net_get_utc() ; u64 1181 applications/mp4client/main.c static void progress_quiet(const void *cbck, const char *title, u64 done, u64 total) { } u64 1688 applications/mp4client/main.c gf_term_connect_from_time(term, the_url, (u64) (play_from*1000), pause_at_first); u64 1896 applications/mp4client/main.c gf_term_play_from_time(term, (u64) (s64) res, 0); u64 1901 applications/mp4client/main.c PrintTime((u64) res); u64 1916 applications/mp4client/main.c u64 time = h*3600 + m*60 + s; u64 655 applications/osmo4_android_studio/app/src/main/jni/wrapper.cpp void CNativeWrapper::progress_cbk(const char *title, u64 done, u64 total) { u64 669 applications/osmo4_android_studio/app/src/main/jni/wrapper.cpp void CNativeWrapper::Osmo4_progress_cbk(const void *usr, const char *title, u64 done, u64 total) { u64 228 applications/osmo4_android_studio/app/src/main/jni/wrapper.h void progress_cbk(const char *title, u64 done, u64 total); u64 229 applications/osmo4_android_studio/app/src/main/jni/wrapper.h static void Osmo4_progress_cbk(const void *usr, const char *title, u64 done, u64 total); u64 51 applications/osmo4_ios/main.c u64 Duration; u64 78 applications/osmo4_ios/main.c static u64 memory_at_gpac_startup = 0; u64 217 applications/osmo4_ios/main.c Duration = (u64) (((s64) Duration) * evt->duration.duration); u64 394 applications/osmo4_ios/main.c static void on_progress_null(const void *_ptr, const char *_title, u64 done, u64 total) u64 133 applications/osmo4_w32/Osmo4.cpp static void Osmo4_progress_cbk(const void *usr, const char *title, u64 done, u64 total) u64 137 applications/osmo4_w32/Osmo4.cpp s32 prog = (s32) ( (100 * (u64)done) / total); u64 300 applications/osmo4_w32/Osmo4.cpp gf_term_play_from_time(gpac->m_term, (u64) current_time, 0); u64 305 applications/osmo4_w32/Osmo4.cpp gf_term_play_from_time(gpac->m_term, (u64) current_time, 0); u64 171 applications/osmo4_wx/wxOsmo4.cpp static void wxOsmo4_progress_cbk(const void *usr, const char *title, u64 done, u64 total) u64 175 applications/osmo4_wx/wxOsmo4.cpp s32 prog = (s32) ( (100 * (u64)done) / total); u64 2115 applications/osmo4_wx/wxOsmo4.cpp if (!info.owns_service) sprintf(szLabel, "Audio #"LLU, (u64)pMenu->GetMenuItemCount() + 1); u64 2120 applications/osmo4_wx/wxOsmo4.cpp if (!info.owns_service) sprintf(szLabel, "Video #"LLU, (u64)pMenu->GetMenuItemCount() + 1); u64 2126 applications/osmo4_wx/wxOsmo4.cpp if (!info.owns_service) sprintf(szLabel, "Subtitle #"LLU, (u64)pMenu->GetMenuItemCount() + 1); u64 179 applications/osmophone/main.cpp static u64 prev_pos = 0; u64 180 applications/osmophone/main.cpp void cbk_on_progress(void *_title, u64 done, u64 total) u64 184 applications/osmophone/main.cpp u32 pos = (u32) ((u64) done * 100)/total; u64 36 applications/testapps/bmp4demux/main.c u64 missing_bytes; u64 9 applications/testapps/broadcaster/RTP_serv_generator.c GF_Err SampleCallBack(void *calling_object, u16 ESID, char *au, u32 size, u64 ts) u64 17 applications/testapps/broadcaster/RTP_serv_generator.c GF_Err (*MySampleCallBack)(void *, u16, char *data, u32 size, u64 ts) = &SampleCallBack; u64 74 applications/testapps/broadcaster/RTP_serv_packetizer.c GF_Err PNC_ProcessData(PNC_CallbackData * data, char *au, u32 size, u64 ts) u64 10 applications/testapps/broadcaster/RTP_serv_packetizer.h GF_Err PNC_ProcessData(PNC_CallbackData *data, char *au, u32 size, u64 ts); u64 9 applications/testapps/broadcaster/broadcaster.c extern GF_Err SampleCallBack(void *, u16, char *data, u32 size, u64 ts); u64 47 applications/testapps/dmbrs/main.c u64 bs_data; u64 133 applications/testapps/dmbrs/main.c u64 bs_data; u64 151 applications/testapps/dmbrs/main.c u64 pos; u64 130 applications/testapps/fmp4demux/main.c u64 new_buffer_start; u64 131 applications/testapps/fmp4demux/main.c u64 missing_bytes; u64 185 applications/testapps/fmp4demux/main.c u64 total_read_bytes; u64 187 applications/testapps/fmp4demux/main.c u64 file_size; u64 189 applications/testapps/fmp4demux/main.c u64 missing_bytes; u64 24 applications/testapps/hevcbench/main.c #define GF_SHADERID u64 u64 55 applications/testapps/hevcbench/main.c u64 gl_upload_time = 0; u64 56 applications/testapps/hevcbench/main.c u64 gl_draw_time = 0; u64 57 applications/testapps/hevcbench/main.c u64 gl_upload_time_frame = 0; u64 58 applications/testapps/hevcbench/main.c u64 gl_draw_time_frame = 0; u64 405 applications/testapps/hevcbench/main.c u64 draw_start, end; u64 653 applications/testapps/hevcbench/main.c u64 start = gf_sys_clock_high_res(); u64 700 applications/testapps/hevcbench/main.c u64 start, now; u64 704 applications/testapps/hevcbench/main.c u64 pause_time = 0; u64 705 applications/testapps/hevcbench/main.c u64 max_time_spent = 0; u64 839 applications/testapps/hevcbench/main.c u64 time_spent = gf_sys_clock_high_res(); u64 854 applications/testapps/hevcbench/main.c u64 sdl_init_time = gf_sys_clock_high_res(); u64 869 applications/testapps/hevcbench/main.c u64 sdl_init_time = gf_sys_clock_high_res(); u64 37 applications/testapps/segmp4demux/main.c u64 missing_bytes; u64 75 applications/testapps/segmp4demux/main.c u64 missing_bytes; u64 38 applications/testapps/ts2udp/main.c volatile u64 data_read_idx, data_write_idx; u64 39 applications/testapps/ts2udp/main.c u64 pcr, first_pcr; u64 50 applications/testapps/ts2udp/main.c if (sender->first_pcr == (u64)-1) { u64 98 applications/testapps/ts2udp/main.c sender.first_pcr = (u64)-1; u64 46 applications/ts2hds/f4v.c u64 init_seg_time = ctx->curr_time; u64 59 applications/ts2hds/main.c static GFINLINE GF_Err parse_args(int argc, char **argv, char **input, char **output, u64 *curr_time, u32 *segnum) u64 40 applications/ts2hds/ts2hds.h u64 curr_time; u64 28 extra_lib/include/ffmpeg_android/libavutil/intreadwrite.h uint64_t u64; u64 657 extra_lib/include/ffmpeg_android/libavutil/intreadwrite.h uint64_t u64; u64 28 extra_lib/include/libavutil/intreadwrite.h uint64_t u64; u64 98 include/gpac/avparse.h GF_M4VParser *gf_m4v_parser_new(char *data, u64 data_size, Bool mpeg12video); u64 105 include/gpac/avparse.h GF_Err gf_m4v_parse_frame(GF_M4VParser *m4v, GF_M4VDecSpecInfo dsi, u8 *frame_type, u32 *time_inc, u64 *size, u64 *start, Bool *is_coded); u64 107 include/gpac/avparse.h u64 gf_m4v_get_object_start(GF_M4VParser *m4v); u64 70 include/gpac/bitstream.h GF_BitStream *gf_bs_new(const char *buffer, u64 size, u32 mode); u64 129 include/gpac/bitstream.h u64 gf_bs_read_long_int(GF_BitStream *bs, u32 nBits); u64 217 include/gpac/bitstream.h u64 gf_bs_read_u64(GF_BitStream *bs); u64 353 include/gpac/bitstream.h void gf_bs_write_u64(GF_BitStream *bs, u64 value); u64 410 include/gpac/bitstream.h u64 gf_bs_available(GF_BitStream *bs); u64 431 include/gpac/bitstream.h void gf_bs_skip_bytes(GF_BitStream *bs, u64 nbBytes); u64 441 include/gpac/bitstream.h GF_Err gf_bs_seek(GF_BitStream *bs, u64 offset); u64 462 include/gpac/bitstream.h u32 gf_bs_peek_bits(GF_BitStream *bs, u32 numBits, u64 byte_offset); u64 480 include/gpac/bitstream.h u64 gf_bs_get_position(GF_BitStream *bs); u64 489 include/gpac/bitstream.h u64 gf_bs_get_size(GF_BitStream *bs); u64 499 include/gpac/bitstream.h u64 gf_bs_get_refreshed_size(GF_BitStream *bs); u64 216 include/gpac/cache.h s64 gf_cache_reader_seek_at( GF_CacheReader reader, u64 seekPosition); u64 234 include/gpac/cache.h u64 gf_cache_get_start_range( const DownloadedCacheEntry entry ); u64 235 include/gpac/cache.h u64 gf_cache_get_end_range( const DownloadedCacheEntry entry ); u64 123 include/gpac/dash.h GF_Err (*set_range)(GF_DASHFileIO *dashio, GF_DASHFileIOSession session, u64 start_range, u64 end_range, Bool discontinue_cache); u64 139 include/gpac/dash.h u64 (*get_utc_start_time)(GF_DASHFileIO *dashio, GF_DASHFileIOSession session); u64 248 include/gpac/dash.h const char *gf_dash_group_get_segment_init_url(GF_DashClient *dash, u32 idx, u64 *start_range, u64 *end_range); u64 301 include/gpac/dash.h GF_Err gf_dash_group_get_next_segment_location(GF_DashClient *dash, u32 idx, u32 dependent_representation_index, const char **url, u64 *start_range, u64 *end_range, u64 302 include/gpac/dash.h s32 *switching_index, const char **switching_url, u64 *switching_start_range, u64 *switching_end_range, u64 326 include/gpac/dash.h GF_Err gf_dash_group_get_presentation_time_offset(GF_DashClient *dash, u32 idx, u64 *presentation_time_offset, u32 *timescale); u64 414 include/gpac/dash.h u64 gf_dash_get_period_start(GF_DashClient *dash); u64 416 include/gpac/dash.h u64 gf_dash_get_period_duration(GF_DashClient *dash); u64 458 include/gpac/dash.h void gf_dash_override_ntp(GF_DashClient *dash, u64 server_ntp); u64 335 include/gpac/download.h GF_Err gf_dm_sess_set_range(GF_DownloadSession *sess, u64 start_range, u64 end_range, Bool discontinue_cache); u64 366 include/gpac/download.h const char * gf_cache_get_cache_filename_range( const GF_DownloadSession * sess, u64 startOffset, u64 endOffset ); u64 389 include/gpac/download.h u64 gf_dm_sess_get_utc_start(GF_DownloadSession *sess); u64 445 include/gpac/download.h GF_Err gf_dm_wget_with_cache(GF_DownloadManager * dm, const char *url, const char *filename, u64 start_range, u64 end_range, char **redirected_url); u64 457 include/gpac/download.h GF_Err gf_dm_wget(const char *url, const char *filename, u64 start_range, u64 end_range, char **redirected_url); u64 497 include/gpac/dsmcc.h u64 ContentSize; u64 528 include/gpac/dsmcc.h u64 ContentSize; u64 99 include/gpac/esi.h u64 dts, cts; u64 186 include/gpac/html5_media.h u64 last_dts; /* MSE last decode timestamp (in timescale units)*/ \ u64 189 include/gpac/html5_media.h u64 highest_pts; /* MSE highest presentation timestamp (in timescale units)*/ \ u64 334 include/gpac/html5_media.h GF_Err gf_html_timeranges_add_start(GF_HTML_MediaTimeRanges *timeranges, u64 start); u64 335 include/gpac/html5_media.h GF_Err gf_html_timeranges_add_end(GF_HTML_MediaTimeRanges *timeranges, u64 end); u64 98 include/gpac/html5_mse.h u64 group_start_timestamp; u64 101 include/gpac/html5_mse.h u64 group_end_timestamp; u64 107 include/gpac/html5_mse.h u64 remove_start; u64 108 include/gpac/html5_mse.h u64 remove_end; u64 532 include/gpac/ietf.h u64 recomputed_ntp_ts; u64 1176 include/gpac/ietf.h u64 IV, first_AU_IV; u64 1269 include/gpac/ietf.h void gp_rtp_builder_set_cryp_info(GP_RTPPacketizer *builder, u64 IV, char *key_indicator, Bool is_encrypted); u64 39 include/gpac/internal/avilib.h u64 key; u64 40 include/gpac/internal/avilib.h u64 pos; u64 41 include/gpac/internal/avilib.h u64 len; u64 46 include/gpac/internal/avilib.h u64 pos; u64 47 include/gpac/internal/avilib.h u64 len; u64 48 include/gpac/internal/avilib.h u64 tot; u64 69 include/gpac/internal/avilib.h u64 qwOffset; // absolute file offset u64 88 include/gpac/internal/avilib.h u64 qwBaseOffset; // all dwOffsets in aIndex array are relative to this u64 123 include/gpac/internal/avilib.h u64 audio_bytes; /* Total number of bytes of audio data */ u64 130 include/gpac/internal/avilib.h u64 a_codech_off; /* absolut offset of audio codec information */ u64 131 include/gpac/internal/avilib.h u64 a_codecf_off; /* absolut offset of audio codec information */ u64 315 include/gpac/internal/avilib.h u64 AVI_bytes_remain(avi_t *AVI); u64 317 include/gpac/internal/avilib.h u64 AVI_bytes_written(avi_t *AVI); u64 337 include/gpac/internal/avilib.h u64 AVI_audio_bytes(avi_t *AVI); u64 347 include/gpac/internal/avilib.h u64 AVI_get_video_position(avi_t *AVI, int frame); u64 369 include/gpac/internal/avilib.h u64 AVI_max_size(void); u64 1093 include/gpac/internal/compositor_dev.h u64 start_time; u64 1095 include/gpac/internal/compositor_dev.h u64 freeze_time; u64 1100 include/gpac/internal/compositor_dev.h u64 bytes_requested; u64 51 include/gpac/internal/isomedia_dev.h u64 size; \ u64 517 include/gpac/internal/isomedia_dev.h u64 dataSize; u64 523 include/gpac/internal/isomedia_dev.h u64 time; u64 524 include/gpac/internal/isomedia_dev.h u64 moof_offset; u64 574 include/gpac/internal/isomedia_dev.h u64 creationTime; u64 575 include/gpac/internal/isomedia_dev.h u64 modificationTime; u64 577 include/gpac/internal/isomedia_dev.h u64 duration; u64 578 include/gpac/internal/isomedia_dev.h u64 original_duration; u64 609 include/gpac/internal/isomedia_dev.h u64 segmentDuration; u64 662 include/gpac/internal/isomedia_dev.h u64 creationTime; u64 663 include/gpac/internal/isomedia_dev.h u64 modificationTime; u64 666 include/gpac/internal/isomedia_dev.h u64 duration; u64 724 include/gpac/internal/isomedia_dev.h u64 dts_at_seg_start; u64 734 include/gpac/internal/isomedia_dev.h u64 creationTime; u64 735 include/gpac/internal/isomedia_dev.h u64 modificationTime; u64 737 include/gpac/internal/isomedia_dev.h u64 duration, original_duration; u64 760 include/gpac/internal/isomedia_dev.h u64 BytesMissing; u64 772 include/gpac/internal/isomedia_dev.h u64 reserved; u64 867 include/gpac/internal/isomedia_dev.h u64 w_LastDTS; u64 872 include/gpac/internal/isomedia_dev.h u64 r_CurrentDTS; u64 1272 include/gpac/internal/isomedia_dev.h u64 *offsets; u64 1407 include/gpac/internal/isomedia_dev.h u64 *offsets_large; u64 1409 include/gpac/internal/isomedia_dev.h u64 offset_first_offset_field; u64 1489 include/gpac/internal/isomedia_dev.h u64 start_time; u64 1538 include/gpac/internal/isomedia_dev.h u64 attribute_count; u64 1693 include/gpac/internal/isomedia_dev.h u64 extent_offset; u64 1694 include/gpac/internal/isomedia_dev.h u64 extent_length; u64 1695 include/gpac/internal/isomedia_dev.h u64 extent_index; u64 1698 include/gpac/internal/isomedia_dev.h u64 original_extent_offset; u64 1707 include/gpac/internal/isomedia_dev.h u64 base_offset; u64 1710 include/gpac/internal/isomedia_dev.h u64 original_base_offset; u64 1802 include/gpac/internal/isomedia_dev.h u64 salt; u64 1892 include/gpac/internal/isomedia_dev.h u64 fragment_duration; u64 1939 include/gpac/internal/isomedia_dev.h u64 fragment_offset; u64 1945 include/gpac/internal/isomedia_dev.h u64 ntp, timestamp; u64 1966 include/gpac/internal/isomedia_dev.h u64 base_data_offset; u64 1979 include/gpac/internal/isomedia_dev.h u64 baseMediaDecodeTime; u64 2008 include/gpac/internal/isomedia_dev.h u64 moof_start_in_bs; u64 2144 include/gpac/internal/isomedia_dev.h u64 nbBytes; u64 2158 include/gpac/internal/isomedia_dev.h u64 nbPackets; u64 2173 include/gpac/internal/isomedia_dev.h u64 nbBytes; u64 2196 include/gpac/internal/isomedia_dev.h u64 nbBytes; u64 2203 include/gpac/internal/isomedia_dev.h u64 nbBytes; u64 2211 include/gpac/internal/isomedia_dev.h u64 nbBytes; u64 2342 include/gpac/internal/isomedia_dev.h u64 PlaintextLength; u64 2403 include/gpac/internal/isomedia_dev.h u64 earliest_presentation_time; u64 2404 include/gpac/internal/isomedia_dev.h u64 first_offset; u64 2446 include/gpac/internal/isomedia_dev.h u64 *pcr_values; u64 2454 include/gpac/internal/isomedia_dev.h u64 time; u64 2455 include/gpac/internal/isomedia_dev.h u64 offset; u64 2460 include/gpac/internal/isomedia_dev.h u64 time; u64 2463 include/gpac/internal/isomedia_dev.h u64 afra_offset; u64 2464 include/gpac/internal/isomedia_dev.h u64 offset_from_afra; u64 2490 include/gpac/internal/isomedia_dev.h u64 current_media_time; u64 2491 include/gpac/internal/isomedia_dev.h u64 smpte_time_code_offset; u64 2523 include/gpac/internal/isomedia_dev.h u64 first_fragment_timestamp; u64 2650 include/gpac/internal/isomedia_dev.h u64 general_constraint_indicator_flags; u64 2754 include/gpac/internal/isomedia_dev.h u64 bs_offset; u64 2777 include/gpac/internal/isomedia_dev.h u64 absolute_time_in_track_timescale; u64 2778 include/gpac/internal/isomedia_dev.h u64 fragment_duration_in_track_timescale; u64 2852 include/gpac/internal/isomedia_dev.h u64 ntp, timestamp; u64 3048 include/gpac/internal/isomedia_dev.h u64 curPos; \ u64 3074 include/gpac/internal/isomedia_dev.h u64 file_size; u64 3076 include/gpac/internal/isomedia_dev.h u64 byte_pos; u64 3083 include/gpac/internal/isomedia_dev.h u32 gf_isom_datamap_get_data(GF_DataMap *map, char *buffer, u32 bufferLength, u64 Offset); u64 3088 include/gpac/internal/isomedia_dev.h u32 gf_isom_fdm_get_data(GF_FileDataMap *ptr, char *buffer, u32 bufferLength, u64 fileOffset); u64 3097 include/gpac/internal/isomedia_dev.h u32 gf_isom_fmo_get_data(GF_FileMappingDataMap *ptr, char *buffer, u32 bufferLength, u64 fileOffset); u64 3100 include/gpac/internal/isomedia_dev.h u64 gf_isom_datamap_get_offset(GF_DataMap *map); u64 3187 include/gpac/internal/isomedia_dev.h u64 current_top_box_start; u64 3188 include/gpac/internal/isomedia_dev.h u64 segment_start; u64 3195 include/gpac/internal/isomedia_dev.h u64 root_sidx_offset; u64 3217 include/gpac/internal/isomedia_dev.h u64 gf_isom_get_mp4time(); u64 3220 include/gpac/internal/isomedia_dev.h GF_Err gf_isom_parse_movie_boxes(GF_ISOFile *mov, u64 *bytesMissing, Bool progressive_mode); u64 3234 include/gpac/internal/isomedia_dev.h GF_Err GetESDForTime(GF_MovieBox *moov, u32 trackID, u64 CTS, GF_ESD **outESD); u64 3236 include/gpac/internal/isomedia_dev.h GF_Err Media_GetSampleDescIndex(GF_MediaBox *mdia, u64 DTS, u32 *sampleDescIndex); u64 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); u64 3248 include/gpac/internal/isomedia_dev.h GF_Err Media_GetSample(GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample **samp, u32 *sampleDescriptionIndex, Bool no_data, u64 *out_offset); u64 3263 include/gpac/internal/isomedia_dev.h GF_Err stbl_findEntryForTime(GF_SampleTableBox *stbl, u64 DTS, u8 useCTS, u32 *sampleNumber, u32 *prevSampleNumber); u64 3267 include/gpac/internal/isomedia_dev.h GF_Err stbl_GetSampleDTS(GF_TimeToSampleBox *stts, u32 SampleNumber, u64 *DTS); u64 3268 include/gpac/internal/isomedia_dev.h GF_Err stbl_GetSampleDTS_and_Duration(GF_TimeToSampleBox *stts, u32 SampleNumber, u64 *DTS, u32 *duration); u64 3274 include/gpac/internal/isomedia_dev.h GF_Err stbl_GetSampleInfos(GF_SampleTableBox *stbl, u32 sampleNumber, u64 *offset, u32 *chunkNumber, u32 *descIndex, u8 *isEdited); u64 3308 include/gpac/internal/isomedia_dev.h GF_Err Media_AddSample(GF_MediaBox *mdia, u64 data_offset, const GF_ISOSample *sample, u32 StreamDescIndex, u32 syncShadowNumber); u64 3312 include/gpac/internal/isomedia_dev.h GF_Err Media_UpdateSampleReference(GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample *sample, u64 data_offset); u64 3314 include/gpac/internal/isomedia_dev.h GF_Err stbl_AddDTS(GF_SampleTableBox *stbl, u64 DTS, u32 *sampleNumber, u32 LastAUDefDuration); u64 3319 include/gpac/internal/isomedia_dev.h GF_Err stbl_AddChunkOffset(GF_MediaBox *mdia, u32 sampleNumber, u32 StreamDescIndex, u64 offset); u64 3326 include/gpac/internal/isomedia_dev.h GF_Err stbl_SetChunkOffset(GF_MediaBox *mdia, u32 sampleNumber, u64 offset); u64 3335 include/gpac/internal/isomedia_dev.h GF_Err stbl_SetChunkAndOffset(GF_SampleTableBox *stbl, u32 sampleNumber, u32 StreamDescIndex, GF_SampleToChunkBox *the_stsc, GF_Box **the_stco, u64 data_offset, u8 forceNewChunk); u64 3337 include/gpac/internal/isomedia_dev.h GF_EdtsEntry *CreateEditEntry(u64 EditDuration, u64 MediaTime, u8 EditMode); u64 3366 include/gpac/internal/isomedia_dev.h GF_Err GetNextMediaTime(GF_TrackBox *trak, u64 movieTime, u64 *OutMovieTime); u64 3367 include/gpac/internal/isomedia_dev.h GF_Err GetPrevMediaTime(GF_TrackBox *trak, u64 movieTime, u64 *OutMovieTime); u64 3410 include/gpac/internal/isomedia_dev.h void gf_isom_cenc_merge_saiz_saio(GF_SampleEncryptionBox *senc, GF_SampleTableBox *stbl, u64 offset, u32 len); u64 3546 include/gpac/internal/isomedia_dev.h u64 TransmissionTime; u64 3695 include/gpac/internal/isomedia_dev.h GF_List *gf_webvtt_parse_cues_from_data(const char *data, u32 dataLength, u64 start); u64 73 include/gpac/internal/m3u8.h u64 byte_range_start, byte_range_end; u64 82 include/gpac/internal/m3u8.h u64 init_byte_range_start, init_byte_range_end; u64 83 include/gpac/internal/m3u8.h u64 utc_start_time; u64 291 include/gpac/internal/media_dev.h u64 general_reserved_44bits; u64 524 include/gpac/internal/media_dev.h GF_Err gf_media_mpd_format_segment_name(GF_DashTemplateSegmentType seg_type, Bool is_bs_switching, char *segment_name, const char *output_file_name, const char *rep_id, const char *base_url, const char *seg_rad_name, const char *seg_ext, u64 start_time, u32 bandwidth, u32 segment_number, Bool use_segment_timeline); u64 537 include/gpac/internal/media_dev.h u64 gf_webvtt_parser_last_duration(GF_WebVTTParser *parser); u64 541 include/gpac/internal/media_dev.h u64 gf_webvtt_sample_get_start(GF_WebVTTSample * samp); u64 76 include/gpac/internal/mpd.h u64 start_time; u64 89 include/gpac/internal/mpd.h u64 start_range, end_range; u64 123 include/gpac/internal/mpd.h u64 presentation_time_offset; \ u64 140 include/gpac/internal/mpd.h u64 duration; \ u64 156 include/gpac/internal/mpd.h u64 duration; u64 160 include/gpac/internal/mpd.h u64 hls_utc_start_time; u64 235 include/gpac/internal/mpd.h u64 init_start_range, init_end_range; u64 317 include/gpac/internal/mpd.h u64 start; /* expressed in ms, relative to the start of the MPD */ u64 318 include/gpac/internal/mpd.h u64 duration; /* expressed in ms*/ u64 353 include/gpac/internal/mpd.h u64 availabilityStartTime; /* expressed in milliseconds */ /*MANDATORY if type=dynamic*/ u64 354 include/gpac/internal/mpd.h u64 availabilityEndTime;/* expressed in milliseconds */ u64 355 include/gpac/internal/mpd.h u64 publishTime;/* expressed in milliseconds */ u64 356 include/gpac/internal/mpd.h u64 media_presentation_duration; /* expressed in milliseconds */ /*MANDATORY if type=static*/ u64 411 include/gpac/internal/mpd.h GF_Err gf_m3u8_solve_representation_xlink(GF_MPD_Representation *rep, GF_FileDownload *getter, Bool *is_static, u64 *duration); u64 440 include/gpac/internal/mpd.h char **out_url, u64 *out_range_start, u64 *out_range_end, u64 *segment_duration, Bool *is_in_base_url, char **out_key_url, bin128 *key_iv); u64 446 include/gpac/internal/mpd.h void gf_mpd_resolve_segment_duration(GF_MPD_Representation *rep, GF_MPD_AdaptationSet *set, GF_MPD_Period *period, u64 *out_duration, u32 *out_timescale, u64 *out_pts_offset, GF_MPD_SegmentTimeline **out_segment_timeline); u64 451 include/gpac/internal/mpd.h u64 *out_segment_start_time, u64 *out_opt_segment_duration, u32 *out_opt_scale); u64 474 include/gpac/internal/mpd.h void gf_mpd_resolve_segment_duration(GF_MPD_Representation *rep, GF_MPD_AdaptationSet *set, GF_MPD_Period *period, u64 *out_duration, u32 *out_timescale, u64 *out_pts_offset, GF_MPD_SegmentTimeline **out_segment_timeline); u64 37 include/gpac/internal/odf_parse_common.h #define GET_U64(field) { u64 d; if (strstr(val, "0x")) { ret += sscanf(val, LLX, &d); if (ret) field = d; } else { ret += sscanf(val, LLU, &d); if (ret) field = d; } } u64 139 include/gpac/internal/scenegraph_dev.h u64 __reserved_null; u64 191 include/gpac/internal/swf_dev.h GF_Err (*add_sample)(void *user, const char *data, u32 length, u64 timestamp, Bool isRap); u64 207 include/gpac/internal/swf_dev.h GF_Err swf_svg_write_text_sample(void *user, const char *data, u32 length, u64 timestamp, Bool isRap); u64 217 include/gpac/internal/swf_dev.h GF_Err (*add_sample)(void *user, const char *data, u32 length, u64 timestamp, Bool isRap), u64 184 include/gpac/internal/terminal_dev.h u64 duration; u64 586 include/gpac/internal/terminal_dev.h u64 ts_shift; u64 723 include/gpac/internal/terminal_dev.h u64 seed_ts; u64 727 include/gpac/internal/terminal_dev.h u64 ts_res; u64 764 include/gpac/internal/terminal_dev.h u64 last_pcr; u64 767 include/gpac/internal/terminal_dev.h u64 net_dts, net_cts, sender_ntp; u64 774 include/gpac/internal/terminal_dev.h u64 ts_shift; u64 914 include/gpac/internal/terminal_dev.h u64 total_dec_time, total_iframes_time; u64 1059 include/gpac/internal/terminal_dev.h u64 duration; u64 1064 include/gpac/internal/terminal_dev.h u64 media_start_time; u64 1112 include/gpac/internal/terminal_dev.h void gf_odm_set_duration(GF_ObjectManager *odm, GF_Channel *, u64 stream_duration); u64 1232 include/gpac/internal/terminal_dev.h void gf_term_service_media_event_with_download(GF_ObjectManager *odm, GF_EventType event_type, u64 loaded_size, u64 total_size, u32 bytes_per_sec); u64 1247 include/gpac/internal/terminal_dev.h s64 gf_scene_adjust_timestamp_for_addon(GF_AddonMedia *addon, u64 orig_ts); u64 1250 include/gpac/internal/terminal_dev.h Bool gf_scene_check_addon_restart(GF_AddonMedia *addon, u64 cts, u64 dts); u64 1283 include/gpac/internal/terminal_dev.h u64 media_timestamp; u64 1284 include/gpac/internal/terminal_dev.h u64 media_pts; u64 1288 include/gpac/internal/terminal_dev.h u64 past_media_timestamp; u64 1289 include/gpac/internal/terminal_dev.h u64 past_media_pts, past_media_pts_scaled; u64 40 include/gpac/internal/vobsub.h u64 filepos; u64 41 include/gpac/internal/vobsub.h u64 start; u64 42 include/gpac/internal/vobsub.h u64 stop; u64 77 include/gpac/internal/vobsub.h GF_Err vobsub_packetize_subpicture(FILE *fsub, u64 pts, char *data, u32 dataSize); u64 149 include/gpac/ismacryp.h GF_Err gf_ismacryp_encrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 152 include/gpac/ismacryp.h GF_Err gf_ismacryp_decrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 156 include/gpac/ismacryp.h GF_Err gf_cenc_encrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 157 include/gpac/ismacryp.h GF_Err gf_cenc_decrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 159 include/gpac/ismacryp.h GF_Err gf_cbc_encrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 160 include/gpac/ismacryp.h GF_Err gf_cbc_decrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 163 include/gpac/ismacryp.h GF_Err gf_adobe_encrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 164 include/gpac/ismacryp.h GF_Err gf_adobe_decrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 430 include/gpac/isomedia.h u64 DTS; u64 478 include/gpac/isomedia.h u64 gf_isom_get_file_size(GF_ISOFile *the_file); u64 503 include/gpac/isomedia.h GF_Err gf_isom_open_progressive(const char *fileName, u64 start_range, u64 end_range, GF_ISOFile **the_file, u64 *BytesMissing); u64 507 include/gpac/isomedia.h u64 gf_isom_get_missing_bytes(GF_ISOFile *the_file, u32 trackNumber); u64 527 include/gpac/isomedia.h GF_Err gf_isom_refresh_fragmented(GF_ISOFile *the_file, u64 *MissingBytes, const char *new_location); u64 540 include/gpac/isomedia.h u32 gf_isom_segment_get_track_fragment_decode_time(GF_ISOFile *file, u32 moof_index, u32 traf_index, u64 *decode_time); u64 557 include/gpac/isomedia.h u64 gf_isom_get_duration(GF_ISOFile *the_file); u64 560 include/gpac/isomedia.h u64 gf_isom_get_original_duration(GF_ISOFile *movie); u64 563 include/gpac/isomedia.h GF_Err gf_isom_get_creation_time(GF_ISOFile *the_file, u64 *creationTime, u64 *modificationTime); u64 581 include/gpac/isomedia.h u64 gf_isom_get_track_duration(GF_ISOFile *the_file, u32 trackNumber); u64 595 include/gpac/isomedia.h GF_Err gf_isom_get_media_time(GF_ISOFile *the_file, u32 trackNumber, u32 movieTime, u64 *MediaTime); u64 602 include/gpac/isomedia.h u32 gf_isom_get_sample_description_index(GF_ISOFile *the_file, u32 trackNumber, u64 for_time); u64 609 include/gpac/isomedia.h u64 gf_isom_get_media_duration(GF_ISOFile *the_file, u32 trackNumber); u64 612 include/gpac/isomedia.h u64 gf_isom_get_media_original_duration(GF_ISOFile *movie, u32 trackNumber); u64 639 include/gpac/isomedia.h u64 gf_isom_get_media_data_size(GF_ISOFile *the_file, u32 trackNumber); u64 658 include/gpac/isomedia.h GF_ISOSample *gf_isom_get_sample_info(GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u32 *StreamDescriptionIndex, u64 *data_offset); u64 661 include/gpac/isomedia.h u64 gf_isom_get_sample_dts(GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber); u64 680 include/gpac/isomedia.h GF_Err gf_isom_get_sample_for_media_time(GF_ISOFile *the_file, u32 trackNumber, u64 desiredTime, u32 *StreamDescriptionIndex, u8 SearchMode, GF_ISOSample **sample, u32 *SampleNum); u64 683 include/gpac/isomedia.h u32 gf_isom_get_sample_from_dts(GF_ISOFile *the_file, u32 trackNumber, u64 dts); u64 686 include/gpac/isomedia.h u64 gf_isom_get_current_tfdt(GF_ISOFile *the_file, u32 trackNumber); u64 707 include/gpac/isomedia.h GF_Err gf_isom_get_sample_for_movie_time(GF_ISOFile *the_file, u32 trackNumber, u64 movieTime, u32 *StreamDescriptionIndex, u8 SearchMode, GF_ISOSample **sample, u32 *sampleNumber); u64 716 include/gpac/isomedia.h GF_Err gf_isom_get_edit_segment(GF_ISOFile *the_file, u32 trackNumber, u32 SegmentIndex, u64 *EditTime, u64 *SegmentDuration, u64 *MediaTime, u8 *EditMode); u64 731 include/gpac/isomedia.h GF_Err gf_isom_get_chapter(GF_ISOFile *the_file, u32 trackNumber, u32 Index, u64 *chapter_time, const char **name); u64 763 include/gpac/isomedia.h u64 gf_isom_estimate_size(GF_ISOFile *the_file); u64 963 include/gpac/isomedia.h Bool gf_isom_get_last_producer_time_box(GF_ISOFile *file, u32 *refTrackID, u64 *ntp, u64 *timestamp, Bool reset_info); u64 988 include/gpac/isomedia.h GF_Err gf_isom_set_creation_time(GF_ISOFile *movie, u64 time); u64 990 include/gpac/isomedia.h GF_Err gf_isom_set_track_creation_time(GF_ISOFile *movie,u32 trackNumber, u64 time); u64 1023 include/gpac/isomedia.h GF_Err gf_isom_add_sample_reference(GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex, GF_ISOSample *sample, u64 dataOffset); u64 1054 include/gpac/isomedia.h GF_Err gf_isom_update_sample_reference(GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, GF_ISOSample *sample, u64 data_offset); u64 1106 include/gpac/isomedia.h GF_Err gf_isom_add_chapter(GF_ISOFile *the_file, u32 trackNumber, u64 timestamp, char *name); u64 1126 include/gpac/isomedia.h GF_Err gf_isom_set_edit_segment(GF_ISOFile *the_file, u32 trackNumber, u64 EditTime, u64 EditDuration, u64 MediaTime, u8 EditMode); u64 1129 include/gpac/isomedia.h GF_Err gf_isom_modify_edit_segment(GF_ISOFile *the_file, u32 trackNumber, u32 seg_index, u64 EditDuration, u64 MediaTime, u8 EditMode); u64 1131 include/gpac/isomedia.h GF_Err gf_isom_append_edit_segment(GF_ISOFile *the_file, u32 trackNumber, u64 EditDuration, u64 MediaTime, u8 EditMode); u64 1340 include/gpac/isomedia.h GF_Err gf_isom_reset_data_offset(GF_ISOFile *movie, u64 *top_box_start); u64 1358 include/gpac/isomedia.h GF_Err gf_isom_open_segment(GF_ISOFile *movie, const char *fileName, u64 start_range, u64 end_range, u32 flags); u64 1429 include/gpac/isomedia.h GF_Err gf_isom_set_movie_duration(GF_ISOFile *movie, u64 duration); u64 1439 include/gpac/isomedia.h GF_Err gf_isom_set_traf_base_media_decode_time(GF_ISOFile *movie, u32 TrackID, u64 decode_time); u64 1442 include/gpac/isomedia.h GF_Err gf_isom_set_traf_mss_timeext(GF_ISOFile *movie, u32 reference_track_ID, u64 ntp_in_10mhz, u64 traf_duration_in_10mhz); u64 1446 include/gpac/isomedia.h GF_Err gf_isom_close_segment(GF_ISOFile *movie, s32 subsegs_per_sidx, u32 referenceTrackID, u64 ref_track_decode_time, s32 timestamp_shift, u64 ref_track_next_cts, Bool daisy_chain_sidx, Bool last_segment, u32 segment_marker_4cc, u64 *index_start_range, u64 *index_end_range); u64 1452 include/gpac/isomedia.h GF_Err gf_isom_set_fragment_reference_time(GF_ISOFile *movie, u32 reference_track_ID, u64 ntp, u64 timestamp); u64 1510 include/gpac/isomedia.h u64 gf_isom_get_fragmented_duration(GF_ISOFile *movie); u64 1514 include/gpac/isomedia.h GF_Err gf_isom_get_fragmented_samples_info(GF_ISOFile *movie, u32 trackID, u32 *nb_samples, u64 *duration); u64 2107 include/gpac/isomedia.h u64 IV; u64 2144 include/gpac/isomedia.h const char **outContentID, const char **outRightsIssuerURL, const char **outTextualHeaders, u32 *outTextualHeadersLen, u64 *outPlaintextLength, u32 *outEncryptionType, Bool *outSelectiveEncryption, u32 *outIVLength, u32 *outKeyIndicationLength); u64 2194 include/gpac/isomedia.h char *contentID, char *kms_URI, u32 encryption_type, u64 plainTextLength, char *textual_headers, u32 textual_headers_len, u64 2365 include/gpac/isomedia.h GF_Err gf_isom_meta_add_item_ref(GF_ISOFile *file, Bool root_meta, u32 trackID, u32 from_id, u32 to_id, u32 type, u64 *ref_index); u64 342 include/gpac/media_tools.h u64 probe_duration; u64 785 include/gpac/media_tools.h GF_Err gf_dasher_set_initial_isobmf(GF_DASHSegmenter *dasher, u32 initial_moof_sn, u64 initial_tfdt); u64 853 include/gpac/media_tools.h u32 gf_dasher_next_update_time(GF_DASHSegmenter *dasher, u64 *ms_ins_session); u64 861 include/gpac/media_tools.h void gf_dasher_set_start_date(GF_DASHSegmenter *dasher, u64 dash_utc_start_date); u64 112 include/gpac/modules/ipmp.h u64 isma_BSO; u64 289 include/gpac/modules/service.h u64 timestamp; u64 463 include/gpac/modules/service.h u64 start_range, end_range; u64 472 include/gpac/modules/service.h u64 switch_start_range, switch_end_range; u64 597 include/gpac/modules/service.h u64 media_timestamp; u64 599 include/gpac/modules/service.h u64 media_pts; u64 603 include/gpac/modules/service.h u64 ntp; u64 963 include/gpac/mpeg4_odf.h u64 constraint_indicator_flags; u64 1907 include/gpac/mpeg4_odf.h u64 startDTS; u64 1909 include/gpac/mpeg4_odf.h u64 expireDTS; u64 532 include/gpac/mpegts.h u64 media_timestamp; u64 533 include/gpac/mpegts.h u64 pes_pts; u64 537 include/gpac/mpegts.h u64 ntp; u64 559 include/gpac/mpegts.h u64 first_dts; u64 562 include/gpac/mpegts.h u64 last_pcr_value; u64 566 include/gpac/mpegts.h u64 before_last_pcr_value; u64 626 include/gpac/mpegts.h u64 first_dts; \ u64 640 include/gpac/mpegts.h u64 PTS, DTS; u64 711 include/gpac/mpegts.h u64 PTS, DTS; u64 721 include/gpac/mpegts.h u64 last_pcr_value; u64 725 include/gpac/mpegts.h u64 before_last_pcr_value; u64 740 include/gpac/mpegts.h u64 prev_PTS; u64 870 include/gpac/mpegts.h u64 PTS, DTS; u64 910 include/gpac/mpegts.h u64 file_size; u64 911 include/gpac/mpegts.h u64 pos_in_stream; u64 984 include/gpac/mpegts.h u64 first_pcr_found; u64 986 include/gpac/mpegts.h u64 nb_pck_at_pcr; u64 1032 include/gpac/mpegts.h u64 PCR_base, PCR_ext; u64 1035 include/gpac/mpegts.h u64 OPCR_base, OPCR_ext; u64 1064 include/gpac/mpegts.h GF_Err gf_m2ts_demux_file(GF_M2TS_Demuxer *ts, const char *fileName, u64 start_byterange, u64 end_byterange, u32 refresh_type, Bool signal_end_of_stream); u64 1115 include/gpac/mpegts.h u64 cts, dts; u64 1173 include/gpac/mpegts.h u64 next_pck_cts, next_pck_dts; u64 1188 include/gpac/mpegts.h u64 last_br_time; u64 1190 include/gpac/mpegts.h u64 last_dts; u64 1228 include/gpac/mpegts.h u64 pcr_init_time, num_pck_at_pcr_init; u64 1229 include/gpac/mpegts.h u64 last_pcr; u64 1230 include/gpac/mpegts.h u64 last_dts; u64 1232 include/gpac/mpegts.h u64 sys_clock_at_last_pcr; u64 1233 include/gpac/mpegts.h u64 nb_pck_last_pcr; u64 1234 include/gpac/mpegts.h u64 initial_ts; u64 1289 include/gpac/mpegts.h u64 init_pcr_value; u64 1303 include/gpac/mpegts.h u64 init_sys_time; u64 1312 include/gpac/mpegts.h u64 last_br_time_us; u64 1314 include/gpac/mpegts.h u64 tot_pck_sent, tot_pad_sent, tot_pes_pad_bytes; u64 1354 include/gpac/mpegts.h GF_Err gf_m2ts_mux_set_initial_pcr(GF_M2TS_Mux *muxer, u64 init_pcr_value); u64 186 include/gpac/network.h u64 gf_net_get_ntp_ts(); u64 194 include/gpac/network.h s32 gf_net_get_ntp_diff_ms(u64 ntp); u64 139 include/gpac/rtp_streamer.h GF_Err gf_rtp_streamer_send_au(GF_RTPStreamer *rtp, char *data, u32 size, u64 cts, u64 dts, Bool is_rap); u64 141 include/gpac/rtp_streamer.h GF_Err gf_rtp_streamer_send_au_with_sn(GF_RTPStreamer *rtp, char *data, u32 size, u64 cts, u64 dts, Bool is_rap, u32 inc_au_sn); u64 143 include/gpac/rtp_streamer.h GF_Err gf_rtp_streamer_send_data(GF_RTPStreamer *rtp, char *data, u32 size, u32 fullsize, u64 cts, u64 dts, Bool is_rap, Bool au_start, Bool au_end, u32 au_sn, u32 sampleDuration, u32 sampleDescIndex); u64 56 include/gpac/scene_engine.h typedef void (*gf_seng_callback)(void *udta, u16 ESID, char *data, u32 size, u64 ts); u64 78 include/gpac/scene_manager.h u64 timing; u64 105 include/gpac/scene_manager.h u64 last_au_time; u64 114 include/gpac/scene_manager.h u64 imp_exp_time; u64 157 include/gpac/scene_manager.h GF_AUContext *gf_sm_stream_au_new(GF_StreamContext *stream, u64 timing, Double time_ms, Bool isRap); u64 301 include/gpac/scenegraph_svg.h u64 loaded_size, total_size; u64 399 include/gpac/scenegraph_svg.h u64 js_fun_val;\ u64 357 include/gpac/setup.h u64 gf_memory_size(); /*gets memory allocated in bytes*/ u64 387 include/gpac/setup.h #define PTR_TO_U_CAST (u64) u64 411 include/gpac/setup.h #define PTR_TO_U_CAST (u64) u64 422 include/gpac/setup.h #define PTR_TO_U_CAST (u64) u64 73 include/gpac/sync_layer.h u64 startDTS; u64 74 include/gpac/sync_layer.h u64 startCTS; u64 109 include/gpac/sync_layer.h u64 objectClockReference; u64 111 include/gpac/sync_layer.h u64 decodingTimeStamp; u64 112 include/gpac/sync_layer.h u64 compositionTimeStamp; u64 125 include/gpac/sync_layer.h u64 isma_BSO; u64 142 include/gpac/sync_layer.h u64 sender_ntp; u64 135 include/gpac/term_info.h u64 total_dec_time, irap_total_dec_time; u64 82 include/gpac/terminal.h u32 gf_term_play_from_time(GF_Terminal *term, u64 from_time, u32 pause_at_first_frame); u64 87 include/gpac/terminal.h void gf_term_connect_from_time(GF_Terminal *term, const char *URL, u64 time_in_ms, u32 pause_at_first_frame); u64 155 include/gpac/tools.h u64 gf_ftell(FILE *f); u64 166 include/gpac/tools.h u64 gf_fseek(FILE *f, s64 pos, s32 whence); u64 564 include/gpac/tools.h u64 size; u64 566 include/gpac/tools.h u64 last_modified; u64 629 include/gpac/tools.h u64 gf_file_modification_time(const char *filename); u64 648 include/gpac/tools.h void gf_set_progress(const char *title, u64 done, u64 total); u64 660 include/gpac/tools.h typedef void (*gf_on_progress_cbk)(const void *cbck, const char *title, u64 done, u64 total); u64 781 include/gpac/tools.h u64 gf_sys_clock_high_res(); u64 808 include/gpac/tools.h u64 gf_net_get_utc(); u64 819 include/gpac/tools.h u64 gf_net_parse_date(const char *date); u64 859 include/gpac/tools.h u64 process_memory; u64 861 include/gpac/tools.h u64 physical_memory; u64 863 include/gpac/tools.h u64 physical_memory_avail; u64 865 include/gpac/tools.h u64 gpac_memory; u64 58 include/gpac/webvtt.h u64 gf_webvtt_timestamp_get(GF_WebVTTTimestamp *ts); u64 59 include/gpac/webvtt.h void gf_webvtt_timestamp_set(GF_WebVTTTimestamp *ts, u64 value); u64 96 include/gpac/xml.h typedef void (*gf_xml_sax_progress)(void *cbck, u64 done, u64 tot); u64 78 modules/aac_in/aac_in.c u64 prev_map_time; u64 190 modules/aac_in/aac_in.c u64 start_pos, pos; u64 800 modules/aac_in/aac_in.c u64 pos; u64 172 modules/ac3_in/ac3_in.c u64 pos; u64 526 modules/ac3_in/ac3_in.c u64 pos, start_from; u64 41 modules/ctx_load/ctx_load.c u64 file_size; u64 46 modules/ctx_load/ctx_load.c u64 last_check_size; u64 152 modules/ctx_load/ctx_load.c u64 size; u64 318 modules/ctx_load/ctx_load.c if (!au->timing) au->timing = (u64) (sc->timeScale*au->timing_sec); u64 47 modules/hyb_in/fm_fake_pull.c u64 PTS; u64 192 modules/hyb_in/fm_fake_pull.c u64 delta_pts = (FM_FAKE_PULL_FRAME_DUR*FM_FAKE_PULL_AUDIO_FREQ)/1000; u64 49 modules/hyb_in/fm_fake_push.c u64 PTS; u64 132 modules/hyb_in/fm_fake_push.c u64 delta_pts = (FM_FAKE_PUSH_FRAME_DUR*FM_FAKE_PUSH_AUDIO_FREQ)/1000; u64 220 modules/hyb_in/fm_fake_push.c init_time = (u32)(gf_sys_clock() - ((u64)slh.compositionTimeStamp*1000)/FM_FAKE_PUSH_AUDIO_FREQ - 50/*50ms delay*/); /*pause: won't wait at resume*/ u64 225 modules/hyb_in/fm_fake_push.c time_to_wait = (s32)(init_time + ((u64)slh.compositionTimeStamp*1000)/FM_FAKE_PUSH_AUDIO_FREQ - gf_sys_clock()); u64 49 modules/ismacryp/isma_ea.c u64 last_IV; u64 218 modules/ismacryp/isma_ea.c u64 count; u64 93 modules/isom_in/isom_cache.c u64 DTS, CTS; u64 60 modules/isom_in/isom_in.h u64 missing_bytes, last_size; u64 82 modules/isom_in/isom_in.h u64 last_sender_ntp, cts_for_last_sender_ntp; u64 96 modules/isom_in/isom_in.h u64 duration; u64 112 modules/isom_in/isom_in.h u64 sample_time, start, end; u64 122 modules/isom_in/isom_in.h u64 cache_seed_ts; u64 124 modules/isom_in/isom_in.h u64 prev_dts, max_cts; u64 34 modules/isom_in/load.c u64 prev_start; u64 35 modules/isom_in/load.c u64 start; u64 125 modules/isom_in/read.c u64 dur; u64 142 modules/isom_in/read.c u64 bytesMissing=0; u64 163 modules/isom_in/read.c u64 data_offset; u64 296 modules/isom_in/read.c u64 bytesMissing = 0; u64 398 modules/isom_in/read.c u64 start_range, end_range; u64 1147 modules/isom_in/read.c ch->start = (u64) t; u64 1152 modules/isom_in/read.c ch->end = (u64) t; u64 1157 modules/isom_in/read.c ch->start = (u64) (s64) (com->play.start_range * ch->time_scale); u64 1159 modules/isom_in/read.c ch->end = (u64) (s64) (end * ch->time_scale); u64 51 modules/isom_in/read_ch.c u64 ntp; u64 52 modules/isom_in/read_ch.c u64 timestamp; u64 184 modules/isom_in/read_ch.c u64 bytesMissing=0; u64 219 modules/isom_in/read_ch.c u64 tfdt = gf_isom_get_current_tfdt(read->mov, 1); u64 428 modules/isom_in/read_ch.c if ((ch->dts_offset<0) && (ch->sample->DTS < (u64) -ch->dts_offset)) { u64 499 modules/isom_in/read_ch.c if ((ch->dts_offset<0) && (ch->sample->DTS < (u64) -ch->dts_offset)) //should not happen u64 696 modules/isom_in/read_ch.c ch->sample->DTS = (u64) DTS; u64 143 modules/mp3_in/mp3_in.c u64 pos; u64 582 modules/mp3_in/mp3_in.c u64 pos; u64 205 modules/mpd_in/mpd_in.c u64 pto; u64 217 modules/mpd_in/mpd_in.c dur = (u64) (scale * gf_dash_get_period_duration(mpdin->dash)); u64 224 modules/mpd_in/mpd_in.c start = (u64) (scale * gf_dash_get_period_start(mpdin->dash)); u64 256 modules/mpd_in/mpd_in.c u64 pto = scale*group->pto; u64 653 modules/mpd_in/mpd_in.c GF_Err mpdin_dash_io_set_range(GF_DASHFileIO *dashio, GF_DASHFileIOSession session, u64 start_range, u64 end_range, Bool discontinue_cache) u64 683 modules/mpd_in/mpd_in.c u64 mpdin_dash_io_get_utc_start_time(GF_DASHFileIO *dashio, GF_DASHFileIOSession session) u64 1463 modules/mpd_in/mpd_in.c u64 pto; u64 1491 modules/mpd_in/mpd_in.c u64 p_end = gf_dash_get_period_duration(mpdin->dash); u64 1528 modules/mpd_in/mpd_in.c u64 pto; u64 85 modules/mpegts_in/mpegts_in.c u64 pcr_last; u64 726 modules/mpegts_in/mpegts_in.c u64 pcr = pck->PTS; u64 748 modules/mpegts_in/mpegts_in.c u64 pcr_diff = (pcr - m2ts->pcr_last); u64 969 modules/mpegts_in/mpegts_in.c static GF_Err M2TS_QueryNextFile(void *udta, DASHQueryType query_type, const char **out_url, u64 *out_start_range, u64 *out_end_range, u32 *refresh_type) u64 1042 modules/mpegts_in/mpegts_in.c u64 start_byterange, end_byterange; u64 1156 modules/mpegts_in/mpegts_in.c u64 start_byterange, end_byterange; u64 75 modules/ogg/ogg_in.c u64 file_size; u64 196 modules/ogg/ogg_in.c u64 OGG_GranuleToTime(OGGInfo *cfg, s64 granule) u64 206 modules/ogg/ogg_in.c return (u64) (pframe / cfg->frame_rate); u64 615 modules/ogg/ogg_in.c u64 max_gran; u64 644 modules/ogg/ogg_in.c if ((oggpacket.granulepos>=0) && ((u64) oggpacket.granulepos>max_gran) ) { u64 249 modules/platinum/GPACPlatinum.cpp gf_term_play_from_time(m_pTerm, (u64) (time * 1000), 0); u64 75 modules/redirect_av/ffmpeg_ts_muxer.c u64 audio_pts, video_pts; u64 76 modules/redirect_av/ffmpeg_ts_muxer.c u64 audioSize, videoSize, videoKbps, audioKbps; u64 131 modules/redirect_av/ffmpeg_ts_muxer.c u64 first = video_pts; u64 329 modules/redirect_av/ffmpeg_ts_muxer.c Bool ts_encode_audio_frame(GF_AbstractTSMuxer * ts, uint8_t * data, int encoded, u64 pts) { u64 9 modules/redirect_av/gpac_ts_muxer.c u64 frameTimeSentOverTS; u64 128 modules/redirect_av/redirect_av.c u64 myTime = 0; u64 236 modules/redirect_av/redirect_av.c u64 currentFrameTimeProcessed = 0, lastEncodedFrameTime = 0; u64 132 modules/redirect_av/ts_muxer.h u64 frameTime; u64 133 modules/redirect_av/ts_muxer.h u64 frameTimeEncoded; u64 153 modules/redirect_av/ts_muxer.h Bool ts_encode_audio_frame(GF_AbstractTSMuxer * ts, uint8_t * data, int encoded, u64 pts); u64 839 modules/rtp_in/rtp_in.c out_sl_hdr->compositionTimeStamp = (u64) (ch->current_start * ch->ts_res); u64 268 modules/rtp_in/rtp_in.h u64 ts_offset; u64 123 modules/rtp_in/rtp_stream.c u64 cts, dts; u64 133 modules/saf_in/saf_in.c u64 bs_pos; u64 182 modules/saf_in/saf_in.c u64 avail = gf_bs_available(bs); u64 50 modules/svg_in/svg_in.c u64 size; u64 194 modules/svg_in/svg_in.c u64 pos; u64 58 modules/vtt_in/vtt_dec.c u64 file_size; u64 59 modules/vtt_in/vtt_dec.c u64 file_pos; u64 88 modules/vtt_in/vtt_dec.c u64 size; u64 1576 modules/widgetman/widgetman.c handler->js_fun_val = * (u64 *) & argv[1]; u64 135 src/bifs/arith_decoder.c void gf_bs_rewind_bits(GF_BitStream *bs, u64 nbBits); u64 2779 src/compositor/compositor.c u64 start = gf_sys_clock_high_res(); u64 2780 src/compositor/compositor.c u64 diff=0; u64 2781 src/compositor/compositor.c u64 wait_for = 1000 * (u64) compositor->ms_until_next_frame; u64 164 src/compositor/visual_manager.h #define GF_SHADERID u64 u64 41 src/ietf/rtp_depacketizer.c u64 pay_start, au_size; u64 386 src/ietf/rtp_depacketizer.c u64 offset; u64 480 src/ietf/rtp_depacketizer.c u64 pay_start; u64 414 src/ietf/rtp_packetizer.c void gp_rtp_builder_set_cryp_info(GP_RTPPacketizer *builder, u64 IV, char *key_indicator, Bool is_encrypted) u64 210 src/ietf/rtp_pck_mpeg4.c u64 pos; u64 771 src/ietf/rtp_streamer.c u64 size; u64 803 src/ietf/rtp_streamer.c GF_Err gf_rtp_streamer_send_data(GF_RTPStreamer *rtp, char *data, u32 size, u32 fullsize, u64 cts, u64 dts, Bool is_rap, Bool au_start, Bool au_end, u32 au_sn, u32 sampleDuration, u32 sampleDescIndex) u64 805 src/ietf/rtp_streamer.c rtp->packetizer->sl_header.compositionTimeStamp = (u64) (cts*rtp->ts_scale); u64 806 src/ietf/rtp_streamer.c rtp->packetizer->sl_header.decodingTimeStamp = (u64) (dts*rtp->ts_scale); u64 817 src/ietf/rtp_streamer.c GF_Err gf_rtp_streamer_send_au(GF_RTPStreamer *rtp, char *data, u32 size, u64 cts, u64 dts, Bool is_rap) u64 823 src/ietf/rtp_streamer.c GF_Err gf_rtp_streamer_send_au_with_sn(GF_RTPStreamer *rtp, char *data, u32 size, u64 cts, u64 dts, Bool is_rap, u32 inc_au_sn) u64 731 src/ietf/rtsp_session.c u64 res; u64 86 src/isomedia/avc_ext.c static GF_Err process_extractor(GF_ISOFile *file, GF_MediaBox *mdia, u32 sampleNumber, u64 sampleDTS, u32 nal_size, u16 nal_hdr, u32 nal_unit_size_field, Bool is_hevc, Bool rewrite_ps, Bool rewrite_start_codes, GF_BitStream *src_bs, GF_BitStream *dst_bs, u32 extractor_mode) u64 2228 src/isomedia/avc_ext.c u64 pos; u64 54 src/isomedia/box_code_base.c ptr->offsets = (u64 *) gf_malloc(ptr->nb_entries * sizeof(u64) ); u64 3933 src/isomedia/box_code_base.c u64 pos; u64 4511 src/isomedia/box_code_base.c ptr->fragment_duration = (u64) gf_bs_read_u32(bs); u64 4651 src/isomedia/box_code_base.c if (ptr->duration==(u64) -1) ptr->version = 0; u64 6450 src/isomedia/box_code_base.c if (ptr->duration==(u64) -1) ptr->version = 0; u64 6851 src/isomedia/box_code_base.c u64 pos = gf_bs_get_position(bs); u64 6889 src/isomedia/box_code_base.c u64 pos = gf_bs_get_position(bs); u64 6932 src/isomedia/box_code_base.c u64 pos = gf_bs_get_position(bs); u64 9064 src/isomedia/box_code_base.c ptr->pcr_values = gf_malloc(sizeof(u64)*ptr->subsegment_count); u64 9066 src/isomedia/box_code_base.c u64 data1 = gf_bs_read_u32(bs); u64 9067 src/isomedia/box_code_base.c u64 data2 = gf_bs_read_u16(bs); u64 9545 src/isomedia/box_code_base.c u64 start = gf_bs_get_position(bs); u64 9894 src/isomedia/box_code_base.c ptr->offsets_large = gf_malloc(sizeof(u64)*ptr->entry_count); u64 1146 src/isomedia/box_code_drm.c u64 pos, new_pos; u64 1167 src/isomedia/box_code_drm.c u64 old_offset = ptr->cenc_saio->offsets_large[0]; u64 1316 src/isomedia/box_code_drm.c u64 pos = gf_bs_get_position(bs); u64 119 src/isomedia/box_code_meta.c u64 pos = gf_bs_get_position(bs); u64 120 src/isomedia/box_code_meta.c u64 size = s->size; u64 417 src/isomedia/box_dump.c static char *format_duration(u64 dur, u32 timescale, char *szDur) u64 2589 src/isomedia/box_dump.c static char *tx3g_format_time(u64 ts, u32 timescale, char *szDur, Bool is_srt) u64 2608 src/isomedia/box_dump.c u64 last_DTS; u64 2944 src/isomedia/box_dump.c u64 start, end; u64 3107 src/isomedia/box_dump.c u64 start, end; u64 37 src/isomedia/box_funcs.c GF_Err gf_isom_parse_root_box(GF_Box **outBox, GF_BitStream *bs, u64 *bytesExpected, Bool progressive_mode) u64 40 src/isomedia/box_funcs.c u64 start; u64 91 src/isomedia/box_funcs.c u64 size, start, end; u64 105 src/isomedia/box_funcs.c size = (u64) gf_bs_read_u32(bs); u64 259 src/isomedia/box_funcs.c u64 start; u64 268 src/isomedia/data_map.c u32 gf_isom_datamap_get_data(GF_DataMap *map, char *buffer, u32 bufferLength, u64 Offset) u64 296 src/isomedia/data_map.c u64 FDM_GetTotalOffset(GF_FileDataMap *ptr); u64 299 src/isomedia/data_map.c u64 gf_isom_datamap_get_offset(GF_DataMap *map) u64 465 src/isomedia/data_map.c u32 gf_isom_fdm_get_data(GF_FileDataMap *ptr, char *buffer, u32 bufferLength, u64 fileOffset) u64 504 src/isomedia/data_map.c u64 FDM_GetTotalOffset(GF_FileDataMap *ptr) u64 518 src/isomedia/data_map.c u64 orig; u64 636 src/isomedia/data_map.c u32 gf_isom_fmo_get_data(GF_FileMappingDataMap *ptr, char *buffer, u32 bufferLength, u64 fileOffset) u64 654 src/isomedia/data_map.c u32 gf_isom_fmo_get_data(GF_FileMappingDataMap *ptr, char *buffer, u32 bufferLength, u64 fileOffset) u64 277 src/isomedia/drm_sample.c const char **outContentID, const char **outRightsIssuerURL, const char **outTextualHeaders, u32 *outTextualHeadersLen, u64 *outPlaintextLength, u32 *outEncryptionType, Bool *outSelectiveEncryption, u32 *outIVLength, u32 *outKeyIndicationLength) u64 495 src/isomedia/drm_sample.c char *contentID, char *kms_URI, u32 encryption_type, u64 plainTextLength, char *textual_headers, u32 textual_headers_len, u64 935 src/isomedia/drm_sample.c void gf_isom_cenc_merge_saiz_saio(GF_SampleEncryptionBox *senc, GF_SampleTableBox *stbl, u64 offset, u32 len) u64 971 src/isomedia/drm_sample.c senc->cenc_saio->offsets_large = (u64 *)gf_malloc(sizeof(u64)); u64 975 src/isomedia/drm_sample.c senc->cenc_saio->offsets_large = (u64*)gf_realloc(senc->cenc_saio->offsets_large, sizeof(u64)*(senc->cenc_saio->entry_count+1)); u64 1096 src/isomedia/drm_sample.c u64 cur_position, offset; u64 171 src/isomedia/hinting.c u64 sizeIn, sizeOut; u64 34 src/isomedia/isom_intern.c GF_Err gf_isom_parse_root_box(GF_Box **outBox, GF_BitStream *bs, u64 *bytesExpected, Bool progressive_mode); u64 37 src/isomedia/isom_intern.c GF_Err MergeTrack(GF_TrackBox *trak, GF_TrackFragmentBox *traf, u64 moof_offset, Bool is_first_merge); u64 43 src/isomedia/isom_intern.c u64 MaxDur; u64 179 src/isomedia/isom_intern.c GF_Err gf_isom_parse_movie_boxes(GF_ISOFile *mov, u64 *bytesMissing, Bool progressive_mode) u64 182 src/isomedia/isom_intern.c u64 totSize; u64 530 src/isomedia/isom_intern.c u64 bytes; u64 621 src/isomedia/isom_intern.c u64 gf_isom_get_mp4time() u64 624 src/isomedia/isom_intern.c u64 ret; u64 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) u64 701 src/isomedia/isom_intern.c u64 firstDTS; u64 705 src/isomedia/isom_intern.c u64 time, lastSampleTime; u64 753 src/isomedia/isom_intern.c if (next_edit_start_plus_one) *next_edit_start_plus_one = 1 + (u64) ((time + ent->segmentDuration) * scale_ts); u64 768 src/isomedia/isom_intern.c u64 dur = (u64) (ent->segmentDuration * scale_ts); u64 811 src/isomedia/isom_intern.c *MediaTime = (u64) mtime; u64 856 src/isomedia/isom_intern.c GF_Err GetNextMediaTime(GF_TrackBox *trak, u64 movieTime, u64 *OutMovieTime) u64 859 src/isomedia/isom_intern.c u64 time; u64 884 src/isomedia/isom_intern.c GF_Err GetPrevMediaTime(GF_TrackBox *trak, u64 movieTime, u64 *OutMovieTime) u64 887 src/isomedia/isom_intern.c u64 time; u64 919 src/isomedia/isom_intern.c u64 now; u64 992 src/isomedia/isom_intern.c GF_EdtsEntry *CreateEditEntry(u64 EditDuration, u64 MediaTime, u8 EditMode) u64 60 src/isomedia/isom_read.c u64 gf_isom_get_file_size(GF_ISOFile *the_file) u64 160 src/isomedia/isom_read.c u64 tfdt = 0; u64 339 src/isomedia/isom_read.c GF_Err gf_isom_open_progressive(const char *fileName, u64 start_range, u64 end_range, GF_ISOFile **the_file, u64 *BytesMissing) u64 716 src/isomedia/isom_read.c u32 gf_isom_segment_get_track_fragment_decode_time(GF_ISOFile *file, u32 moof_index, u32 traf_index, u64 *decode_time) u64 746 src/isomedia/isom_read.c u64 gf_isom_get_duration(GF_ISOFile *movie) u64 761 src/isomedia/isom_read.c u64 gf_isom_get_original_duration(GF_ISOFile *movie) u64 769 src/isomedia/isom_read.c GF_Err gf_isom_get_creation_time(GF_ISOFile *movie, u64 *creationTime, u64 *modificationTime) u64 830 src/isomedia/isom_read.c u64 gf_isom_get_track_duration(GF_ISOFile *movie, u32 trackNumber) u64 1038 src/isomedia/isom_read.c GF_Err gf_isom_get_media_time(GF_ISOFile *the_file, u32 trackNumber, u32 movieTime, u64 *MediaTime) u64 1054 src/isomedia/isom_read.c u32 gf_isom_get_sample_description_index(GF_ISOFile *movie, u32 trackNumber, u64 for_time) u64 1118 src/isomedia/isom_read.c u64 gf_isom_get_media_duration(GF_ISOFile *movie, u32 trackNumber) u64 1140 src/isomedia/isom_read.c u64 gf_isom_get_media_original_duration(GF_ISOFile *movie, u32 trackNumber) u64 1237 src/isomedia/isom_read.c GF_Err gf_isom_get_chapter(GF_ISOFile *movie, u32 trackNumber, u32 Index, u64 *chapter_time, const char **name) u64 1557 src/isomedia/isom_read.c u64 dts; u64 1604 src/isomedia/isom_read.c GF_ISOSample *gf_isom_get_sample_info(GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u32 *sampleDescriptionIndex, u64 *data_offset) u64 1633 src/isomedia/isom_read.c u64 gf_isom_get_sample_dts(GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber) u64 1635 src/isomedia/isom_read.c u64 dts; u64 1660 src/isomedia/isom_read.c u32 gf_isom_get_sample_from_dts(GF_ISOFile *the_file, u32 trackNumber, u64 dts) u64 1684 src/isomedia/isom_read.c GF_Err gf_isom_get_sample_for_media_time(GF_ISOFile *the_file, u32 trackNumber, u64 desiredTime, u32 *StreamDescriptionIndex, u8 SearchMode, GF_ISOSample **sample, u32 *SampleNum) u64 1842 src/isomedia/isom_read.c GF_Err gf_isom_get_sample_for_movie_time(GF_ISOFile *the_file, u32 trackNumber, u64 movieTime, u32 *StreamDescriptionIndex, u8 SearchMode, GF_ISOSample **sample, u32 *sampleNumber) u64 1847 src/isomedia/isom_read.c u64 mediaTime, nextMediaTime; u64 1938 src/isomedia/isom_read.c u64 _ts = (u64)(segStartTime * tsscale); u64 1942 src/isomedia/isom_read.c if ( (*sample)->DTS > (u64) mediaOffset) { u64 1943 src/isomedia/isom_read.c (*sample)->DTS -= (u64) mediaOffset; u64 1959 src/isomedia/isom_read.c u64 gf_isom_get_missing_bytes(GF_ISOFile *the_file, u32 trackNumber) u64 2028 src/isomedia/isom_read.c GF_Err gf_isom_get_edit_segment(GF_ISOFile *the_file, u32 trackNumber, u32 SegmentIndex, u64 *EditTime, u64 *SegmentDuration, u64 *MediaTime, u8 *EditMode) u64 2031 src/isomedia/isom_read.c u64 startTime; u64 2335 src/isomedia/isom_read.c u64 davg, savg; u64 2361 src/isomedia/isom_read.c u64 dts; u64 2536 src/isomedia/isom_read.c GF_Err gf_isom_refresh_fragmented(GF_ISOFile *movie, u64 *MissingBytes, const char *new_location) u64 2541 src/isomedia/isom_read.c u64 prevsize, size; u64 2594 src/isomedia/isom_read.c GF_Err gf_isom_reset_data_offset(GF_ISOFile *movie, u64 *top_box_start) u64 2627 src/isomedia/isom_read.c u64 dts; u64 2716 src/isomedia/isom_read.c u64 dts; u64 2799 src/isomedia/isom_read.c GF_Err gf_isom_open_segment(GF_ISOFile *movie, const char *fileName, u64 start_range, u64 end_range, u32 flags) u64 2804 src/isomedia/isom_read.c u64 MissingBytes; u64 3177 src/isomedia/isom_read.c u64 gf_isom_get_media_data_size(GF_ISOFile *movie, u32 trackNumber) u64 3736 src/isomedia/isom_read.c u64 gf_isom_get_fragmented_duration(GF_ISOFile *movie) u64 3763 src/isomedia/isom_read.c GF_Err gf_isom_get_fragmented_samples_info(GF_ISOFile *movie, u32 trackID, u32 *nb_samples, u64 *duration) u64 3767 src/isomedia/isom_read.c u64 def_duration, samp_dur; u64 3924 src/isomedia/isom_read.c u64 offset; u64 4064 src/isomedia/isom_read.c Bool gf_isom_get_last_producer_time_box(GF_ISOFile *file, u32 *refTrackID, u64 *ntp, u64 *timestamp, Bool reset_info) u64 4085 src/isomedia/isom_read.c u64 gf_isom_get_current_tfdt(GF_ISOFile *the_file, u32 trackNumber) u64 71 src/isomedia/isom_store.c u64 DTSprev; u64 73 src/isomedia/isom_store.c u64 prev_offset; u64 179 src/isomedia/isom_store.c static void ShiftMetaOffset(GF_MetaBox *meta, u64 offset) u64 199 src/isomedia/isom_store.c static GF_Err ShiftOffset(GF_ISOFile *file, GF_List *writers, u64 offset) u64 235 src/isomedia/isom_store.c new_stco64->offsets = (u64 *) gf_malloc(new_stco64->nb_entries * sizeof(u64)); u64 239 src/isomedia/isom_store.c new_stco64->offsets[l] = (u64) stco->offsets[l]; u64 320 src/isomedia/isom_store.c u64 GetMoovAndMetaSize(GF_ISOFile *movie, GF_List *writers) u64 323 src/isomedia/isom_store.c u64 size; u64 343 src/isomedia/isom_store.c u64 msize; u64 353 src/isomedia/isom_store.c GF_Err WriteSample(MovieWriter *mw, u32 size, u64 offset, u8 isEdited, GF_BitStream *bs) u64 387 src/isomedia/isom_store.c GF_Err DoWriteMeta(GF_ISOFile *file, GF_MetaBox *meta, GF_BitStream *bs, Bool Emulation, u64 baseOffset, u64 *mdatSize) u64 390 src/isomedia/isom_store.c u64 maxExtendOffset, maxExtendSize; u64 400 src/isomedia/isom_store.c u64 it_size; u64 452 src/isomedia/isom_store.c u64 remain = entry->extent_length; u64 481 src/isomedia/isom_store.c u64 remain = entry->extent_length; u64 520 src/isomedia/isom_store.c GF_Err DoWrite(MovieWriter *mw, GF_List *writers, GF_BitStream *bs, u8 Emulation, u64 StartOffset) u64 525 src/isomedia/isom_store.c u64 offset, sampOffset, predOffset; u64 528 src/isomedia/isom_store.c u64 size, mdatSize = 0; u64 621 src/isomedia/isom_store.c u64 offset, finalOffset, totSize, begin, firstSize, finalSize; u64 843 src/isomedia/isom_store.c GF_Err DoFullInterleave(MovieWriter *mw, GF_List *writers, GF_BitStream *bs, u8 Emulation, u64 StartOffset) u64 849 src/isomedia/isom_store.c u64 DTS, DTStmp, TStmp; u64 855 src/isomedia/isom_store.c u64 offset, totSize, sampOffset; u64 874 src/isomedia/isom_store.c DTStmp = (u64) -1; u64 965 src/isomedia/isom_store.c GF_Err DoInterleave(MovieWriter *mw, GF_List *writers, GF_BitStream *bs, u8 Emulation, u64 StartOffset, Bool drift_inter) u64 971 src/isomedia/isom_store.c u64 DTS; u64 975 src/isomedia/isom_store.c u64 offset, sampOffset, size, mdatSize; u64 1044 src/isomedia/isom_store.c u64 chunkLastDTS = 0; u64 1077 src/isomedia/isom_store.c || (drift_inter && chunkLastDTS && ( ((u64)tmp->DTSprev*chunkLastScale) > ((u64)chunkLastDTS*tmp->timeScale)) ) u64 1174 src/isomedia/isom_store.c u64 firstSize, finalSize, offset, finalOffset; u64 202 src/isomedia/isom_write.c GF_Err gf_isom_set_creation_time(GF_ISOFile *movie, u64 time) u64 211 src/isomedia/isom_write.c GF_Err gf_isom_set_track_creation_time(GF_ISOFile *movie,u32 trackNumber, u64 time) u64 396 src/isomedia/isom_write.c movie->moov->mvhd->duration = (u64) (s64) ((s64) movie->moov->mvhd->duration * ts_scale); u64 400 src/isomedia/isom_write.c trak->Header->duration = (u64) (s64) ((s64) trak->Header->duration * ts_scale); u64 405 src/isomedia/isom_write.c ent->segmentDuration = (u64) (s64) ((s64) ent->segmentDuration * ts_scale); u64 505 src/isomedia/isom_write.c u64 now; u64 681 src/isomedia/isom_write.c u64 data_offset; u64 753 src/isomedia/isom_write.c u64 data_offset; u64 882 src/isomedia/isom_write.c GF_Err gf_isom_add_sample_reference(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, GF_ISOSample *sample, u64 dataOffset) u64 943 src/isomedia/isom_write.c u64 mdur; u64 1021 src/isomedia/isom_write.c GF_Err gf_isom_update_sample_reference(GF_ISOFile *movie, u32 trackNumber, u32 sampleNumber, GF_ISOSample *sample, u64 data_offset) u64 1451 src/isomedia/isom_write.c GF_Err gf_isom_set_edit_segment(GF_ISOFile *movie, u32 trackNumber, u64 EditTime, u64 EditDuration, u64 MediaTime, u8 EditMode) u64 1459 src/isomedia/isom_write.c u64 startTime; u64 1593 src/isomedia/isom_write.c GF_Err gf_isom_append_edit_segment(GF_ISOFile *movie, u32 trackNumber, u64 EditDuration, u64 MediaTime, u8 EditMode) u64 1636 src/isomedia/isom_write.c GF_Err gf_isom_modify_edit_segment(GF_ISOFile *movie, u32 trackNumber, u32 seg_index, u64 EditDuration, u64 MediaTime, u8 EditMode) u64 1934 src/isomedia/isom_write.c GF_Err gf_isom_add_chapter(GF_ISOFile *movie, u32 trackNumber, u64 timestamp, char *name) u64 2861 src/isomedia/isom_write.c new_tk->Header->duration = (u64) (s64) ((s64) new_tk->Header->duration * ts_scale); u64 2866 src/isomedia/isom_write.c ent->segmentDuration = (u64) (s64) ((s64) ent->segmentDuration * ts_scale); u64 3571 src/isomedia/isom_write.c u64 cur_dts; u64 3572 src/isomedia/isom_write.c u64*DTSs = NULL; u64 3589 src/isomedia/isom_write.c DTSs = (u64*)gf_malloc(sizeof(u64) * (stbl->SampleSize->sampleCount) ); u64 3594 src/isomedia/isom_write.c CTSs = (s64*)gf_malloc(sizeof(u64) * (stbl->SampleSize->sampleCount) ); u64 3600 src/isomedia/isom_write.c DTSs[idx] = (u64) (cur_dts * scale); u64 3862 src/isomedia/isom_write.c u64 gf_isom_estimate_size(GF_ISOFile *movie) u64 3867 src/isomedia/isom_write.c u64 mdat_size; u64 4104 src/isomedia/isom_write.c u64 size; u64 5183 src/isomedia/isom_write.c u64 duration; u64 5253 src/isomedia/isom_write.c u64 dur = trak->Media->mediaHeader->duration; u64 5525 src/isomedia/isom_write.c u64 maxDur; u64 5549 src/isomedia/isom_write.c u64 trackDuration; u64 5573 src/isomedia/isom_write.c u64 editListDuration = 0; u64 5579 src/isomedia/isom_write.c if ((ent->mediaTime>=0) && ((u64) ent->mediaTime>=trak->Media->mediaHeader->duration)) { u64 50 src/isomedia/media.c GF_Err Media_GetSampleDescIndex(GF_MediaBox *mdia, u64 DTS, u32 *sampleDescIndex) u64 54 src/isomedia/media.c u64 offset; u64 347 src/isomedia/media.c GF_Err Media_GetSample(GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample **samp, u32 *sIDX, Bool no_data, u64 *out_offset) u64 352 src/isomedia/media.c u64 offset, new_size; u64 479 src/isomedia/media.c u64 dur; u64 629 src/isomedia/media.c u64 DTS; u64 646 src/isomedia/media.c if (esd && esd->URLString) trak->Media->mediaHeader->duration = (u64) -1; u64 676 src/isomedia/media.c u64 DTSprev; u64 683 src/isomedia/media.c u64 max_ts; u64 784 src/isomedia/media.c GF_Err Media_AddSample(GF_MediaBox *mdia, u64 data_offset, const GF_ISOSample *sample, u32 StreamDescIndex, u32 syncShadowNumber) u64 848 src/isomedia/media.c static GF_Err UpdateSample(GF_MediaBox *mdia, u32 sampleNumber, u32 size, s32 CTS, u64 offset, u8 isRap) u64 890 src/isomedia/media.c u64 newOffset, DTS; u64 932 src/isomedia/media.c GF_Err Media_UpdateSampleReference(GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample *sample, u64 data_offset) u64 936 src/isomedia/media.c u64 off, DTS; u64 268 src/isomedia/meta.c u64 remain; u64 817 src/isomedia/meta.c u64 remain; u64 915 src/isomedia/meta.c GF_Err gf_isom_meta_add_item_ref(GF_ISOFile *file, Bool root_meta, u32 track_num, u32 from_id, u32 to_id, u32 type, u64 *ref_index) u64 70 src/isomedia/movie_fragments.c GF_Err gf_isom_set_movie_duration(GF_ISOFile *movie, u64 duration) u64 716 src/isomedia/movie_fragments.c static u64 moof_get_earliest_cts(GF_MovieFragmentBox *moof, u32 refTrackID) u64 719 src/isomedia/movie_fragments.c u64 cts, duration; u64 747 src/isomedia/movie_fragments.c u64 moof_start, pos; u64 780 src/isomedia/movie_fragments.c u64 pos = gf_bs_get_position(bs); u64 795 src/isomedia/movie_fragments.c u64 offset = movie->segment_start; u64 936 src/isomedia/movie_fragments.c static GF_Err sidx_rewrite(GF_SegmentIndexBox *sidx, GF_BitStream *bs, u64 start_pos) u64 939 src/isomedia/movie_fragments.c u64 pos = gf_bs_get_position(bs); u64 1088 src/isomedia/movie_fragments.c u64 start_offset, end_offset; u64 1091 src/isomedia/movie_fragments.c static u64 get_presentation_time(u64 media_time, s32 ts_shift) u64 1102 src/isomedia/movie_fragments.c GF_Err gf_isom_close_segment(GF_ISOFile *movie, s32 subsegments_per_sidx, u32 referenceTrackID, u64 ref_track_decode_time, s32 ts_shift, u64 ref_track_next_cts, Bool daisy_chain_sidx, Bool last_segment, u32 segment_marker_4cc, u64 *index_start_range, u64 *index_end_range) u64 1107 src/isomedia/movie_fragments.c u64 sidx_start, sidx_end; u64 1111 src/isomedia/movie_fragments.c u64 last_top_box_pos, root_prev_offset, local_sidx_start, local_sidx_end, prev_earliest_cts; u64 1384 src/isomedia/movie_fragments.c u64 first_cts = get_presentation_time( ref_track_decode_time + sidx_dur + cur_dur + moof_get_earliest_cts(movie->moof, referenceTrackID), ts_shift); u64 1427 src/isomedia/movie_fragments.c u64 next_cts; u64 1498 src/isomedia/movie_fragments.c u64 last_entry_end_offset = 0; u64 1601 src/isomedia/movie_fragments.c GF_Err gf_isom_set_fragment_reference_time(GF_ISOFile *movie, u32 reference_track_ID, u64 ntp, u64 timestamp) u64 1611 src/isomedia/movie_fragments.c GF_Err gf_isom_set_traf_mss_timeext(GF_ISOFile *movie, u32 reference_track_ID, u64 ntp_in_track_timescale, u64 traf_duration_in_track_timescale) u64 1703 src/isomedia/movie_fragments.c u64 pos; u64 2103 src/isomedia/movie_fragments.c GF_Err gf_isom_set_traf_base_media_decode_time(GF_ISOFile *movie, u32 TrackID, u64 decode_time) u64 2176 src/isomedia/movie_fragments.c GF_Err gf_isom_set_traf_base_media_decode_time(GF_ISOFile *movie, u32 TrackID, u64 decode_time) u64 2181 src/isomedia/movie_fragments.c GF_Err gf_isom_set_traf_mss_timeext(GF_ISOFile *movie, u32 reference_track_ID, u64 ntp_in_10mhz, u64 traf_duration_in_10mhz) u64 31 src/isomedia/stbl_read.c GF_Err stbl_findEntryForTime(GF_SampleTableBox *stbl, u64 DTS, u8 useCTS, u32 *sampleNumber, u32 *prevSampleNumber) u64 35 src/isomedia/stbl_read.c u64 curDTS; u64 173 src/isomedia/stbl_read.c GF_Err stbl_GetSampleDTS_and_Duration(GF_TimeToSampleBox *stts, u32 SampleNumber, u64 *DTS, u32 *duration) u64 223 src/isomedia/stbl_read.c (*DTS) = stts->r_CurrentDTS + j * (u64) ent->sampleDelta; u64 228 src/isomedia/stbl_read.c GF_Err stbl_GetSampleDTS(GF_TimeToSampleBox *stts, u32 SampleNumber, u64 *DTS) u64 390 src/isomedia/stbl_read.c GF_Err stbl_GetSampleInfos(GF_SampleTableBox *stbl, u32 sampleNumber, u64 *offset, u32 *chunkNumber, u32 *descIndex, u8 *isEdited) u64 412 src/isomedia/stbl_read.c (*offset) = (u64) stco->offsets[sampleNumber - 1]; u64 486 src/isomedia/stbl_read.c (*offset) = (u64) stco->offsets[(*chunkNumber) - 1] + (u64) offsetInChunk; u64 490 src/isomedia/stbl_read.c (*offset) = co64->offsets[(*chunkNumber) - 1] + (u64) offsetInChunk; u64 40 src/isomedia/stbl_write.c GF_Err stbl_AddDTS(GF_SampleTableBox *stbl, u64 DTS, u32 *sampleNumber, u32 LastAUDefDuration) u64 43 src/isomedia/stbl_write.c u64 *DTSs, curDTS; u64 117 src/isomedia/stbl_write.c DTSs = (u64*)gf_malloc(sizeof(u64) * (stbl->SampleSize->sampleCount+2) ); u64 555 src/isomedia/stbl_write.c GF_Err stbl_AddChunkOffset(GF_MediaBox *mdia, u32 sampleNumber, u32 StreamDescIndex, u64 offset) u64 563 src/isomedia/stbl_write.c u64 *newLarge; u64 579 src/isomedia/stbl_write.c co64->offsets = (u64*)gf_malloc(sizeof(u64) * co64->nb_entries); u64 587 src/isomedia/stbl_write.c co64->offsets[i+k] = (u64) stco->offsets[i]; u64 629 src/isomedia/stbl_write.c co64->offsets = (u64*)gf_realloc(co64->offsets, sizeof(u64) * co64->alloc_size); u64 631 src/isomedia/stbl_write.c memset(&co64->offsets[co64->nb_entries], 0, sizeof(u64) * (co64->alloc_size - co64->nb_entries) ); u64 637 src/isomedia/stbl_write.c newLarge = (u64*)gf_malloc(sizeof(u64) * (co64->nb_entries + 1)); u64 697 src/isomedia/stbl_write.c GF_Err stbl_SetChunkOffset(GF_MediaBox *mdia, u32 sampleNumber, u64 offset) u64 719 src/isomedia/stbl_write.c co64->offsets = (u64*)gf_malloc(sizeof(u64)*co64->nb_entries); u64 722 src/isomedia/stbl_write.c co64->offsets[i] = (u64) ((GF_ChunkOffsetBox *)stbl->ChunkOffset)->offsets[i]; u64 857 src/isomedia/stbl_write.c u64 *DTSs, curDTS; u64 878 src/isomedia/stbl_write.c DTSs = (u64*)gf_malloc(sizeof(u64) * (stbl->SampleSize->sampleCount - 1)); u64 880 src/isomedia/stbl_write.c memset(DTSs, 0, sizeof(u64) * (stbl->SampleSize->sampleCount - 1) ); u64 994 src/isomedia/stbl_write.c u64 *Loffsets; u64 1044 src/isomedia/stbl_write.c Loffsets = (u64*)gf_malloc(sizeof(u64) * (stbl->SampleSize->sampleCount)); u64 1431 src/isomedia/stbl_write.c void stbl_AppendChunk(GF_SampleTableBox *stbl, u64 offset) u64 1436 src/isomedia/stbl_write.c u64 *off_64; u64 1446 src/isomedia/stbl_write.c co64->offsets = (u64*)gf_malloc(sizeof(u64) * co64->nb_entries); u64 1467 src/isomedia/stbl_write.c off_64 = (u64*)gf_malloc(sizeof(u64)*(co64->nb_entries+1)); u64 1611 src/isomedia/stbl_write.c u64 dataOffset; u64 1649 src/isomedia/stbl_write.c co64_tmp->offsets = (u64*)gf_malloc(co64_tmp->nb_entries * sizeof(u64)); u64 1713 src/isomedia/stbl_write.c static GFINLINE GF_Err stbl_AddOffset(GF_Box **a, u64 offset) u64 1727 src/isomedia/stbl_write.c co64->offsets = (u64*)gf_malloc(co64->nb_entries * sizeof(u64)); u64 1733 src/isomedia/stbl_write.c co64->offsets[i] = (u64) stco->offsets[i]; u64 1756 src/isomedia/stbl_write.c co64->offsets = (u64*)gf_realloc(co64->offsets, co64->alloc_size * sizeof(u64)); u64 1758 src/isomedia/stbl_write.c memset(&co64->offsets[co64->nb_entries], 0, (co64->alloc_size - co64->nb_entries) * sizeof(u64) ); u64 1770 src/isomedia/stbl_write.c GF_Err stbl_SetChunkAndOffset(GF_SampleTableBox *stbl, u32 sampleNumber, u32 StreamDescIndex, GF_SampleToChunkBox *the_stsc, GF_Box **the_stco, u64 data_offset, u8 forceNewChunk) u64 316 src/isomedia/track.c GF_Err GetESDForTime(GF_MovieBox *moov, u32 trackID, u64 CTS, GF_ESD **outESD) u64 380 src/isomedia/track.c u64 trackDuration; u64 416 src/isomedia/track.c GF_Err MergeTrack(GF_TrackBox *trak, GF_TrackFragmentBox *traf, u64 moof_offset, Bool is_first_merge) u64 419 src/isomedia/track.c u64 base_offset, data_offset; u64 429 src/isomedia/track.c void stbl_AppendChunk(GF_SampleTableBox *stbl, u64 offset); u64 687 src/isomedia/track.c u64 offset; u64 715 src/isomedia/track.c u64 cur_position; u64 164 src/media_tools/ait.c u64 pre_processing_pos; u64 200 src/media_tools/ait.c u64 pre_processing_pos; u64 225 src/media_tools/ait.c u64 pre_processing_pos; u64 303 src/media_tools/ait.c u64 pre_processing_pos; u64 326 src/media_tools/ait.c u64 pre_processing_pos; u64 346 src/media_tools/ait.c u64 pre_processing_pos; u64 280 src/media_tools/av_parsers.c u64 current_object_start; u64 285 src/media_tools/av_parsers.c GF_M4VParser *gf_m4v_parser_new(char *data, u64 data_size, Bool mpeg12video) u64 319 src/media_tools/av_parsers.c u64 end, cache_start, load_size; u64 379 src/media_tools/av_parsers.c static GF_Err M4V_Reset(GF_M4VParser *m4v, u64 start) u64 616 src/media_tools/av_parsers.c static GF_Err gf_m4v_parse_frame_mpeg12(GF_M4VParser *m4v, GF_M4VDecSpecInfo dsi, u8 *frame_type, u32 *time_inc, u64 *size, u64 *start, Bool *is_coded) u64 686 src/media_tools/av_parsers.c static GF_Err gf_m4v_parse_frame_mpeg4(GF_M4VParser *m4v, GF_M4VDecSpecInfo dsi, u8 *frame_type, u32 *time_inc, u64 *size, u64 *start, Bool *is_coded) u64 777 src/media_tools/av_parsers.c GF_Err gf_m4v_parse_frame(GF_M4VParser *m4v, GF_M4VDecSpecInfo dsi, u8 *frame_type, u32 *time_inc, u64 *size, u64 *start, Bool *is_coded) u64 788 src/media_tools/av_parsers.c u64 start, end, size; u64 857 src/media_tools/av_parsers.c u64 gf_m4v_get_object_start(GF_M4VParser *m4v) u64 1969 src/media_tools/av_parsers.c u64 pos = gf_bs_get_position(bs); u64 1991 src/media_tools/av_parsers.c u64 end, cache_start, load_size; u64 1992 src/media_tools/av_parsers.c u64 start = gf_bs_get_position(bs); u64 3115 src/media_tools/av_parsers.c u64 start; u64 3234 src/media_tools/av_parsers.c gf_bs_skip_bytes(bs, (u64) psize); u64 5235 src/media_tools/av_parsers.c u64 pos = gf_bs_get_position(bs); u64 5236 src/media_tools/av_parsers.c u64 end = gf_bs_get_size(bs) - 6; u64 5310 src/media_tools/av_parsers.c u64 pos; u64 5378 src/media_tools/av_parsers.c u64 pos; u64 131 src/media_tools/avilib.c static u64 str2ullong(unsigned char *str) u64 133 src/media_tools/avilib.c u64 r = (str[0] | (str[1]<<8) | (str[2]<<16) | (str[3]<<24)); u64 134 src/media_tools/avilib.c u64 s = (str[4] | (str[5]<<8) | (str[6]<<16) | (str[7]<<24)); u64 305 src/media_tools/avilib.c sil->stdindex[k]->qwBaseOffset = (u64)k * NEW_RIFF_THRES; u64 342 src/media_tools/avilib.c static int avi_add_odml_index_entry_core(avi_t *AVI, int flags, u64 pos, unsigned int len, avistdindex_chunk *si) u64 370 src/media_tools/avilib.c static int avi_add_odml_index_entry(avi_t *AVI, unsigned char *tag, int flags, u64 pos, unsigned int len) u64 549 src/media_tools/avilib.c static int avi_add_index_entry(avi_t *AVI, unsigned char *tag, int flags, u64 pos, u64 len) u64 974 src/media_tools/avilib.c if ( (gf_fseek(AVI->fdes, 0, SEEK_SET) ==(u64)-1) || u64 976 src/media_tools/avilib.c (gf_fseek(AVI->fdes,AVI->pos,SEEK_SET)==(u64)-1) u64 1010 src/media_tools/avilib.c u64 movi_len; u64 1504 src/media_tools/avilib.c if ( (gf_fseek(AVI->fdes,0,SEEK_SET)==(u64)-1) || u64 1688 src/media_tools/avilib.c u64 AVI_bytes_remain(avi_t *AVI) u64 1695 src/media_tools/avilib.c u64 AVI_bytes_written(avi_t *AVI) u64 1881 src/media_tools/avilib.c u64 header_offset=0; u64 1884 src/media_tools/avilib.c u64 tot[AVI_MAX_TRACKS]; u64 1942 src/media_tools/avilib.c if (gf_fseek(AVI->fdes,n,SEEK_CUR)==(u64)-1) break; u64 1944 src/media_tools/avilib.c else if (gf_fseek(AVI->fdes,n,SEEK_CUR)==(u64)-1) break; u64 2370 src/media_tools/avilib.c u64 __pos = gf_ftell(AVI->fdes) - 8; u64 2385 src/media_tools/avilib.c u64 offset = 0; u64 2409 src/media_tools/avilib.c if (gf_fseek(AVI->fdes, AVI->video_superindex->aIndex[j].qwOffset, SEEK_SET) == (u64)-1) { u64 2487 src/media_tools/avilib.c if (gf_fseek(AVI->fdes, AVI->track[audtr].audio_superindex->aIndex[j].qwOffset, SEEK_SET) == (u64)-1) { u64 2823 src/media_tools/avilib.c u64 AVI_get_video_position(avi_t *AVI, int frame) u64 2827 src/media_tools/avilib.c return (u64) -1; u64 2831 src/media_tools/avilib.c return (u64) -1; u64 3104 src/media_tools/avilib.c else if(gf_fseek(AVI->fdes,n,SEEK_CUR) == (u64) -1) return 0; u64 3108 src/media_tools/avilib.c u64 AVI_max_size(void) u64 3110 src/media_tools/avilib.c return((u64) AVI_MAX_LEN); u64 87 src/media_tools/dash_client.c u64 mpd_fetch_time; u64 107 src/media_tools/dash_client.c u64 start_time_in_active_period; u64 173 src/media_tools/dash_client.c u64 start_range, end_range; u64 238 src/media_tools/dash_client.c u64 ast_at_init; u64 249 src/media_tools/dash_client.c u64 bs_switching_init_segment_url_start_range, bs_switching_init_segment_url_end_range; u64 276 src/media_tools/dash_client.c u64 retry_after_utc; u64 278 src/media_tools/dash_client.c u64 current_downloaded_segment_duration; u64 288 src/media_tools/dash_client.c u64 current_start_time; u64 308 src/media_tools/dash_client.c u64 hls_next_start_time; u64 377 src/media_tools/dash_client.c static u64 dash_get_fetch_time(GF_DashClient *dash) u64 379 src/media_tools/dash_client.c u64 utc = 0; u64 471 src/media_tools/dash_client.c static void gf_dash_group_timeline_setup(GF_MPD *mpd, GF_DASH_Group *group, u64 fetch_time) u64 476 src/media_tools/dash_client.c u64 current_time, current_time_no_timeshift, availabilityStartTime; u64 507 src/media_tools/dash_client.c u64 utc; u64 514 src/media_tools/dash_client.c u64 utc = gf_net_parse_date(val); u64 665 src/media_tools/dash_client.c u64 start_segtime = 0; u64 666 src/media_tools/dash_client.c u64 segtime = 0; u64 667 src/media_tools/dash_client.c u64 current_time_rescale; u64 668 src/media_tools/dash_client.c u64 timeline_duration = 0; u64 895 src/media_tools/dash_client.c GF_Err gf_dash_download_resource(GF_DashClient *dash, GF_DASHFileIOSession *sess, const char *url, u64 start_range, u64 end_range, u32 persistent_mode, GF_DASH_Group *group) u64 1037 src/media_tools/dash_client.c u64 period_duration, start_time, dur; u64 1068 src/media_tools/dash_client.c dur += ((u64)nb_seg) * ent->duration; u64 1073 src/media_tools/dash_client.c dur += ((u64)nb_seg) * ent->duration; u64 1086 src/media_tools/dash_client.c u64 duration; u64 1197 src/media_tools/dash_client.c static u64 gf_dash_get_segment_start_time_with_timescale(GF_DASH_Group *group, u64 *segment_duration, u32 *scale) u64 1203 src/media_tools/dash_client.c u64 start_time = 0; u64 1214 src/media_tools/dash_client.c u64 start = 0; u64 1215 src/media_tools/dash_client.c u64 dur = 0; u64 1226 src/media_tools/dash_client.c static u64 gf_dash_get_segment_availability_start_time(GF_MPD *mpd, GF_DASH_Group *group, u32 segment_index, u32 *seg_dur_ms) u64 1236 src/media_tools/dash_client.c return (u64) seg_ast; u64 1239 src/media_tools/dash_client.c static u32 gf_dash_get_index_in_timeline(GF_MPD_SegmentTimeline *timeline, u64 segment_start, u64 start_timescale, u64 timescale) u64 1241 src/media_tools/dash_client.c u64 start_time = 0; u64 1358 src/media_tools/dash_client.c u64 start_time, min_start, duration; u64 1366 src/media_tools/dash_client.c min_start = (u64) (min_start_time*time_scale); u64 1507 src/media_tools/dash_client.c u64 fetch_time=0; u64 1815 src/media_tools/dash_client.c u64 dur = 0; u64 1998 src/media_tools/dash_client.c u64 endTime = fetch_time - new_mpd->availabilityStartTime - period->start; u64 2080 src/media_tools/dash_client.c u64 dur = 0; u64 2130 src/media_tools/dash_client.c u64 current_start_time = 0; u64 2292 src/media_tools/dash_client.c static GF_Err gf_dash_resolve_url(GF_MPD *mpd, GF_MPD_Representation *rep, GF_DASH_Group *group, const char *mpd_url, GF_MPD_URLResolveType resolve_type, u32 item_index, char **out_url, u64 *out_range_start, u64 *out_range_end, u64 *segment_duration, Bool *is_in_base_url, char **out_key_url, bin128 *out_key_iv, Bool *data_url_process) u64 2883 src/media_tools/dash_client.c u64 start_range, end_range; u64 2984 src/media_tools/dash_client.c u64 a_start = 0, a_end = 0, a_dur = 0; u64 3161 src/media_tools/dash_client.c u64 a_start, a_end, a_dur; u64 3644 src/media_tools/dash_client.c static GF_Err gf_dash_load_sidx(GF_BitStream *bs, GF_MPD_Representation *rep, Bool seperate_index, u64 sidx_offset) u64 3649 src/media_tools/dash_client.c u64 anchor_position, prev_pos; u64 3653 src/media_tools/dash_client.c u64 offset; u64 3841 src/media_tools/dash_client.c u64 duration, index_start_range = 0, index_end_range = 0, init_start_range, init_end_range; u64 4614 src/media_tools/dash_client.c u64 seg_ast = gf_dash_get_segment_availability_start_time(group->dash->mpd, group, group->download_segment_index, &seg_dur_ms); u64 4749 src/media_tools/dash_client.c u64 start_range, end_range; u64 4859 src/media_tools/dash_client.c if (group->retry_after_utc > (u64) now) { u64 4860 src/media_tools/dash_client.c to_wait = (u32) (group->retry_after_utc - (u64) now); u64 5599 src/media_tools/dash_client.c static u32 gf_dash_period_index_from_time(GF_DashClient *dash, u64 time) u64 5602 src/media_tools/dash_client.c u64 cumul_start = 0; u64 5606 src/media_tools/dash_client.c u64 now, availabilityStartTime; u64 6454 src/media_tools/dash_client.c const char *gf_dash_group_get_segment_init_url(GF_DashClient *dash, u32 idx, u64 *start_range, u64 *end_range) u64 6804 src/media_tools/dash_client.c GF_Err gf_dash_group_get_presentation_time_offset(GF_DashClient *dash, u32 idx, u64 *presentation_time_offset, u32 *timescale) u64 6808 src/media_tools/dash_client.c u64 duration; u64 6817 src/media_tools/dash_client.c GF_Err gf_dash_group_get_next_segment_location(GF_DashClient *dash, u32 idx, u32 dependent_representation_index, const char **url, u64 *start_range, u64 *end_range, s32 *switching_index, const char **switching_url, u64 *switching_start_range, u64 *switching_end_range, const char **original_url, Bool *has_next_segment, const char **key_url, bin128 *key_IV) u64 6972 src/media_tools/dash_client.c u64 now, availabilityStartTime; u64 7109 src/media_tools/dash_client.c u64 start_range, end_range, current_dur; u64 7300 src/media_tools/dash_client.c u64 gf_dash_get_period_start(GF_DashClient *dash) u64 7302 src/media_tools/dash_client.c u64 start; u64 7320 src/media_tools/dash_client.c u64 gf_dash_get_period_duration(GF_DashClient *dash) u64 7322 src/media_tools/dash_client.c u64 start; u64 7567 src/media_tools/dash_client.c void gf_dash_override_ntp(GF_DashClient *dash, u64 server_ntp) u64 105 src/media_tools/dash_segmenter.c u64 initial_tfdt; u64 232 src/media_tools/dash_segmenter.c GF_Err gf_media_mpd_format_segment_name(GF_DashTemplateSegmentType seg_type, Bool is_bs_switching, char *segment_name, const char *output_file_name, const char *rep_id, const char *base_url, const char *seg_rad_name, const char *seg_ext, u64 start_time, u32 bandwidth, u32 segment_number, Bool use_segment_timeline) u64 395 src/media_tools/dash_segmenter.c GF_Err gf_dasher_store_segment_info(GF_DASHSegmenter *dash_cfg, const char *representationID, const char *SegmentName, u64 segStartTime, u64 segEndTime) u64 626 src/media_tools/dash_segmenter.c u64 FragmentLength; u64 630 src/media_tools/dash_segmenter.c u64 last_sample_cts, next_sample_dts, InitialTSOffset; u64 634 src/media_tools/dash_segmenter.c u64 min_cts_in_segment; u64 635 src/media_tools/dash_segmenter.c u64 start_tfdt; u64 638 src/media_tools/dash_segmenter.c static u64 isom_get_next_sap_time(GF_ISOFile *input, u32 track, u32 sample_count, u32 sample_num) u64 641 src/media_tools/dash_segmenter.c u64 time; u64 691 src/media_tools/dash_segmenter.c static void gf_dash_append_segment_timeline(GF_BitStream *mpd_timeline_bs, u64 segment_start, u64 segment_end, u64 *previous_segment_duration , Bool *first_segment_in_timeline,u32 *segment_timeline_repeat_count) u64 694 src/media_tools/dash_segmenter.c u64 segment_dur = segment_end - segment_start; u64 719 src/media_tools/dash_segmenter.c static void gf_dash_load_segment_timeline(GF_DASHSegmenter *dash_cfg, GF_BitStream *mpd_timeline_bs, const char *representationID, u64 *previous_segment_duration , Bool *first_segment_in_timeline,u32 *segment_timeline_repeat_count) u64 730 src/media_tools/dash_segmenter.c u64 start, dur; u64 743 src/media_tools/dash_segmenter.c static u64 get_presentation_time(u64 media_time, s32 ts_shift) u64 843 src/media_tools/dash_segmenter.c u64 MaxFragmentDuration, MaxSegmentDuration, period_duration; u64 845 src/media_tools/dash_segmenter.c u64 presentationTimeOffset = 0; u64 862 src/media_tools/dash_segmenter.c u64 previous_segment_duration = 0; u64 865 src/media_tools/dash_segmenter.c u64 start_range, end_range, file_size, init_seg_size, ref_track_first_dts, ref_track_next_cts; u64 891 src/media_tools/dash_segmenter.c u64 generation_start_utc = 0; u64 892 src/media_tools/dash_segmenter.c u64 ntpts = 0; u64 908 src/media_tools/dash_segmenter.c generation_start_utc += ((u64) frac) * 1000 / 0xFFFFFFFFUL; u64 1232 src/media_tools/dash_segmenter.c u64 EditTime, SegDuration, MediaTime; u64 1419 src/media_tools/dash_segmenter.c gf_isom_set_movie_duration(output, (u64) max_track_duration); u64 1465 src/media_tools/dash_segmenter.c ref_track_first_dts = (u64) -1; u64 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); u64 1532 src/media_tools/dash_segmenter.c u64 pos = dash_cfg->nb_secs_to_discard; u64 1533 src/media_tools/dash_segmenter.c u64 period_dur = track_dur * dash_cfg->dash_scale / tf->TimeScale; u64 1585 src/media_tools/dash_segmenter.c gf_media_mpd_format_segment_name(GF_DASH_TEMPLATE_SEGMENT, is_bs_switching, SegmentName, output_file, dash_input->representationID, dash_input->baseURL ? dash_input->baseURL[0] : NULL, seg_rad_name, !stricmp(seg_ext, "null") ? NULL : seg_ext, period_duration + (u64)segment_start_time, bandwidth, cur_seg, dash_cfg->use_segment_timeline); u64 1642 src/media_tools/dash_segmenter.c tf->start_tfdt = (u64) (dash_cfg->initial_tfdt*scale) + tf->InitialTSOffset + tf->next_sample_dts; u64 1647 src/media_tools/dash_segmenter.c if (!SegmentDuration) tf->min_cts_in_segment = (u64)-1; u64 1717 src/media_tools/dash_segmenter.c u64 frag_dur = (tf->FragmentLength + defaultDuration) * dash_cfg->dash_scale / tf->TimeScale; u64 1750 src/media_tools/dash_segmenter.c u64 next_cts = next->DTS + next->CTS_Offset; u64 1758 src/media_tools/dash_segmenter.c u64 cts = gf_isom_get_media_duration(input, tf->OriginalTrack); u64 1771 src/media_tools/dash_segmenter.c u64 associated_pts = tf->start_tfdt + sample->CTS_Offset + tf->media_time_to_pres_time_shift; u64 1837 src/media_tools/dash_segmenter.c u64 next_sap_time; u64 1838 src/media_tools/dash_segmenter.c u64 frag_dur, next_dur; u64 1849 src/media_tools/dash_segmenter.c u64 next_sap_dur; u64 1905 src/media_tools/dash_segmenter.c u64 ept_next; u64 1906 src/media_tools/dash_segmenter.c u64 tref_ept_next = get_presentation_time(ref_track_next_cts, tfref->media_time_to_pres_time_shift); u64 1909 src/media_tools/dash_segmenter.c u64 next_dur = gf_isom_get_sample_duration(input, tf->OriginalTrack, tf->SampleNum + 1); u64 1956 src/media_tools/dash_segmenter.c u64 utc, end_time = tfref->InitialTSOffset + tfref->next_sample_dts - tfref->DefaultDuration; u64 1994 src/media_tools/dash_segmenter.c u64 seg_start_time_mpd = (period_duration + (u64)segment_start_time) * tfref->TimeScale; u64 2025 src/media_tools/dash_segmenter.c gf_dash_append_segment_timeline(mpd_timeline_bs, period_duration + (u64)segment_start_time, (u64)(period_duration + segment_start_time + SegmentDuration + tick_adjust), &previous_segment_duration, &first_segment_in_timeline, &segment_timeline_repeat_count); u64 2033 src/media_tools/dash_segmenter.c gf_dasher_store_segment_info(dash_cfg, dash_input->representationID, SegmentName, period_duration + (u64)segment_start_time, (u64)(period_duration + segment_start_time + SegmentDuration)); u64 2050 src/media_tools/dash_segmenter.c u64 idx_start_range, idx_end_range; u64 2060 src/media_tools/dash_segmenter.c GF_LOG(GF_LOG_DEBUG, GF_LOG_DASH, ("[DASH] Closing segment %s at "LLU" us, at UTC "LLU" - segment AST "LLU" (MPD AST "LLU")\n", SegmentName, gf_sys_clock_high_res(), gf_net_get_utc(), generation_start_utc + period_duration + (u64)segment_start_time, generation_start_utc )); u64 2070 src/media_tools/dash_segmenter.c ref_track_first_dts = (u64) -1; u64 2128 src/media_tools/dash_segmenter.c u64 idx_start_range, idx_end_range; u64 2178 src/media_tools/dash_segmenter.c sprintf(szMPDTempLine, " <S t=\""LLU"\" d=\""LLU"\"/>\n", (u64) segment_start_time, (u64) SegmentDuration ); u64 2181 src/media_tools/dash_segmenter.c sprintf(szMPDTempLine, " <S d=\""LLU"\"/>\n", (u64) SegmentDuration); u64 2510 src/media_tools/dash_segmenter.c period_duration += (u64)segment_start_time; //change to get a Double period duration u64 2809 src/media_tools/dash_segmenter.c u64 ar1, ar2; u64 3116 src/media_tools/dash_segmenter.c u64 EditTime, SegDuration, MediaTime; u64 3180 src/media_tools/dash_segmenter.c const u32 new_last_sample_duration_in_media_timescale = (u32) ( last_sample_duration + (target_duration_in_timescale - MIN(track_duration, target_duration_in_timescale)) * (u64)gf_isom_get_media_timescale(in, trackNumber) / gf_isom_get_timescale(in) ); u64 3195 src/media_tools/dash_segmenter.c u64 track_duration = 0; u64 3242 src/media_tools/dash_segmenter.c u64 EditTime, SegmentDuration, MediaTime; u64 3251 src/media_tools/dash_segmenter.c u64 EditDuration = target_duration_in_timescale - (track_duration - SegmentDuration); u64 3453 src/media_tools/dash_segmenter.c u64 file_size; u64 3457 src/media_tools/dash_segmenter.c u64 suspend_indexing; u64 3468 src/media_tools/dash_segmenter.c u64 duration_at_last_pass; u64 3478 src/media_tools/dash_segmenter.c u64 first_PTS; u64 3480 src/media_tools/dash_segmenter.c u64 PCR_DTS_initial_diff; u64 3483 src/media_tools/dash_segmenter.c u64 base_PTS; u64 3485 src/media_tools/dash_segmenter.c u64 base_offset; u64 3487 src/media_tools/dash_segmenter.c u64 last_PTS; u64 3489 src/media_tools/dash_segmenter.c u64 last_DTS; u64 3495 src/media_tools/dash_segmenter.c u64 prev_base_PTS; u64 3497 src/media_tools/dash_segmenter.c u64 prev_base_offset; u64 3499 src/media_tools/dash_segmenter.c u64 prev_last_PTS; u64 3508 src/media_tools/dash_segmenter.c u64 first_SAP_PTS; u64 3511 src/media_tools/dash_segmenter.c u64 prev_last_SAP_PTS; u64 3513 src/media_tools/dash_segmenter.c u64 last_SAP_PTS; u64 3519 src/media_tools/dash_segmenter.c u64 interpolated_pcr_value; u64 3520 src/media_tools/dash_segmenter.c u64 last_pcr_value; u64 3566 src/media_tools/dash_segmenter.c static void m2ts_sidx_finalize_size(GF_TSSegmenter *index_info, u64 file_size) u64 3625 src/media_tools/dash_segmenter.c index_info->pcrb->pcr_values = (u64*)gf_realloc(index_info->pcrb->pcr_values, index_info->pcrb->subsegment_count*sizeof(u64)); u64 3749 src/media_tools/dash_segmenter.c u64 current_duration = (index_info->last_PTS - index_info->base_PTS); u64 3750 src/media_tools/dash_segmenter.c u64 target_duration = segment_duration; u64 3842 src/media_tools/dash_segmenter.c u64 interpolated_pcr_value; u64 3934 src/media_tools/dash_segmenter.c u64 delta_pcr_value = pes->last_pcr_value - pes->before_last_pcr_value; u64 3941 src/media_tools/dash_segmenter.c interpolated_pcr_value = pes->last_pcr_value + (u64)((delta_pcr_value*delta_pts_pcr_pck_num*1.0)/delta_pcr_pck_num); u64 3993 src/media_tools/dash_segmenter.c if (ts_seg->PCR_DTS_initial_diff == (u64) -1) { u64 4101 src/media_tools/dash_segmenter.c u64 start, pcr_shift, next_pcr_shift, presentationTimeOffset; u64 4155 src/media_tools/dash_segmenter.c ts_seg.PCR_DTS_initial_diff = (u64) -1; u64 4166 src/media_tools/dash_segmenter.c u64 offset; u64 4263 src/media_tools/dash_segmenter.c u64 val; u64 4406 src/media_tools/dash_segmenter.c u64 pos, end; u64 4430 src/media_tools/dash_segmenter.c gf_dasher_store_segment_info(dash_cfg, dash_input->representationID, SegName, (u64) (current_time*dash_cfg->dash_scale), (u64) ((current_time+dur)*dash_cfg->dash_scale)); u64 4482 src/media_tools/dash_segmenter.c u64 fsize, done; u64 4521 src/media_tools/dash_segmenter.c sprintf(szOpt, LLU, (u64) (dash_cfg->dash_scale*ts_seg.segment_duration) ); u64 4887 src/media_tools/dash_segmenter.c u64 time_ms; u64 4909 src/media_tools/dash_segmenter.c time_ms -= ((u64)sec)*1000; u64 5295 src/media_tools/dash_segmenter.c u32 gf_dasher_next_update_time(GF_DASHSegmenter *dasher, u64 *ms_in_session) u64 5329 src/media_tools/dash_segmenter.c u64 val; u64 5344 src/media_tools/dash_segmenter.c ms_elapsed += ((u64)(ntp_sec - prev_sec))*1000; u64 5346 src/media_tools/dash_segmenter.c if (ms_in_session) *ms_in_session = (u64) ( 1000*max_dur ); u64 5382 src/media_tools/dash_segmenter.c u64 val; u64 5416 src/media_tools/dash_segmenter.c u64 start, dur; u64 5563 src/media_tools/dash_segmenter.c void gf_dasher_set_start_date(GF_DASHSegmenter *dasher, u64 dash_utc_start_date) u64 5567 src/media_tools/dash_segmenter.c u64 secs = dash_utc_start_date/1000; u64 5780 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_initial_isobmf(GF_DASHSegmenter *dasher, u32 initial_moof_sn, u64 initial_tfdt) u64 63 src/media_tools/filestreamer.c u64 microsec_dts; u64 79 src/media_tools/filestreamer.c u64 timelineOrigin; u64 90 src/media_tools/filestreamer.c u64 last_min_dts; u64 195 src/media_tools/filestreamer.c u64 size; u64 250 src/media_tools/filestreamer.c u64 min_ts, dts, cts, clock; u64 256 src/media_tools/filestreamer.c min_ts = (u64) -1; u64 287 src/media_tools/filestreamer.c track->microsec_dts = (u64) (track->microsec_ts_scale * (s64) (track->au->DTS) + track->microsec_ts_offset + streamer->timelineOrigin); u64 44 src/media_tools/html5_media.c static GF_Err gf_html_timeranges_add_time(GF_HTML_MediaTimeRanges *timeranges, u64 time) u64 46 src/media_tools/html5_media.c u64 *t; u64 48 src/media_tools/html5_media.c t = (u64 *)gf_malloc(sizeof(u64)); u64 54 src/media_tools/html5_media.c GF_Err gf_html_timeranges_add_start(GF_HTML_MediaTimeRanges *timeranges, u64 start) u64 59 src/media_tools/html5_media.c GF_Err gf_html_timeranges_add_end(GF_HTML_MediaTimeRanges *timeranges, u64 end) u64 68 src/media_tools/html5_media.c u64 *d = (u64 *)gf_list_get(ranges->times, 0); u64 84 src/media_tools/html5_media.c u64 *start; u64 85 src/media_tools/html5_media.c u64 *end; u64 86 src/media_tools/html5_media.c u64 *prev_end; u64 92 src/media_tools/html5_media.c start = (u64 *)gf_list_get(ranges->times, i); u64 93 src/media_tools/html5_media.c end = (u64 *)gf_list_get(ranges->times, i+1); u64 139 src/media_tools/html5_media.c u64 *starta = (u64 *)gf_list_get(a->times, i); u64 140 src/media_tools/html5_media.c u64 *enda = (u64 *)gf_list_get(a->times, i+1); u64 142 src/media_tools/html5_media.c u64 *startb = (u64 *)gf_list_get(b->times, j); u64 143 src/media_tools/html5_media.c u64 *endb = (u64 *)gf_list_get(b->times, j+1); u64 154 src/media_tools/html5_media.c *startb = (u64)((*startb * a->timescale)*1.0 / b->timescale); u64 156 src/media_tools/html5_media.c *endb = (u64)((*endb * a->timescale)*1.0 / b->timescale); u64 166 src/media_tools/html5_media.c *startb = (u64)((*starta * b->timescale)*1.0 / a->timescale); u64 180 src/media_tools/html5_media.c *starta = (u64)((*startb * a->timescale)*1.0 / b->timescale); u64 190 src/media_tools/html5_media.c u64 *next_starta = (u64 *)gf_list_get(a->times, i+2); u64 222 src/media_tools/html5_media.c u64 *starta = (u64 *)gf_list_get(a->times, i); u64 223 src/media_tools/html5_media.c u64 *enda = (u64 *)gf_list_get(a->times, i+1); u64 225 src/media_tools/html5_media.c u64 *startb = (u64 *)gf_list_get(b->times, j); u64 226 src/media_tools/html5_media.c u64 *endb = (u64 *)gf_list_get(b->times, j+1); u64 240 src/media_tools/html5_media.c *starta = (u64)((*endb * a->timescale)*1.0 / b->timescale); u64 246 src/media_tools/html5_media.c *startb = (u64)((*enda * b->timescale)*1.0 / a->timescale); u64 255 src/media_tools/html5_media.c *startb = (u64)((*enda * b->timescale)*1.0 / a->timescale); u64 262 src/media_tools/html5_media.c *starta = (u64)((*endb * a->timescale)*1.0 / b->timescale); u64 431 src/media_tools/html5_mse.c u64 start; u64 432 src/media_tools/html5_mse.c u64 end=0; u64 507 src/media_tools/html5_mse.c sb->group_start_timestamp = (u64)((sb->group_start_timestamp * new_timescale * 1.0)/old_timescale); u64 510 src/media_tools/html5_mse.c sb->group_end_timestamp = (u64)((sb->group_end_timestamp * new_timescale * 1.0)/old_timescale); u64 512 src/media_tools/html5_mse.c sb->remove_start = (u64)((sb->remove_start * new_timescale * 1.0)/old_timescale); u64 513 src/media_tools/html5_mse.c sb->remove_end = (u64)((sb->remove_end * new_timescale * 1.0)/old_timescale); u64 548 src/media_tools/html5_mse.c u64 from, u64 549 src/media_tools/html5_mse.c u64 to) u64 705 src/media_tools/html5_mse.c overlapped_packet->sl_header.compositionTimeStamp + (u64)SECONDS_TO_TIMESCALE(0.000001)); u64 860 src/media_tools/html5_mse.c u64 end = 0; u64 882 src/media_tools/html5_mse.c if (!end) end = (u64)SECONDS_TO_TIMESCALE(sb->remove_end); u64 893 src/media_tools/html5_mse.c sb->remove_start = (u64)(start*sb->timescale); u64 894 src/media_tools/html5_mse.c sb->remove_end = (u64)(end*sb->timescale); u64 57 src/media_tools/img.c u64 pos; u64 400 src/media_tools/ismacryp.c static GFINLINE void isma_resync_IV(GF_Crypt *mc, u64 BSO, char *salt) u64 403 src/media_tools/ismacryp.c u64 count; u64 425 src/media_tools/ismacryp.c GF_Err gf_ismacryp_decrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk) u64 571 src/media_tools/ismacryp.c GF_Err gf_ismacryp_encrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk) u64 578 src/media_tools/ismacryp.c u64 BSO, range_end; u64 1122 src/media_tools/ismacryp.c GF_Err gf_cenc_encrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk) u64 1377 src/media_tools/ismacryp.c GF_Err gf_cenc_decrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk) u64 1625 src/media_tools/ismacryp.c GF_Err gf_adobe_encrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk) u64 1756 src/media_tools/ismacryp.c GF_Err gf_adobe_decrypt_track(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk) u64 1898 src/media_tools/ismacryp.c GF_Err (*gf_decrypt_track)(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 2170 src/media_tools/ismacryp.c GF_Err (*gf_encrypt_track)(GF_ISOFile *mp4, GF_TrackCryptInfo *tci, void (*progress)(void *cbk, u64 done, u64 total), void *cbk); u64 38 src/media_tools/isom_hinter.c u64 prevTS, tdelta; u64 267 src/media_tools/isom_hinter.c u64 et, sd, mt; u64 695 src/media_tools/isom_hinter.c u64 ts; u64 721 src/media_tools/isom_hinter.c ts = (u64) (ft * (s64) (samp->DTS+samp->CTS_Offset)); u64 724 src/media_tools/isom_hinter.c ts = (u64) (ft * (s64)(samp->DTS)); u64 106 src/media_tools/isom_tools.c u64 offset, dur, last_dts; u64 146 src/media_tools/isom_tools.c u64 size, tot; u64 170 src/media_tools/isom_tools.c u64 box_size = gf_bs_peek_bits(bs, 32, 0); u64 1093 src/media_tools/isom_tools.c u64 offset; u64 1096 src/media_tools/isom_tools.c u64 *first_DTS_track; u64 1373 src/media_tools/isom_tools.c first_DTS_track = (u64 *) gf_malloc((num_svc_track+1) * sizeof(u64)); u64 1567 src/media_tools/isom_tools.c u64 dur; u64 1669 src/media_tools/isom_tools.c u64 *DTS_offset; u64 1670 src/media_tools/isom_tools.c u64 EditTime, SegmentDuration, MediaTime; u64 1673 src/media_tools/isom_tools.c u64 first_DTS, offset, dur; u64 1795 src/media_tools/isom_tools.c DTS_offset = (u64 *) gf_malloc(count * sizeof(u64)); u64 3163 src/media_tools/isom_tools.c u64 time; u64 60 src/media_tools/m2ts_mux.c static GFINLINE void gf_m2ts_time_inc(GF_M2TS_Time *time, u64 delta_inc_num, u32 delta_inc_den) u64 62 src/media_tools/m2ts_mux.c u64 n_sec; u64 63 src/media_tools/m2ts_mux.c u64 sec; u64 436 src/media_tools/m2ts_mux.c Bool has_pcr, u64 pcr_time, u64 460 src/media_tools/m2ts_mux.c u64 PCR_base, PCR_ext; u64 898 src/media_tools/m2ts_mux.c static void gf_m2ts_remap_timestamps_for_pes(GF_M2TS_Mux_Stream *stream, u32 pck_flags, u64 *dts, u64 *cts, u32 *duration) u64 900 src/media_tools/m2ts_mux.c u64 pcr_offset; u64 909 src/media_tools/m2ts_mux.c *cts = (u64)( *cts * stream->ts_scale.num / stream->ts_scale.den ) ; u64 910 src/media_tools/m2ts_mux.c *dts = (u64)( *dts * stream->ts_scale.num / stream->ts_scale.den ) ; u64 1007 src/media_tools/m2ts_mux.c u64 time_inc; u64 1303 src/media_tools/m2ts_mux.c u64 r = 8*stream->bytes_since_last_time; u64 1321 src/media_tools/m2ts_mux.c static GFINLINE u64 gf_m2ts_get_pcr(GF_M2TS_Mux_Stream *stream) u64 1323 src/media_tools/m2ts_mux.c u64 pcr; u64 1330 src/media_tools/m2ts_mux.c pcr = (u64) abs_pcr + stream->program->pcr_init_time; u64 1524 src/media_tools/m2ts_mux.c u64 t, dts, cts; u64 1643 src/media_tools/m2ts_mux.c u64 clock; u64 1734 src/media_tools/m2ts_mux.c u64 pcr = (s64) gf_m2ts_get_pcr(stream)/300; u64 1763 src/media_tools/m2ts_mux.c u64 pcr = 0; u64 1765 src/media_tools/m2ts_mux.c u64 now = gf_sys_clock_high_res(); u64 1769 src/media_tools/m2ts_mux.c u64 clock; u64 1828 src/media_tools/m2ts_mux.c u64 pcr = gf_m2ts_get_pcr(stream)/300; u64 2555 src/media_tools/m2ts_mux.c GF_Err gf_m2ts_mux_set_initial_pcr(GF_M2TS_Mux *muxer, u64 init_pcr_value) u64 2578 src/media_tools/m2ts_mux.c u64 now_us; u64 2596 src/media_tools/m2ts_mux.c u64 us_diff = now_us - muxer->init_sys_time; u64 2809 src/media_tools/m2ts_mux.c u64 us_diff = gf_sys_clock_high_res() - muxer->init_sys_time; u64 2820 src/media_tools/m2ts_mux.c u64 size = 8*188*muxer->pck_sent_over_br_window; u64 58 src/media_tools/m3u8.c u64 playlist_utc_timestamp; u64 59 src/media_tools/m3u8.c u64 byte_range_start, byte_range_end; u64 60 src/media_tools/m3u8.c u64 init_byte_range_start, init_byte_range_end; u64 249 src/media_tools/m3u8.c u64 ret=0, i, shift=2; u64 476 src/media_tools/m3u8.c u64 begin, size; u64 552 src/media_tools/m3u8.c u64 begin, size; u64 674 src/media_tools/media_export.c u64 dts; u64 1788 src/media_tools/media_export.c u64 dur; u64 2094 src/media_tools/media_export.c u64 DTS; u64 2331 src/media_tools/media_export.c u64 pos = gf_bs_get_position(bs); u64 2646 src/media_tools/media_export.c u64 dur = gf_isom_get_sample_duration(dumper->file, track, i+1); u64 2990 src/media_tools/media_export.c u64 size, fsize, fdone; u64 113 src/media_tools/media_import.c u64 time_wnd, rate, max_rate, avg_rate, bitrate; u64 320 src/media_tools/media_import.c if (import->initial_time_offset) samp->DTS = (u64) (import->initial_time_offset*1000); u64 332 src/media_tools/media_import.c e = gf_isom_add_sample_reference(import->dest, track, di, samp, (u64) 0); u64 432 src/media_tools/media_import.c if (import->initial_time_offset) samp->DTS = (u64) (import->initial_time_offset*1000); u64 444 src/media_tools/media_import.c e = gf_isom_add_sample_reference(import->dest, track, di, samp, (u64) 0); u64 475 src/media_tools/media_import.c u64 done, tot_size, offset, duration; u64 651 src/media_tools/media_import.c u64 pos; u64 707 src/media_tools/media_import.c u64 pos, mux_size; u64 807 src/media_tools/media_import.c u64 tot_size, done, duration; u64 938 src/media_tools/media_import.c u64 offset, tot_size, done, duration; u64 1186 src/media_tools/media_import.c u64 max_cts, min_cts, doff; u64 1190 src/media_tools/media_import.c min_cts = (u64) -1; u64 1223 src/media_tools/media_import.c u64 pos, tot_size, done_size, samp_offset, duration; u64 1248 src/media_tools/media_import.c duration = (u64) (import->duration*FPS); u64 1359 src/media_tools/media_import.c u64 frame_start, sample_size; u64 1504 src/media_tools/media_import.c u64 samp_offset, size, max_size; u64 1510 src/media_tools/media_import.c u64 duration; u64 1595 src/media_tools/media_import.c duration = (u64) (import->duration*FPS); u64 1701 src/media_tools/media_import.c u64 framesize, frame_start; u64 1702 src/media_tools/media_import.c u64 file_offset; u64 1706 src/media_tools/media_import.c file_offset = (u64) AVI_get_video_position(in, i); u64 1866 src/media_tools/media_import.c u64 duration; u64 2023 src/media_tools/media_import.c u64 offset, sampDTS, duration, dts_offset; u64 2192 src/media_tools/media_import.c duration = (u64) (((Double)import->duration * gf_isom_get_media_timescale(import->orig, track_in)) / 1000); u64 2358 src/media_tools/media_import.c u64 file_size, duration; u64 2488 src/media_tools/media_import.c samp->DTS = (u64)dts_inc*(frames-1); u64 2532 src/media_tools/media_import.c u64 file_size, duration; u64 2609 src/media_tools/media_import.c duration = (u64) ((Double)import->duration/1000.0 * sr); u64 2653 src/media_tools/media_import.c u64 offset, duration; u64 2799 src/media_tools/media_import.c duration = (u64) ( ((Double) import->duration)/ 1000 * import->esd->slConfig->timestampResolution); u64 2825 src/media_tools/media_import.c u64 CTS; u64 2886 src/media_tools/media_import.c u64 from_pos, to_pos; u64 3102 src/media_tools/media_import.c static void nhml_on_progress(void *cbk, u64 done, u64 tot) u64 3125 src/media_tools/media_import.c u64 duration, sample_duration; u64 3248 src/media_tools/media_import.c u64 d_size; u64 3567 src/media_tools/media_import.c duration = (u64) ( ((Double) import->duration)/ 1000 * timescale); u64 3608 src/media_tools/media_import.c u64 dst_val; u64 3610 src/media_tools/media_import.c samp->DTS = (u64) ( (Double) ( ((h*3600.0 + m*60.0 + s)*1000 + ms) / 1000.0) * timescale ); u64 3924 src/media_tools/media_import.c u64 offset, media_size, duration; u64 4163 src/media_tools/media_import.c u64 max_size, duration; u64 4168 src/media_tools/media_import.c u64 offset, media_size, media_done; u64 4440 src/media_tools/media_import.c u64 end, cache_start, load_size; u64 4441 src/media_tools/media_import.c u64 start = gf_bs_get_position(bs); u64 4501 src/media_tools/media_import.c u64 offset, media_size, media_done, duration; u64 4577 src/media_tools/media_import.c duration = (u64) ( ((Double)import->duration) * timescale / 1000.0); u64 4668 src/media_tools/media_import.c u64 nal_start, nal_end, total_size; u64 4671 src/media_tools/media_import.c u64 duration; u64 4775 src/media_tools/media_import.c duration = (u64) ( ((Double)import->duration) * timescale / 1000.0); u64 5156 src/media_tools/media_import.c samp->DTS = (u64)dts_inc*cur_samp; u64 5456 src/media_tools/media_import.c samp->DTS = (u64)dts_inc*cur_samp; u64 5477 src/media_tools/media_import.c u64 last_dts, max_cts, min_cts; u64 5488 src/media_tools/media_import.c min_cts = (u64) -1; u64 5492 src/media_tools/media_import.c u64 cts; u64 5721 src/media_tools/media_import.c lhevc_ptl->general_constraint_indicator_flags |= ((u64)1) << 47; u64 5723 src/media_tools/media_import.c lhevc_ptl->general_constraint_indicator_flags |= ((u64)1) << 46; u64 5725 src/media_tools/media_import.c lhevc_ptl->general_constraint_indicator_flags |= ((u64)1) << 45; u64 5727 src/media_tools/media_import.c lhevc_ptl->general_constraint_indicator_flags |= ((u64)1) << 44; u64 5859 src/media_tools/media_import.c u64 nal_start, nal_end, total_size; u64 5862 src/media_tools/media_import.c u64 duration; u64 5977 src/media_tools/media_import.c duration = (u64) ( ((Double)import->duration) * timescale / 1000.0); u64 6392 src/media_tools/media_import.c samp->DTS = (u64)dts_inc*cur_samp; u64 6637 src/media_tools/media_import.c samp->DTS = (u64)dts_inc*cur_samp; u64 6659 src/media_tools/media_import.c u64 last_dts, max_cts, min_cts; u64 6670 src/media_tools/media_import.c min_cts = (u64) -1; u64 6674 src/media_tools/media_import.c u64 cts; u64 6992 src/media_tools/media_import.c u64 tot_size, done, duration; u64 7182 src/media_tools/media_import.c duration = (u64) d; u64 7244 src/media_tools/media_import.c u64 done, tot_size, duration; u64 7367 src/media_tools/media_import.c duration = (u64) d; u64 7520 src/media_tools/media_import.c u64 tot; u64 7734 src/media_tools/media_import.c u64 last_dts; u64 8862 src/media_tools/media_import.c u64 fsize, done; u64 8983 src/media_tools/media_import.c u64 dur; u64 8991 src/media_tools/media_import.c dur = (u64)pdur; u64 9029 src/media_tools/media_import.c u64 last_dts = 0; u64 9288 src/media_tools/media_import.c u64 tot_size, done, duration; u64 9429 src/media_tools/media_import.c u64 ts; u64 9549 src/media_tools/media_import.c ts = (u64) (((s64) ts ) / import->video_fps); u64 82 src/media_tools/mpd.c static u64 gf_mpd_parse_long_int(char *attr) u64 84 src/media_tools/mpd.c u64 longint; u64 102 src/media_tools/mpd.c static u64 gf_mpd_parse_date(char *attr) u64 107 src/media_tools/mpd.c static u64 gf_mpd_parse_duration(char *duration) { u64 148 src/media_tools/mpd.c return (u64)((h*3600+m*60+s)*(u64)1000); u64 157 src/media_tools/mpd.c u64 dur = gf_mpd_parse_duration(duration); u64 1161 src/media_tools/mpd.c mpd->media_presentation_duration = (u64) (max_dur*1000); u64 1388 src/media_tools/mpd.c u64 br_start, br_end; u64 1423 src/media_tools/mpd.c u64 pos = 0; u64 1577 src/media_tools/mpd.c rep->segment_list->duration = (u64) (pe->duration_info * 1000); u64 1800 src/media_tools/mpd.c GF_Err gf_m3u8_solve_representation_xlink(GF_MPD_Representation *rep, GF_FileDownload *getter, Bool *is_static, u64 *duration) u64 1807 src/media_tools/mpd.c u64 start_time=0; u64 1866 src/media_tools/mpd.c rep->segment_list->duration = (u64) (pe->duration_info * 1000); u64 1894 src/media_tools/mpd.c start_time = elt->utc_start_time + (u64) (1000*elt->duration_info); u64 1936 src/media_tools/mpd.c void gf_mpd_print_date(FILE *out, char *name, u64 time) u64 1944 src/media_tools/mpd.c ms = (u32)(time - ((u64)sec) * 1000); u64 1950 src/media_tools/mpd.c void gf_mpd_print_duration(FILE *out, char *name, u64 duration_in_ms) u64 2481 src/media_tools/mpd.c GF_Err gf_mpd_resolve_url(GF_MPD *mpd, GF_MPD_Representation *rep, GF_MPD_AdaptationSet *set, GF_MPD_Period *period, const char *mpd_url, u32 base_url_index, GF_MPD_URLResolveType resolve_type, u32 item_index, u32 nb_segments_removed, char **out_url, u64 *out_range_start, u64 *out_range_end, u64 *segment_duration_in_ms, Bool *is_in_base_url, char **out_key_url, bin128 *out_key_iv) u64 2486 src/media_tools/mpd.c u64 duration=0; u64 2696 src/media_tools/mpd.c u64 out_duration; u64 2699 src/media_tools/mpd.c *segment_duration_in_ms = (u64)((out_duration * 1000.0) / out_timescale); u64 2808 src/media_tools/mpd.c u64 time, start_time; u64 2841 src/media_tools/mpd.c u64 time = item_index * duration; u64 2887 src/media_tools/mpd.c void gf_mpd_resolve_segment_duration(GF_MPD_Representation *rep, GF_MPD_AdaptationSet *set, GF_MPD_Period *period, u64 *out_duration, u32 *out_timescale, u64 *out_pts_offset, GF_MPD_SegmentTimeline **out_segment_timeline) u64 2890 src/media_tools/mpd.c u64 pts_offset = 0; u64 2958 src/media_tools/mpd.c static u64 gf_mpd_segment_timeline_start(GF_MPD_SegmentTimeline *timeline, u32 segment_index, u64 *segment_duration) u64 2960 src/media_tools/mpd.c u64 start_time = 0; u64 2982 src/media_tools/mpd.c u64 *out_segment_start_time, u64 *out_opt_segment_duration, u32 *out_opt_scale) u64 2984 src/media_tools/mpd.c u64 duration = 0, start_time = 0; u64 3112 src/media_tools/mpd.c u64 segment_duration_in_scale = 0, seg_start_in_scale = 0; u64 67 src/media_tools/mpeg2_ps.c u64 pts; u64 68 src/media_tools/mpeg2_ps.c u64 dts; u64 74 src/media_tools/mpeg2_ps.c u64 dts; u64 75 src/media_tools/mpeg2_ps.c u64 location; u64 91 src/media_tools/mpeg2_ps.c u64 last_ts; u64 106 src/media_tools/mpeg2_ps.c u64 start_dts; u64 109 src/media_tools/mpeg2_ps.c u64 end_dts; u64 121 src/media_tools/mpeg2_ps.c u64 ticks_per_frame; u64 134 src/media_tools/mpeg2_ps.c u64 first_dts; u64 137 src/media_tools/mpeg2_ps.c u64 max_dts; u64 138 src/media_tools/mpeg2_ps.c u64 max_time; // time is in msec. u64 176 src/media_tools/mpeg2_ps.c static u64 file_size(FILE *fd) u64 178 src/media_tools/mpeg2_ps.c u64 ret; u64 185 src/media_tools/mpeg2_ps.c static mpeg2ps_record_pes_t *create_record (s64 loc, u64 ts) u64 196 src/media_tools/mpeg2_ps.c #define MPEG2PS_RECORD_TIME ((u64) (5 * 90000)) u64 199 src/media_tools/mpeg2_ps.c u64 ts; u64 369 src/media_tools/mpeg2_ps.c static u64 read_pts (u8 *pak) u64 371 src/media_tools/mpeg2_ps.c u64 pts; u64 1032 src/media_tools/mpeg2_ps.c sptr->ticks_per_frame = (u64)(90000.0 / sptr->frame_rate); u64 1082 src/media_tools/mpeg2_ps.c static u64 convert_ts (mpeg2ps_stream_t *sptr, u64 1084 src/media_tools/mpeg2_ps.c u64 ts, u64 1085 src/media_tools/mpeg2_ps.c u64 base_ts, u64 1088 src/media_tools/mpeg2_ps.c u64 ret, calc; u64 1099 src/media_tools/mpeg2_ps.c ret /= (u64) (90); // * 1000 / 90000 u64 1258 src/media_tools/mpeg2_ps.c u64 conv; u64 1260 src/media_tools/mpeg2_ps.c conv /= (u64)sptr->freq; u64 1410 src/media_tools/mpeg2_ps.c ps->first_dts = (u64) -1; u64 1472 src/media_tools/mpeg2_ps.c u64 mpeg2ps_get_max_time_msec (mpeg2ps_t *ps) u64 1681 src/media_tools/mpeg2_ps.c static u64 stream_convert_frame_ts_to_msec (mpeg2ps_stream_t *sptr, u64 1683 src/media_tools/mpeg2_ps.c u64 base_dts, u64 1686 src/media_tools/mpeg2_ps.c u64 calc_ts; u64 1688 src/media_tools/mpeg2_ps.c u64 freq_conv; u64 1713 src/media_tools/mpeg2_ps.c u64 *timestamp) u64 1755 src/media_tools/mpeg2_ps.c u64 *timestamp) u64 1758 src/media_tools/mpeg2_ps.c u64 ts; u64 1783 src/media_tools/mpeg2_ps.c u64 mpeg2ps_get_ps_size(mpeg2ps_t *ps) u64 91 src/media_tools/mpeg2_ps.h u64 mpeg2ps_get_max_time_msec(mpeg2ps_t *ps); u64 135 src/media_tools/mpeg2_ps.h u64 *timestamp); u64 137 src/media_tools/mpeg2_ps.h u64 msec_timestamp); u64 179 src/media_tools/mpeg2_ps.h u64 *msec_timestamp); u64 181 src/media_tools/mpeg2_ps.h u64 msec_timestamp); u64 187 src/media_tools/mpeg2_ps.h u64 mpeg2ps_get_ps_size(mpeg2ps_t *ps); u64 115 src/media_tools/mpegts.c static void gf_m2ts_estimate_duration(GF_M2TS_Demuxer *ts, u64 PCR, u16 pcr_pid) u64 117 src/media_tools/mpegts.c u64 file_size = 0; u64 161 src/media_tools/mpegts.c pck.PTS = (u64) (ts->duration*1000); u64 639 src/media_tools/mpegts.c u64 PTS; u64 997 src/media_tools/mpegts.c u64 PTS; u64 2770 src/media_tools/mpegts.c u64 gf_m2ts_get_pts(unsigned char *data) u64 2772 src/media_tools/mpegts.c u64 pts; u64 2774 src/media_tools/mpegts.c pts = (u64)((data[0] >> 1) & 0x07) << 30; u64 2776 src/media_tools/mpegts.c pts |= (u64)(val >> 1) << 15; u64 2778 src/media_tools/mpegts.c pts |= (u64)(val >> 1); u64 3117 src/media_tools/mpegts.c u64 PCR = (u64) base; u64 3414 src/media_tools/mpegts.c u64 diff = ABS(diff_in_us - prev_diff_in_us); u64 3932 src/media_tools/mpegts.c GF_Err gf_m2ts_demux_file(GF_M2TS_Demuxer *ts, const char *fileName, u64 start_byterange, u64 end_byterange, u32 refresh_type, Bool signal_end_of_stream) u64 3937 src/media_tools/mpegts.c u64 read; u64 3997 src/media_tools/mpegts.c u64 avail = gf_bs_available(bs); u64 4670 src/media_tools/mpegts.c static void rewrite_pts_dts(unsigned char *ptr, u64 TS) u64 4681 src/media_tools/mpegts.c assert(((u64)(ptr[0]&0xe)<<29) + ((u64)ptr[1]<<22) + ((u64)(ptr[2]&0xfe)<<14) + ((u64)ptr[3]<<7) + ((ptr[4]&0xfe)>>1) == TS); u64 4685 src/media_tools/mpegts.c if (_TS < (u64) -ts_shift) _TS = pcr_mod + _TS + ts_shift; \ u64 4693 src/media_tools/mpegts.c u64 pcr_mod; u64 4701 src/media_tools/mpegts.c u64 pcr_base=0, pcr_ext=0; u64 4717 src/media_tools/mpegts.c pcr_base = (((u64)pck[6])<<25) + (pck[7]<<17) + (pck[8]<<9) + (pck[9]<<1) + (pck[10]>>7); u64 4753 src/media_tools/mpegts.c u64 PTS; u64 4766 src/media_tools/mpegts.c u64 DTS = gf_m2ts_get_pts(pesh + 14); u64 289 src/media_tools/text_import.c u64 start, end, prev_end, file_size; u64 437 src/media_tools/text_import.c s->DTS = (u64) ((timescale*prev_end)/1000); u64 447 src/media_tools/text_import.c s->DTS = (u64) ((timescale*start)/1000); u64 711 src/media_tools/text_import.c s->DTS = (u64) ((timescale*end)/1000); u64 757 src/media_tools/text_import.c s->DTS = (u64) (flusher->timescale*gf_webvtt_sample_get_start(samp)/1000); u64 913 src/media_tools/text_import.c static void ttml_import_progress(void *cbk, u64 cur_samp, u64 count) u64 949 src/media_tools/text_import.c u64 last_sample_duration, last_sample_end; u64 1355 src/media_tools/text_import.c static GF_Err swf_svg_add_iso_sample(void *user, const char *data, u32 length, u64 timestamp, Bool isRap) u64 1368 src/media_tools/text_import.c s->DTS = (u64) (flusher->timescale*timestamp/1000); u64 1521 src/media_tools/text_import.c u64 file_size; u64 1718 src/media_tools/text_import.c s->DTS = (u64) (FPS*(s64)prev_end); u64 1726 src/media_tools/text_import.c s->DTS = (u64) (FPS*(s64)start); u64 1739 src/media_tools/text_import.c s->DTS = (u64)(FPS*(s64)end); u64 1816 src/media_tools/text_import.c static void ttxt_import_progress(void *cbk, u64 cur_samp, u64 count) u64 1826 src/media_tools/text_import.c u64 last_sample_duration; u64 2211 src/media_tools/text_import.c static void texml_import_progress(void *cbk, u64 cur_samp, u64 count) u64 2220 src/media_tools/text_import.c u64 DTS; u64 555 src/media_tools/vobsub.c GF_Err vobsub_packetize_subpicture(FILE *fsub, u64 pts, char *data, u32 dataSize) u64 36 src/media_tools/webvtt.c u64 start; u64 37 src/media_tools/webvtt.c u64 end; u64 457 src/media_tools/webvtt.c u64 file_size; u64 460 src/media_tools/webvtt.c u64 last_duration; u64 560 src/media_tools/webvtt.c u64 gf_webvtt_sample_get_start(GF_WebVTTSample * samp) u64 653 src/media_tools/webvtt.c u64 gf_webvtt_parser_last_duration(GF_WebVTTParser *parser) u64 666 src/media_tools/webvtt.c u64 cue_start; u64 667 src/media_tools/webvtt.c u64 cue_end; u64 668 src/media_tools/webvtt.c u64 sample_end; u64 1118 src/media_tools/webvtt.c GF_List *gf_webvtt_parse_iso_cues(GF_ISOSample *iso_sample, u64 start) u64 1124 src/media_tools/webvtt.c GF_List *gf_webvtt_parse_cues_from_data(const char *data, u32 dataLength, u64 start) u64 1179 src/media_tools/webvtt.c GF_Err gf_webvtt_merge_cues(GF_WebVTTParser *parser, u64 start, GF_List *cues) u64 1274 src/media_tools/webvtt.c u64 start; u64 1291 src/media_tools/webvtt.c void gf_webvtt_timestamp_set(GF_WebVTTTimestamp *ts, u64 value) u64 1293 src/media_tools/webvtt.c u64 tmp; u64 1305 src/media_tools/webvtt.c u64 gf_webvtt_timestamp_get(GF_WebVTTTimestamp *ts) u64 1403 src/media_tools/webvtt.c static GF_Err gf_webvtt_parser_dump_finalize(GF_WebVTTParser *parser, u64 duration) u64 1485 src/media_tools/webvtt.c u64 duration; u64 126 src/odf/ipmpx_dump.c static void DumpLargeInt(FILE *trace, char *attName, u64 val, u32 indent, Bool XMTDump) u64 2396 src/odf/odf_code.c u64 nbBytes = 0; u64 2417 src/odf/odf_code.c u64 pos; u64 150 src/odf/odf_codec.c codec->bs = gf_bs_new(au, (u64) au_length, (unsigned char)GF_BITSTREAM_READ); u64 298 src/odf/odf_codec.c bs = gf_bs_new(raw_desc, (u64) descSize, GF_BITSTREAM_READ); u64 360 src/odf/odf_dump.c static void DumpData(FILE *trace, const char *name, char *data, u64 dataLength, u32 indent, Bool XMTDump) u64 362 src/odf/odf_dump.c u64 i; u64 884 src/odf/odf_dump.c u64 len; u64 72 src/scene_manager/encode_isom.c u64 dur = gf_isom_get_media_duration(mp4, track); u64 432 src/scene_manager/encode_isom.c u64 last_rap, dur, time_slice, avg_rate, prev_dts; u64 764 src/scene_manager/encode_isom.c if (au->timing_sec) au->timing = (u64) (au->timing_sec * esd->slConfig->timestampResolution + 0.0005); u64 837 src/scene_manager/encode_isom.c u64 r_dts = samp->DTS; u64 933 src/scene_manager/encode_isom.c u64 tot_dur = mux->duration * esd->slConfig->timestampResolution / 1000; u64 934 src/scene_manager/encode_isom.c u64 dur = gf_isom_get_media_duration(mp4, track); u64 968 src/scene_manager/encode_isom.c u64 dur, time_slice, init_offset, avg_rate, last_rap, last_not_shadow, prev_dts; u64 1073 src/scene_manager/encode_isom.c if (au->timing_sec) au->timing = (u64) (au->timing_sec * esd->slConfig->timestampResolution + 0.0005); u64 265 src/scene_manager/loader_isom.c u64 EditTime, dur, mtime; u64 149 src/scene_manager/loader_svg.c static void svg_progress(void *cbk, u64 done, u64 total) u64 230 src/scene_manager/loader_svg.c u64 size; u64 274 src/scene_manager/loader_svg.c u64 size64; u64 155 src/scene_manager/loader_xmt.c static void xmt_progress(void *cbk, u64 done, u64 total) u64 3199 src/scene_manager/scene_dump.c static void gf_sm_dump_saf_hdr(GF_SceneDumper *dumper, char *unit_name, u64 au_time, Bool is_rap) u64 3379 src/scene_manager/scene_dump.c u64 autime, time; u64 3397 src/scene_manager/scene_dump.c au->timing = (u64) (au->timing_sec * au->owner->timeScale); u64 298 src/scene_manager/scene_engine.c u64 fsize; u64 546 src/scene_manager/scene_engine.c if (au->timing_sec) au->timing = (u64) (au->timing_sec * sc->timeScale); u64 175 src/scene_manager/scene_manager.c GF_AUContext *gf_sm_stream_au_new(GF_StreamContext *stream, u64 timing, Double time_sec, Bool isRap) u64 179 src/scene_manager/scene_manager.c u64 tmp_timing; u64 181 src/scene_manager/scene_manager.c tmp_timing = timing ? timing : (u64) (time_sec*1000); u64 2558 src/scene_manager/swf_parse.c GF_Err (*add_sample)(void *user, const char *data, u32 length, u64 timestamp, Bool isRap), u64 41 src/scene_manager/swf_svg.c u64 start; u64 42 src/scene_manager/swf_svg.c u64 end; u64 532 src/scene_manager/swf_svg.c GF_Err swf_svg_write_text_sample(void *user, const char *data, u32 length, u64 timestamp, Bool isRap) u64 839 src/scenegraph/dom_smjs.c handler->js_fun_val = *(u64 *) &funval; u64 3326 src/scenegraph/dom_smjs.c u64 fsize; u64 1117 src/scenegraph/html5_media_smjs.c u64 *start_value = (u64 *)gf_list_get(timeranges->times, 2*i); u64 1143 src/scenegraph/html5_media_smjs.c u64 *end_value = (u64 *)gf_list_get(timeranges->times, 2*i+1); u64 4587 src/scenegraph/vrml_smjs.c u64 fsize; u64 73 src/scenegraph/xbl_process.c static void xbl_parse_progress(void *cbk, u64 done, u64 total) u64 1034 src/scenegraph/xml_ns.c u64 fsize; u64 683 src/terminal/channel.c if (duration) ch->au_duration = (u32) ((u64)1000 * duration / ch->ts_res); u64 966 src/terminal/channel.c u64 diff_ts; u64 969 src/terminal/channel.c diff_ts = (u64) (ch->seed_ts * scale); u64 1153 src/terminal/channel.c u64 diff = ch->seed_ts - ch->net_cts; u64 1171 src/terminal/channel.c u64 dts= ch->ts_offset + (s64) (ch->net_dts) * 1000 / ch->ts_res; u64 1180 src/terminal/channel.c ch->CTS = (u32) (ch->ts_offset + (u64) (ch->net_cts * 1000 / ch->ts_res - ch->ts_shift) ); u64 1181 src/terminal/channel.c ch->DTS = (u32) (ch->ts_offset + (u64) (ch->net_dts * 1000 / ch->ts_res - ch->ts_shift) ); u64 1874 src/terminal/channel.c gf_odm_set_duration(ch->odm, ch, (u64) (1000*com.duration.duration)); u64 421 src/terminal/decoder.c static void codec_update_stats(GF_Codec *codec, u32 dataLength, u64 dec_time, u32 DTS, Bool is_rap) u64 731 src/terminal/decoder.c u64 now; u64 890 src/terminal/decoder.c u64 now; u64 1070 src/terminal/decoder.c u64 now, entryTime; u64 671 src/terminal/media_control.c u64 dur = odm->subscene ? odm->subscene->duration : odm->duration; u64 407 src/terminal/media_manager.c u64 time_taken; u64 64 src/terminal/media_memory.h u64 sender_ntp; u64 102 src/terminal/media_memory.h u64 sender_ntp; u64 141 src/terminal/media_memory.h u64 LastRenderedNTP; u64 860 src/terminal/media_object.c mo->odm->media_start_time = (u64) (clipBegin*1000); u64 869 src/terminal/media_object.c mo->odm->media_stop_time = (u64) (clipEnd*1000); u64 870 src/terminal/media_object.c if (mo->odm->duration && (mo->odm->media_stop_time >=0) && ((u64) mo->odm->media_stop_time > mo->odm->duration)) { u64 1276 src/terminal/media_object.c u64 dur; u64 180 src/terminal/mpeg4_inline.c u64 dur = scene->duration; u64 603 src/terminal/network_service.c gf_scene_restart_dynamic(scene, (u64) (com->play.start_range*1000), 0, 0); u64 1500 src/terminal/object_manager.c odm->media_start_time = (u64) ((s64) seg->startTime*1000); u64 1501 src/terminal/object_manager.c odm->media_stop_time = (u64) ((s64) (seg->startTime + seg->Duration)*1000); u64 1553 src/terminal/object_manager.c u64 range_end; u64 1731 src/terminal/object_manager.c odm->media_stop_time = (u64) ceil(1000 * com.play.end_range); u64 2024 src/terminal/object_manager.c void gf_odm_set_duration(GF_ObjectManager *odm, GF_Channel *ch, u64 stream_duration) u64 904 src/terminal/scene.c u64 max_dur; u64 2697 src/terminal/scene.c Bool gf_scene_check_addon_restart(GF_AddonMedia *addon, u64 cts, u64 dts) u64 2765 src/terminal/scene.c s64 gf_scene_adjust_timestamp_for_addon(GF_AddonMedia *addon, u64 orig_ts) u64 538 src/terminal/terminal.c static void gf_term_connect_from_time_ex(GF_Terminal * term, const char *URL, u64 startTime, u32 pause_at_first_frame, Bool secondary_scene, const char *parent_path) u64 911 src/terminal/terminal.c void gf_term_connect_from_time(GF_Terminal * term, const char *URL, u64 startTime, u32 pause_at_first_frame) u64 1425 src/terminal/terminal.c void gf_term_service_media_event_with_download(GF_ObjectManager *odm, GF_EventType event_type, u64 loaded_size, u64 total_size, u32 bytes_per_sec) u64 1707 src/terminal/terminal.c u32 gf_term_play_from_time(GF_Terminal *term, u64 from_time, u32 pause_at_first_frame) u64 831 src/utils/alloc.c u64 gf_memory_size() u64 833 src/utils/alloc.c return (u64) gpac_allocated_memory; u64 48 src/utils/bitstream.c u64 size; u64 50 src/utils/bitstream.c u64 position; u64 68 src/utils/bitstream.c GF_BitStream *gf_bs_new(const char *buffer, u64 BufferSize, u32 mode) u64 289 src/utils/bitstream.c u64 cur_pos = gf_bs_get_position(bs); u64 349 src/utils/bitstream.c u64 gf_bs_read_u64(GF_BitStream *bs) u64 351 src/utils/bitstream.c u64 ret; u64 359 src/utils/bitstream.c u64 gf_bs_read_long_int(GF_BitStream *bs, u32 nBits) u64 361 src/utils/bitstream.c u64 ret = 0; u64 405 src/utils/bitstream.c u64 orig = bs->position; u64 551 src/utils/bitstream.c void gf_bs_write_u64(GF_BitStream *bs, u64 value) u64 643 src/utils/bitstream.c u64 begin = bs->position; u64 725 src/utils/bitstream.c u64 gf_bs_available(GF_BitStream *bs) u64 733 src/utils/bitstream.c return (u64) -1; u64 754 src/utils/bitstream.c return (u64) (end - cur); u64 808 src/utils/bitstream.c void gf_bs_skip_bytes(GF_BitStream *bs, u64 nbBytes) u64 837 src/utils/bitstream.c void gf_bs_rewind_bits(GF_BitStream *bs, u64 nbBits) u64 839 src/utils/bitstream.c u64 nbBytes; u64 853 src/utils/bitstream.c static GF_Err BS_SeekIntern(GF_BitStream *bs, u64 offset) u64 892 src/utils/bitstream.c GF_Err gf_bs_seek(GF_BitStream *bs, u64 offset) u64 903 src/utils/bitstream.c u32 gf_bs_peek_bits(GF_BitStream *bs, u32 numBits, u64 byte_offset) u64 905 src/utils/bitstream.c u64 curPos; u64 928 src/utils/bitstream.c u64 gf_bs_get_refreshed_size(GF_BitStream *bs) u64 949 src/utils/bitstream.c u64 gf_bs_get_size(GF_BitStream *bs) u64 957 src/utils/bitstream.c u64 gf_bs_get_position(GF_BitStream *bs) u64 153 src/utils/cache.c u64 range_start, range_end; u64 272 src/utils/cache.c u64 gf_cache_get_start_range( const DownloadedCacheEntry entry ) u64 277 src/utils/cache.c u64 gf_cache_get_end_range( const DownloadedCacheEntry entry ) u64 386 src/utils/cache.c DownloadedCacheEntry gf_cache_create_entry ( GF_DownloadManager * dm, const char * cache_directory, const char * url , u64 start_range, u64 end_range, Bool mem_storage) u64 540 src/utils/cache.c u64 s, e; u64 746 src/utils/cache.c s64 gf_cache_reader_seek_at( GF_CacheReader reader, u64 seekPosition) { u64 947 src/utils/cache.c void gf_cache_set_end_range(DownloadedCacheEntry entry, u64 range_end) u64 2309 src/utils/color.c #define GFINTCAST (u64) u64 2399 src/utils/color.c #define GFINTCAST (u64) u64 2482 src/utils/color.c #define GFINTCAST (u64) u64 2565 src/utils/color.c #define GFINTCAST (u64) u64 2656 src/utils/color.c #define GFINTCAST (u64) u64 102 src/utils/downloader.c u64 startOffset; u64 103 src/utils/downloader.c u64 endOffset; u64 140 src/utils/downloader.c u64 start_time; u64 142 src/utils/downloader.c u64 start_time_utc; u64 149 src/utils/downloader.c u64 range_start, range_end; u64 182 src/utils/downloader.c u64 request_start_time; u64 203 src/utils/downloader.c u64 max_cache_size; u64 285 src/utils/downloader.c void gf_cache_set_end_range(DownloadedCacheEntry entry, u64 range_end); u64 525 src/utils/downloader.c DownloadedCacheEntry gf_cache_create_entry( GF_DownloadManager * dm, const char * cache_directory, const char * url, u64 start_range, u64 end_range, Bool mem_storage); u64 1353 src/utils/downloader.c u64 now; u64 1400 src/utils/downloader.c u64 now = gf_sys_clock_high_res(); u64 1573 src/utils/downloader.c GF_Err gf_dm_sess_set_range(GF_DownloadSession *sess, u64 start_range, u64 end_range, Bool discontinue_cache) u64 1716 src/utils/downloader.c u64 out_size; u64 1721 src/utils/downloader.c u64 *out_size = (u64 *) cbck; u64 1728 src/utils/downloader.c u64 out_size = 0; u64 2110 src/utils/downloader.c sess->bytes_per_sec = (u32) (1000 * (u64) sess->bytes_done / runtime); u64 2292 src/utils/downloader.c u64 gf_dm_sess_get_utc_start(GF_DownloadSession * sess) u64 3398 src/utils/downloader.c GF_Err gf_dm_wget(const char *url, const char *filename, u64 start_range, u64 end_range, char **redirected_url) u64 3410 src/utils/downloader.c GF_Err gf_dm_wget_with_cache(GF_DownloadManager * dm, const char *url, const char *filename, u64 start_range, u64 end_range, char **redirected_url) u64 3545 src/utils/downloader.c const char * gf_cache_get_cache_filename_range( const GF_DownloadSession * sess, u64 startOffset, u64 endOffset ) { u64 84 src/utils/error.c static u64 prev_pos = 0; u64 85 src/utils/error.c static u64 prev_pc = 0; u64 86 src/utils/error.c static void gf_on_progress_std(const char *_title, u64 done, u64 total) u64 120 src/utils/error.c void gf_set_progress(const char *title, u64 done, u64 total) u64 70 src/utils/os_divers.c static u64 sys_start_time_hr = 0; u64 90 src/utils/os_divers.c u64 gf_sys_clock_high_res() u64 512 src/utils/os_divers.c static u64 last_process_k_u_time = 0; u64 518 src/utils/os_divers.c static u64 last_total_k_u_time = 0; u64 531 src/utils/os_divers.c static u64 last_proc_idle_time = 0; u64 532 src/utils/os_divers.c static u64 last_proc_k_u_time = 0; u64 572 src/utils/os_divers.c static u64 last_cpu_u_k_time = 0; u64 573 src/utils/os_divers.c static u64 last_cpu_idle_time = 0; u64 574 src/utils/os_divers.c static u64 mem_at_startup = 0; u64 587 src/utils/os_divers.c static u64 (*OS_GetSysClockHR)(); u64 588 src/utils/os_divers.c u64 gf_sys_clock_high_res() u64 605 src/utils/os_divers.c static u64 OS_GetSysClockHIGHRES_FULL() u64 610 src/utils/os_divers.c return (u64) ((now.QuadPart * 1000000) / frequency.QuadPart); u64 622 src/utils/os_divers.c static u64 OS_GetSysClockNORMAL_FULL() u64 624 src/utils/os_divers.c u64 res = OS_GetSysClockNORMAL(); u64 678 src/utils/os_divers.c static u64 memory_at_gpac_startup = 0; u64 857 src/utils/os_divers.c u64 total_cpu_time, process_cpu_time; u64 861 src/utils/os_divers.c u64 creation, exit, kernel, user, process_k_u_time, proc_idle_time, proc_k_u_time; u64 884 src/utils/os_divers.c rti->gpac_memory = (u64) gpac_allocated_memory; u64 943 src/utils/os_divers.c u64 u_time; u64 1054 src/utils/os_divers.c u64 samp_sys_time, idle; u64 1081 src/utils/os_divers.c the_rti.gpac_memory = (u64) gpac_allocated_memory; u64 1122 src/utils/os_divers.c static u64 total_physical_memory = 0; u64 1129 src/utils/os_divers.c u64 result; u64 1131 src/utils/os_divers.c u64 process_u_k_time; u64 1166 src/utils/os_divers.c length = sizeof(u64); u64 1248 src/utils/os_divers.c u64 process_u_k_time; u64 1308 src/utils/os_divers.c if (res) process_u_k_time = (u64) (cutime + cstime); u64 1371 src/utils/os_divers.c u64 samp_sys_time; u64 1678 src/utils/os_divers.c u64 frac_part; u64 1693 src/utils/os_divers.c u64 gf_net_get_ntp_ts() u64 1695 src/utils/os_divers.c u64 res; u64 1705 src/utils/os_divers.c s32 gf_net_get_ntp_diff_ms(u64 ntp) u64 1716 src/utils/os_divers.c local += ((u64) local_f)*1000 / 0xFFFFFFFFULL; u64 1720 src/utils/os_divers.c remote += ((u64) remote_f)*1000 / 0xFFFFFFFFULL; u64 1820 src/utils/os_divers.c u64 gf_net_parse_date(const char *val) u64 1822 src/utils/os_divers.c u64 current_time; u64 1889 src/utils/os_divers.c current_time = (u64) ((*(LONGLONG *) &filet - TIMESPEC_TO_FILETIME_OFFSET) / 10000000); u64 1934 src/utils/os_divers.c u64 gf_net_get_utc() u64 1936 src/utils/os_divers.c u64 current_time; u64 1945 src/utils/os_divers.c current_time += (u64) msec; u64 265 src/utils/os_file.c u64 gf_file_modification_time(const char *filename) u64 526 src/utils/os_file.c file_info.last_modified = (u64) ((*(LONGLONG *) &FindData.ftLastWriteTime - TIMESPEC_TO_FILETIME_OFFSET) / 10000000); u64 605 src/utils/os_file.c u64 gf_ftell(FILE *fp) u64 608 src/utils/os_file.c return (u64) ftell(fp); u64 611 src/utils/os_file.c return (u64) ftello64(fp); u64 613 src/utils/os_file.c return (u64) ftell(fp); u64 616 src/utils/os_file.c return (u64) _ftelli64(fp); u64 618 src/utils/os_file.c return (u64) ftello64(fp); u64 620 src/utils/os_file.c return (u64) ftello(fp); u64 622 src/utils/os_file.c return (u64) ftell(fp); u64 627 src/utils/os_file.c u64 gf_fseek(FILE *fp, s64 offset, s32 whence) u64 630 src/utils/os_file.c return (u64) fseek(fp, (s32) offset, whence); u64 633 src/utils/os_file.c return (u64) fseeko64(fp, offset, whence); u64 635 src/utils/os_file.c return (u64) fseek(fp, (s32) offset, whence); u64 638 src/utils/os_file.c return (u64) _fseeki64(fp, offset, whence); u64 238 src/utils/symbian_os.cpp u64 gf_ftell(FILE *fp) u64 240 src/utils/symbian_os.cpp return (u64) ftell(fp); u64 244 src/utils/symbian_os.cpp u64 gf_fseek(FILE *fp, s64 offset, s32 whence) u64 1361 src/utils/xml_parser.c u64 pos; u64 1592 src/utils/xml_parser.c void (*OnProgress)(void *cbck, u64 done, u64 tot); u64 1770 src/utils/xml_parser.c static void dom_on_progress(void *cbck, u64 done, u64 tot) u64 2020 src/utils/xml_parser.c u64 offset = 0; u64 2148 src/utils/xml_parser.c if ((u64) size > offset)