/third_party/ffmpeg/libavformat/ |
H A D | seek.c | 640 int64_t min_ts = INT64_MIN, max_ts = INT64_MAX; in av_seek_frame() local 642 max_ts = timestamp; in av_seek_frame() 645 return avformat_seek_file(s, stream_index, min_ts, timestamp, max_ts, in av_seek_frame() 658 int64_t ts, int64_t max_ts, int flags) in avformat_seek_file() 660 if (min_ts > ts || max_ts < ts) in avformat_seek_file() 679 max_ts = av_rescale_rnd(max_ts, time_base.den, in avformat_seek_file() 686 ts, max_ts, flags); in avformat_seek_file() 700 int dir = (ts - (uint64_t)min_ts > (uint64_t)max_ts - ts ? AVSEEK_FLAG_BACKWARD : 0); in avformat_seek_file() 702 if (ret < 0 && ts != min_ts && max_ts ! in avformat_seek_file() 657 avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) avformat_seek_file() argument 756 ff_rescale_interval(AVRational tb_in, AVRational tb_out, int64_t *min_ts, int64_t *ts, int64_t *max_ts) ff_rescale_interval() argument [all...] |
H A D | concatdec.c | 823 int64_t min_ts, int64_t ts, int64_t max_ts, int flags) in try_seek() 830 max_ts = max_ts == INT64_MAX ? INT64_MAX : max_ts - t0; in try_seek() 835 &min_ts, &ts, &max_ts); in try_seek() 837 return avformat_seek_file(cat->avf, stream, min_ts, ts, max_ts, flags); in try_seek() 841 int64_t min_ts, int64_t ts, int64_t max_ts, int flags, AVFormatContext *cur_avf) in real_seek() 850 &min_ts, &ts, &max_ts); in real_seek() 877 ret = try_seek(avf, stream, min_ts, ts, max_ts, flags); in real_seek() 880 cat->files[left + 1].start_time < max_ts) { in real_seek() 822 try_seek(AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) try_seek() argument 840 real_seek(AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags, AVFormatContext *cur_avf) real_seek() argument 890 concat_seek(AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) concat_seek() argument [all...] |
H A D | subtitles.h | 140 int64_t min_ts, int64_t ts, int64_t max_ts, int flags); 150 int64_t min_ts, int64_t ts, int64_t max_ts, int flags);
|
H A D | subtitles.c | 254 int64_t min_ts, int64_t ts, int64_t max_ts, int flags) in ff_subtitles_queue_seek() 271 for (i = idx; i > 0 && q->subs[i]->pts > max_ts; i--) in ff_subtitles_queue_seek() 276 if (ts_selected < min_ts || ts_selected > max_ts) in ff_subtitles_queue_seek() 338 int64_t min_ts, int64_t ts, int64_t max_ts, int flags) in ff_subtitles_read_seek() 342 min_ts, ts, max_ts, flags); in ff_subtitles_read_seek() 253 ff_subtitles_queue_seek(FFDemuxSubtitlesQueue *q, AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) ff_subtitles_queue_seek() argument 337 ff_subtitles_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) ff_subtitles_read_seek() argument
|
H A D | aqtitledec.c | 110 int64_t min_ts, int64_t ts, int64_t max_ts, int flags) in aqt_read_seek() 114 min_ts, ts, max_ts, flags); in aqt_read_seek() 109 aqt_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) aqt_read_seek() argument
|
H A D | microdvddec.c | 172 int64_t min_ts, int64_t ts, int64_t max_ts, int flags) in microdvd_read_seek() 176 min_ts, ts, max_ts, flags); in microdvd_read_seek() 171 microdvd_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) microdvd_read_seek() argument
|
H A D | webvttdec.c | 178 int64_t min_ts, int64_t ts, int64_t max_ts, int flags) in webvtt_read_seek() 182 min_ts, ts, max_ts, flags); in webvtt_read_seek() 177 webvtt_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) webvtt_read_seek() argument
|
H A D | imfdec.c | 922 int64_t ts, int64_t max_ts, int flags) in imf_seek() 934 &min_ts, &ts, &max_ts); in imf_seek() 938 &min_ts, &ts, &max_ts); in imf_seek() 941 if (max_ts < min_ts) in imf_seek() 945 ts = FFMAX(FFMIN(ts, max_ts), min_ts); in imf_seek() 921 imf_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) imf_seek() argument
|
H A D | tedcaptionsdec.c | 350 int64_t min_ts, int64_t ts, int64_t max_ts, in tedcaptions_read_seek() 355 min_ts, ts, max_ts, flags); in tedcaptions_read_seek() 349 tedcaptions_read_seek(AVFormatContext *avf, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) tedcaptions_read_seek() argument
|
H A D | demux.h | 171 * @param[in] tb_in Timebase of the input `min_ts`, `ts` and `max_ts` 172 * @param[in] tb_out Timebase of the ouput `min_ts`, `ts` and `max_ts` 175 * @param[in,out] max_ts Upper bound of the interval 178 int64_t *min_ts, int64_t *ts, int64_t *max_ts);
|
H A D | mpeg.c | 1001 int64_t min_ts, int64_t ts, int64_t max_ts, int flags) in vobsub_read_seek() 1015 max_ts = av_rescale_rnd(max_ts, time_base.den, in vobsub_read_seek() 1020 min_ts, ts, max_ts, flags); in vobsub_read_seek() 1030 min_ts, ts, max_ts, flags); in vobsub_read_seek() 1000 vobsub_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) vobsub_read_seek() argument
|
H A D | avformat.h | 780 * can be presented successfully will be closest to ts and within min/max_ts. 783 int (*read_seek2)(struct AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags); 2249 * can be presented successfully will be closest to ts and within min/max_ts. 2266 * @param max_ts largest acceptable timestamp 2272 int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags);
|
H A D | sbgdec.c | 1509 int64_t min_ts, int64_t ts, int64_t max_ts, int flags) in sbg_read_seek2() 1508 sbg_read_seek2(AVFormatContext *avf, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) sbg_read_seek2() argument
|
/third_party/ffmpeg/tools/ |
H A D | seek_print.c | 39 " seek:stream:min_ts:ts:max_ts:flags\n" in usage() 49 int64_t min_ts, max_ts, ts; in main() local 92 &stream, &min_ts, &ts, &max_ts, &flags) == 5) { in main() 93 ret = avformat_seek_file(avf, stream, min_ts, ts, max_ts, flags); in main()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_kgsl.c | 301 max_ts(uint32_t a, uint32_t b) in max_ts() function 329 ret.timestamp = max_ts(ret.timestamp, sync->timestamp); in sync_merge()
|
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 2530 max_ts = max_dt.timestamp() 2534 self.assertEqual(max_ts, 253402300799.0) 2548 max_ts = ((self.theclass.max - timedelta(hours=23)).timestamp() + 2553 ("maximum", max_ts, max_dt), 2564 ("Too big by a little", max_ts + timedelta(days=1).total_seconds()), 2565 ("Too big by a lot", max_ts + timedelta(days=400).total_seconds()), 2585 max_ts = max_dt.timestamp() 2589 ("maximum", max_ts, max_dt.replace(tzinfo=None)), 2603 ("Too big by a little", max_ts + 1), 2604 ("Too big by a lot", max_ts [all...] |