Home
last modified time | relevance | path

Searched refs:max_pts (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvsrc_mptestsrc.c56 int64_t pts, max_pts, duration; member
265 test->max_pts = test->duration >= 0 ? in init()
271 test->duration < 0 ? -1 : test->max_pts * av_q2d(av_inv_q(test->frame_rate))); in init()
316 if (test->max_pts >= 0 && test->pts > test->max_pts) in request_frame()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/
Dgstmpeg2decoder.c47 GstClockTime max_pts; member
64 tsg->max_pts = GST_CLOCK_TIME_NONE; in _pts_init()
99 (GST_CLOCK_TIME_IS_VALID (tsg->max_pts) && tsg->max_pts >= gop_pts)) { in _pts_sync()
101 if (GST_CLOCK_TIME_IS_VALID (tsg->max_pts)) { in _pts_sync()
102 gop_pts = tsg->max_pts + _pts_get_duration (tsg, 1); in _pts_sync()
141 if (!GST_CLOCK_TIME_IS_VALID (tsg->max_pts) || tsg->max_pts < pts) in _pts_eval()
142 tsg->max_pts = pts; in _pts_eval()
/third_party/ffmpeg/libavformat/
Dnut.h111 int64_t max_pts; member
Ddashenc.c114 int64_t first_pts, start_pts, max_pts; member
1700 os->max_pts = AV_NOPTS_VALUE; in dash_init()
1967 duration = av_rescale_q(os->max_pts - os->start_pts, st->time_base, AV_TIME_BASE_Q); in dash_flush()
1970 if (!os->muxer_overhead && os->max_pts > os->start_pts) in dash_flush()
1979 …add_segment(os, os->filename, os->start_pts, os->max_pts - os->start_pts, os->pos, range_length, i… in dash_flush()
2183 if (os->max_pts != AV_NOPTS_VALUE) in dash_write_packet()
2184 os->start_pts = os->max_pts; in dash_write_packet()
2188 if (os->max_pts == AV_NOPTS_VALUE) in dash_write_packet()
2189 os->max_pts = pkt->pts + pkt->duration; in dash_write_packet()
2191 os->max_pts = FFMAX(os->max_pts, pkt->pts + pkt->duration); in dash_write_packet()
[all …]
Dnutdec.c682 uint64_t max_pts; in find_and_decode_index() local
702 max_pts = ffio_read_varlen(bc); in find_and_decode_index()
703 s->duration = av_rescale_q(max_pts / nut->time_base_count, in find_and_decode_index()
704 nut->time_base[max_pts % nut->time_base_count], in find_and_decode_index()
Dnutenc.c599 put_tt(nut, nut->max_pts_tb, bc, nut->max_pts); in write_index()
1164 …if (!nut->max_pts_tb || av_compare_ts(nut->max_pts, *nut->max_pts_tb, pkt->pts, *nus->time_base) <… in nut_write_packet()
1165 nut->max_pts = pkt->pts; in nut_write_packet()
/third_party/ffmpeg/tools/
Dismindex.c236 int64_t max_pts = 0; in read_trun_duration() local
262 max_pts = FFMAX(max_pts, pts + sample_duration); in read_trun_duration()
267 return max_pts - first_pts; in read_trun_duration()
/third_party/ffmpeg/fftools/
Dffmpeg.h328 int64_t max_pts; /* pts with the higher value in a current stream */ member
Dffmpeg.c4319 … if (ist->max_pts > ist->min_pts && ist->max_pts - (uint64_t)ist->min_pts < INT64_MAX - duration) in seek_to_start()
4320 duration += ist->max_pts - ist->min_pts; in seek_to_start()
4541 ist->max_pts = FFMAX(pkt->pts, ist->max_pts); in process_input()
Dffmpeg_opt.c813 ist->max_pts = INT64_MIN; in add_input_streams()