Lines Matching refs:AV_NOPTS_VALUE
105 st->internal->pts_wrap_reference != AV_NOPTS_VALUE && timestamp != AV_NOPTS_VALUE) { in wrap_timestamp()
142 return AV_NOPTS_VALUE; in MAKE_ACCESSORS()
584 s->duration = s->start_time = AV_NOPTS_VALUE; in avformat_open_input()
752 if (ref == AV_NOPTS_VALUE) in update_wrap_reference()
754 …if (st->internal->pts_wrap_reference != AV_NOPTS_VALUE || st->pts_wrap_bits >= 63 || ref == AV_NOP… in update_wrap_reference()
769 if (s->streams[default_stream_index]->internal->pts_wrap_reference == AV_NOPTS_VALUE) { in update_wrap_reference()
785 if (program->pts_wrap_reference != AV_NOPTS_VALUE) { in update_wrap_reference()
1052 if (dts == AV_NOPTS_VALUE) { in select_from_pts_buffer()
1065 if (pts_buffer[i] != AV_NOPTS_VALUE) { in select_from_pts_buffer()
1080 if (dts == AV_NOPTS_VALUE) in select_from_pts_buffer()
1100 pts_buffer[i] = AV_NOPTS_VALUE; in update_dts_from_pts()
1106 if (pkt_buffer->pkt.pts != AV_NOPTS_VALUE && delay <= MAX_REORDER_DELAY) { in update_dts_from_pts()
1125 if (st->first_dts != AV_NOPTS_VALUE || in update_initial_timestamps()
1126 dts == AV_NOPTS_VALUE || in update_initial_timestamps()
1127 st->cur_dts == AV_NOPTS_VALUE || in update_initial_timestamps()
1149 if (st->start_time == AV_NOPTS_VALUE && pktl_it->pkt.pts != AV_NOPTS_VALUE) { in update_initial_timestamps()
1160 if (st->start_time == AV_NOPTS_VALUE) { in update_initial_timestamps()
1175 if (st->first_dts != AV_NOPTS_VALUE) { in update_initial_durations()
1183 pktl->pkt.dts != AV_NOPTS_VALUE || in update_initial_durations()
1207 pktl->pkt.pts == AV_NOPTS_VALUE) && in update_initial_durations()
1208 (pktl->pkt.dts == AV_NOPTS_VALUE || in update_initial_durations()
1239 if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO && pkt->dts != AV_NOPTS_VALUE) { in compute_pkt_fields()
1240 if (pkt->dts == pkt->pts && st->internal->last_dts_for_order_check != AV_NOPTS_VALUE) { in compute_pkt_fields()
1258 pkt->dts = AV_NOPTS_VALUE; in compute_pkt_fields()
1261 if ((s->flags & AVFMT_FLAG_IGNDTS) && pkt->pts != AV_NOPTS_VALUE) in compute_pkt_fields()
1262 pkt->dts = AV_NOPTS_VALUE; in compute_pkt_fields()
1279 if (pkt->pts != AV_NOPTS_VALUE && pkt->dts != AV_NOPTS_VALUE && in compute_pkt_fields()
1293 pkt->dts != AV_NOPTS_VALUE && presentation_delayed) { in compute_pkt_fields()
1297 pkt->dts = AV_NOPTS_VALUE; in compute_pkt_fields()
1320 if (pkt->pts != AV_NOPTS_VALUE) in compute_pkt_fields()
1322 if (pkt->dts != AV_NOPTS_VALUE) in compute_pkt_fields()
1327 if (pkt->dts != AV_NOPTS_VALUE && in compute_pkt_fields()
1328 pkt->pts != AV_NOPTS_VALUE && in compute_pkt_fields()
1345 if (pkt->dts == AV_NOPTS_VALUE) in compute_pkt_fields()
1348 if (pkt->dts == AV_NOPTS_VALUE) in compute_pkt_fields()
1355 if (pkt->dts != AV_NOPTS_VALUE) in compute_pkt_fields()
1357 if (pkt->dts != AV_NOPTS_VALUE && in compute_pkt_fields()
1358 pkt->pts == AV_NOPTS_VALUE && in compute_pkt_fields()
1362 next_pts != AV_NOPTS_VALUE) in compute_pkt_fields()
1370 } else if (pkt->pts != AV_NOPTS_VALUE || in compute_pkt_fields()
1371 pkt->dts != AV_NOPTS_VALUE || in compute_pkt_fields()
1375 if (pkt->pts == AV_NOPTS_VALUE) in compute_pkt_fields()
1379 if (pkt->pts == AV_NOPTS_VALUE) in compute_pkt_fields()
1382 if (pkt->pts != AV_NOPTS_VALUE && duration.num >= 0) in compute_pkt_fields()
1387 if (pkt->pts != AV_NOPTS_VALUE && delay <= MAX_REORDER_DELAY) { in compute_pkt_fields()
1436 compute_pkt_fields(s, st, st->parser, pkt, AV_NOPTS_VALUE, AV_NOPTS_VALUE); in parse_packet()
1448 pkt->pts = pkt->dts = AV_NOPTS_VALUE; in parse_packet()
1601 if (pkt->pts != AV_NOPTS_VALUE && in read_frame_internal()
1602 pkt->dts != AV_NOPTS_VALUE && in read_frame_internal()
1637 compute_pkt_fields(s, st, NULL, pkt, AV_NOPTS_VALUE, AV_NOPTS_VALUE); in read_frame_internal()
1639 (pkt->flags & AV_PKT_FLAG_KEY) && pkt->dts != AV_NOPTS_VALUE) { in read_frame_internal()
1671 if (st->internal->first_discard_sample && pkt->pts != AV_NOPTS_VALUE) { in read_frame_internal()
1764 if (next_pkt->dts != AV_NOPTS_VALUE) { in av_read_frame()
1770 while (pktl && next_pkt->pts == AV_NOPTS_VALUE) { in av_read_frame()
1777 if (last_dts != AV_NOPTS_VALUE) { in av_read_frame()
1784 if (eof && next_pkt->pts == AV_NOPTS_VALUE && last_dts != AV_NOPTS_VALUE) { in av_read_frame()
1797 if (!(next_pkt->pts == AV_NOPTS_VALUE && st->discard < AVDISCARD_ALL && in av_read_frame()
1798 next_pkt->dts != AV_NOPTS_VALUE && !eof)) { in av_read_frame()
1907 st->last_IP_pts = AV_NOPTS_VALUE; in ff_read_frame_flush()
1908 st->internal->last_dts_for_order_check = AV_NOPTS_VALUE; in ff_read_frame_flush()
1909 if (st->first_dts == AV_NOPTS_VALUE) in ff_read_frame_flush()
1913 st->cur_dts = AV_NOPTS_VALUE; in ff_read_frame_flush()
1918 st->internal->pts_buffer[j] = AV_NOPTS_VALUE; in ff_read_frame_flush()
1966 if (timestamp == AV_NOPTS_VALUE) in ff_add_index_entry()
2161 ts_min = AV_NOPTS_VALUE; in ff_seek_frame_binary()
2226 } while (ts_max == AV_NOPTS_VALUE && 2*limit > step); in ff_find_last_ts()
2227 if (ts_max == AV_NOPTS_VALUE) in ff_find_last_ts()
2234 if (tmp_ts == AV_NOPTS_VALUE) in ff_find_last_ts()
2265 if (ts_min == AV_NOPTS_VALUE) { in ff_gen_search()
2268 if (ts_min == AV_NOPTS_VALUE) in ff_gen_search()
2277 if (ts_max == AV_NOPTS_VALUE) { in ff_gen_search()
2328 if (ts == AV_NOPTS_VALUE) { in ff_gen_search()
2623 if (st->duration != AV_NOPTS_VALUE)
2626 if (ic->duration != AV_NOPTS_VALUE)
2654 if (st->start_time != AV_NOPTS_VALUE && st->time_base.den) {
2664 …if (end_time1 != AV_NOPTS_VALUE && (end_time1 > 0 ? start_time1 <= INT64_MAX - end_time1 : start_t…
2672 if (p->start_time == AV_NOPTS_VALUE || p->start_time > start_time1)
2678 if (st->duration != AV_NOPTS_VALUE) {
2708 if (p->start_time != AV_NOPTS_VALUE &&
2718 if (duration != INT64_MIN && duration > 0 && ic->duration == AV_NOPTS_VALUE) {
2738 if (st->start_time == AV_NOPTS_VALUE) {
2739 if (ic->start_time != AV_NOPTS_VALUE)
2742 if (ic->duration != AV_NOPTS_VALUE)
2779 if (ic->duration == AV_NOPTS_VALUE &&
2787 && st->duration == AV_NOPTS_VALUE) {
2821 if (st->start_time == AV_NOPTS_VALUE &&
2822 st->first_dts == AV_NOPTS_VALUE &&
2861 if (pkt->pts != AV_NOPTS_VALUE &&
2862 (st->start_time != AV_NOPTS_VALUE ||
2863 st->first_dts != AV_NOPTS_VALUE)) {
2875 if (st->start_time != AV_NOPTS_VALUE)
2880 if (st->duration == AV_NOPTS_VALUE || st->internal->info->last_duration<= 0 ||
2897 if (st->duration == AV_NOPTS_VALUE)
2911 if (st->duration == AV_NOPTS_VALUE) {
2915 if (st->start_time != AV_NOPTS_VALUE || st->first_dts != AV_NOPTS_VALUE) {
2931 st->last_IP_pts = AV_NOPTS_VALUE;
2932 st->internal->last_dts_for_order_check = AV_NOPTS_VALUE;
2934 st->internal->pts_buffer[j] = AV_NOPTS_VALUE;
3283 ((s->start_time == AV_NOPTS_VALUE) ? 0 : s->start_time);
3290 if (timetable[i]->end == AV_NOPTS_VALUE) {
3387 if ( ts != AV_NOPTS_VALUE && last != AV_NOPTS_VALUE && ts > last
3436 if (ts != AV_NOPTS_VALUE)
3503 st->internal->info->last_dts = AV_NOPTS_VALUE;
3757 ic->streams[i]->internal->info->last_dts = AV_NOPTS_VALUE;
3759 ic->streams[i]->internal->info->fps_first_dts = AV_NOPTS_VALUE;
3760 ic->streams[i]->internal->info->fps_last_dts = AV_NOPTS_VALUE;
3810 if (st->first_dts == AV_NOPTS_VALUE &&
3883 if (pkt->dts != AV_NOPTS_VALUE && st->codec_info_nb_frames > 1) {
3885 if (st->internal->info->fps_last_dts != AV_NOPTS_VALUE &&
3894 st->internal->info->fps_last_dts = AV_NOPTS_VALUE;
3899 if (st->internal->info->fps_last_dts != AV_NOPTS_VALUE &&
3911 st->internal->info->fps_last_dts = AV_NOPTS_VALUE;
3915 if (st->internal->info->fps_first_dts == AV_NOPTS_VALUE) {
3933 && st->internal->info->fps_first_dts != AV_NOPTS_VALUE
3934 && st->internal->info->fps_last_dts != AV_NOPTS_VALUE) {
3952 …codec_type == AVMEDIA_TYPE_SUBTITLE && pkt->pts != AV_NOPTS_VALUE && st->start_time != AV_NOPTS_VA…
3965 if (pkt->dts != pkt->pts && pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE)
4580 st->internal->info->last_dts = AV_NOPTS_VALUE;
4606 st->cur_dts = AV_NOPTS_VALUE;
4610 st->start_time = AV_NOPTS_VALUE;
4611 st->duration = AV_NOPTS_VALUE;
4612 st->first_dts = AV_NOPTS_VALUE;
4614 st->internal->pts_wrap_reference = AV_NOPTS_VALUE;
4617 st->last_IP_pts = AV_NOPTS_VALUE;
4618 st->internal->last_dts_for_order_check = AV_NOPTS_VALUE;
4620 st->internal->pts_buffer[i] = AV_NOPTS_VALUE;
4625 st->internal->info->last_dts = AV_NOPTS_VALUE;
4627 st->internal->info->fps_first_dts = AV_NOPTS_VALUE;
4628 st->internal->info->fps_last_dts = AV_NOPTS_VALUE;
4664 program->pts_wrap_reference = AV_NOPTS_VALUE;
4667 program->end_time = AV_NOPTS_VALUE;
4682 if (end != AV_NOPTS_VALUE && start > end) {