Home
last modified time | relevance | path

Searched refs:AV_NOPTS_VALUE (Results 1 – 25 of 224) sorted by relevance

123456789

/third_party/ffmpeg/libavfilter/
Dtrim.c77 s->first_pts = AV_NOPTS_VALUE; in init()
91 if (s->start_pts == AV_NOPTS_VALUE || start_pts < s->start_pts) in config_input()
96 if (s->end_pts == AV_NOPTS_VALUE || end_pts > s->end_pts) in config_input()
116 … OFFSET(start_pts), AV_OPT_TYPE_INT64, { .i64 = AV_NOPTS_VALUE }, INT64_MIN, …
118 … OFFSET(end_pts), AV_OPT_TYPE_INT64, { .i64 = AV_NOPTS_VALUE }, INT64_MIN, …
136 if (s->start_frame >= 0 || s->start_pts != AV_NOPTS_VALUE) { in trim_filter_frame()
140 if (s->start_pts != AV_NOPTS_VALUE && frame->pts != AV_NOPTS_VALUE && in trim_filter_frame()
147 if (s->first_pts == AV_NOPTS_VALUE && frame->pts != AV_NOPTS_VALUE) in trim_filter_frame()
150 if (s->end_frame != INT64_MAX || s->end_pts != AV_NOPTS_VALUE || s->duration_tb) { in trim_filter_frame()
155 if (s->end_pts != AV_NOPTS_VALUE && frame->pts != AV_NOPTS_VALUE && in trim_filter_frame()
[all …]
Dvf_vfrdet.c43 if (s->prev_pts != AV_NOPTS_VALUE) { in filter_frame()
46 if (s->delta == AV_NOPTS_VALUE) { in filter_frame()
72 s->prev_pts = AV_NOPTS_VALUE; in init()
73 s->delta = AV_NOPTS_VALUE; in init()
Dvf_separatefields.c82 if (second->pts != AV_NOPTS_VALUE && in filter_frame()
83 inpicref->pts != AV_NOPTS_VALUE) in filter_frame()
86 second->pts = AV_NOPTS_VALUE; in filter_frame()
99 if (inpicref->pts != AV_NOPTS_VALUE) in filter_frame()
Dyadif_common.c57 if (next_pts != AV_NOPTS_VALUE && cur_pts != AV_NOPTS_VALUE) { in return_frame()
60 yadif->out->pts = AV_NOPTS_VALUE; in return_frame()
141 if (yadif->out->pts != AV_NOPTS_VALUE) in ff_yadif_filter_frame()
153 if (yadif->out->pts != AV_NOPTS_VALUE) in ff_yadif_filter_frame()
Dvf_fps.c99 s->status_pts = AV_NOPTS_VALUE; in init()
100 s->next_pts = AV_NOPTS_VALUE; in init()
160 if (s->start_time != DBL_MAX && s->start_time != AV_NOPTS_VALUE) { in config_props()
220 if (s->next_pts == AV_NOPTS_VALUE) { in write_frame()
221 if (s->frames[0]->pts != AV_NOPTS_VALUE) { in write_frame()
/third_party/ffmpeg/libavcodec/
Dsetts_bsf.c118 s->start_pts = AV_NOPTS_VALUE; in setts_init()
119 s->start_dts = AV_NOPTS_VALUE; in setts_init()
120 s->prev_inpts = AV_NOPTS_VALUE; in setts_init()
121 s->prev_indts = AV_NOPTS_VALUE; in setts_init()
122 s->prev_outpts = AV_NOPTS_VALUE; in setts_init()
123 s->prev_outdts = AV_NOPTS_VALUE; in setts_init()
138 if (s->start_pts == AV_NOPTS_VALUE) in setts_filter()
141 if (s->start_dts == AV_NOPTS_VALUE) in setts_filter()
Daudio_frame_queue.c55 if (f->pts != AV_NOPTS_VALUE) { in ff_af_queue_add()
63 new->pts = AV_NOPTS_VALUE; in ff_af_queue_add()
78 int64_t out_pts = AV_NOPTS_VALUE; in ff_af_queue_remove()
83 if (afq->frames->pts != AV_NOPTS_VALUE) in ff_af_queue_remove()
96 if(afq->frames[i].pts != AV_NOPTS_VALUE) in ff_af_queue_remove()
107 if(afq->frames && afq->frames[0].pts != AV_NOPTS_VALUE) in ff_af_queue_remove()
/third_party/ffmpeg/libavformat/
Dconcatdec.c153 file->start_time = AV_NOPTS_VALUE; in add_file()
154 file->duration = AV_NOPTS_VALUE; in add_file()
155 file->next_dts = AV_NOPTS_VALUE; in add_file()
156 file->inpoint = AV_NOPTS_VALUE; in add_file()
157 file->outpoint = AV_NOPTS_VALUE; in add_file()
158 file->user_duration = AV_NOPTS_VALUE; in add_file()
317 if (file->user_duration != AV_NOPTS_VALUE) in get_best_effort_duration()
319 if (file->outpoint != AV_NOPTS_VALUE) in get_best_effort_duration()
323 if (file->next_dts != AV_NOPTS_VALUE) in get_best_effort_duration()
325 return AV_NOPTS_VALUE; in get_best_effort_duration()
[all …]
Dutils.c105 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()
[all …]
Dmux.c430 int64_t den = AV_NOPTS_VALUE;
449 if (den != AV_NOPTS_VALUE) {
474 avio_write_marker(s->pb, AV_NOPTS_VALUE, AVIO_DATA_MARKER_FLUSH_POINT);
517 avio_write_marker(s->pb, AV_NOPTS_VALUE, AVIO_DATA_MARKER_HEADER);
527 avio_write_marker(s->pb, AV_NOPTS_VALUE, AVIO_DATA_MARKER_UNKNOWN);
556 (pkt->pts == AV_NOPTS_VALUE || pkt->dts == AV_NOPTS_VALUE)) {
568 if (pkt->pts == AV_NOPTS_VALUE && pkt->dts != AV_NOPTS_VALUE && delay == 0)
572 if ((pkt->pts == 0 || pkt->pts == AV_NOPTS_VALUE) && pkt->dts == AV_NOPTS_VALUE && !delay) {
584 if (pkt->pts != AV_NOPTS_VALUE && pkt->dts == AV_NOPTS_VALUE && delay <= MAX_REORDER_DELAY) {
586 for (i = 1; i < delay + 1 && st->internal->pts_buffer[i] == AV_NOPTS_VALUE; i++)
[all …]
Doggdec.c169 os->lastpts = AV_NOPTS_VALUE; in ogg_reset()
170 os->lastdts = AV_NOPTS_VALUE; in ogg_reset()
652 if (s->duration != AV_NOPTS_VALUE) in ogg_get_length()
671 if (s->streams[i]->start_time != AV_NOPTS_VALUE) { in ogg_get_length()
694 if (s->streams[i]->duration == AV_NOPTS_VALUE) in ogg_get_length()
696 …if (pts != AV_NOPTS_VALUE && s->streams[i]->start_time == AV_NOPTS_VALUE && !ogg->streams[i].got_s… in ogg_get_length()
700 }else if(s->streams[i]->start_time != AV_NOPTS_VALUE && !ogg->streams[i].got_start) { in ogg_get_length()
778 int64_t pts = AV_NOPTS_VALUE; in ogg_calc_pts()
781 *dts = AV_NOPTS_VALUE; in ogg_calc_pts()
783 if (os->lastpts != AV_NOPTS_VALUE) { in ogg_calc_pts()
[all …]
Dmpegenc.c561 s->last_scr = AV_NOPTS_VALUE; in mpeg_mux_init()
579 if (s->vcd_padding_bitrate_num > 0 && pts != AV_NOPTS_VALUE) { in get_vcd_padding_size()
672 if (pts != AV_NOPTS_VALUE) { in flush_packet()
759 if (pts != AV_NOPTS_VALUE) { in flush_packet()
785 if (payload_size <= trailer_size && pts != AV_NOPTS_VALUE) { in flush_packet()
789 if (pts != AV_NOPTS_VALUE) in flush_packet()
792 dts = AV_NOPTS_VALUE; in flush_packet()
846 if (pts != AV_NOPTS_VALUE) { in flush_packet()
877 if (pts != AV_NOPTS_VALUE) { in flush_packet()
931 avio_write_marker(ctx->pb, AV_NOPTS_VALUE, AVIO_DATA_MARKER_FLUSH_POINT); in flush_packet()
[all …]
Dmpegtsenc.c1107 ts_st->payload_pts = AV_NOPTS_VALUE; in mpegts_init()
1108 ts_st->payload_dts = AV_NOPTS_VALUE; in mpegts_init()
1145 ts->last_pat_ts = AV_NOPTS_VALUE; in mpegts_init()
1146 ts->last_sdt_ts = AV_NOPTS_VALUE; in mpegts_init()
1168 if ((pcr != AV_NOPTS_VALUE && ts->last_sdt_ts == AV_NOPTS_VALUE) || in retransmit_si_info()
1169 (pcr != AV_NOPTS_VALUE && pcr - ts->last_sdt_ts >= ts->sdt_period) || in retransmit_si_info()
1172 if (pcr != AV_NOPTS_VALUE) in retransmit_si_info()
1176 if ((pcr != AV_NOPTS_VALUE && ts->last_pat_ts == AV_NOPTS_VALUE) || in retransmit_si_info()
1177 (pcr != AV_NOPTS_VALUE && pcr - ts->last_pat_ts >= ts->pat_period) || in retransmit_si_info()
1179 if (pcr != AV_NOPTS_VALUE) in retransmit_si_info()
[all …]
Dpva.c87 int64_t pva_pts = AV_NOPTS_VALUE, startpos; in read_part_of_packet()
177 if (pva_pts != AV_NOPTS_VALUE) in read_part_of_packet()
206 int64_t res = AV_NOPTS_VALUE; in pva_read_timestamp()
211 res = AV_NOPTS_VALUE; in pva_read_timestamp()
219 if (streamid - 1 != stream_index || res == AV_NOPTS_VALUE) { in pva_read_timestamp()
Doggparsetheora.c154 return AV_NOPTS_VALUE; in theora_gptopts()
182 if ((!os->lastpts || os->lastpts == AV_NOPTS_VALUE) && !(os->flags & OGG_FLAG_EOS)) { in theora_packet()
193 if (pts != AV_NOPTS_VALUE) in theora_packet()
196 if(s->streams[idx]->start_time == AV_NOPTS_VALUE && os->lastpts != AV_NOPTS_VALUE) { in theora_packet()
Doggdec.h156 uint64_t pts = AV_NOPTS_VALUE; in ogg_gptopts()
165 if (pts > INT64_MAX && pts != AV_NOPTS_VALUE) { in ogg_gptopts()
168 pts = AV_NOPTS_VALUE; in ogg_gptopts()
Dpjsdec.c59 return AV_NOPTS_VALUE; in read_ts()
63 return AV_NOPTS_VALUE; in read_ts()
91 if (pts_start != AV_NOPTS_VALUE) { in pjs_read_header()
Dflacdec.c145 avpriv_new_chapter(s, track, st->time_base, start, AV_NOPTS_VALUE, isrc); in flac_read_header()
266 int64_t pts = AV_NOPTS_VALUE; in flac_read_timestamp()
269 return AV_NOPTS_VALUE; in flac_read_timestamp()
273 return AV_NOPTS_VALUE; in flac_read_timestamp()
296 if (parser->pts != AV_NOPTS_VALUE){ in flac_read_timestamp()
Doggparsevorbis.c56 AV_NOPTS_VALUE, NULL); in ogm_chapter()
425 …if ((!os->lastpts || os->lastpts == AV_NOPTS_VALUE) && !(os->flags & OGG_FLAG_EOS) && (int64_t)os-… in vorbis_packet()
462 os->lastpts = os->lastdts = AV_NOPTS_VALUE; in vorbis_packet()
464 if (s->streams[idx]->start_time == AV_NOPTS_VALUE) { in vorbis_packet()
466 if (s->streams[idx]->duration != AV_NOPTS_VALUE) in vorbis_packet()
469 priv->final_pts = AV_NOPTS_VALUE; in vorbis_packet()
491 if (os->lastpts != AV_NOPTS_VALUE) { in vorbis_packet()
Dfifo.c174 int64_t duration = (*last_dts == AV_NOPTS_VALUE ? 0 : dts - *last_dts); in next_duration()
187 if (fifo->timeshift && pkt->dts != AV_NOPTS_VALUE) in fifo_thread_write_packet()
293 if (pkt->pts == AV_NOPTS_VALUE) in fifo_thread_process_recovery_failure()
334 AV_NOPTS_VALUE : 0; in fifo_thread_attempt_recovery()
337 if (ctx->last_recovery_ts == AV_NOPTS_VALUE) { in fifo_thread_attempt_recovery()
422 fifo_thread_ctx.last_received_dts = AV_NOPTS_VALUE; in fifo_consumer_thread()
520 fifo->last_sent_dts = AV_NOPTS_VALUE; in fifo_init()
596 if (fifo->timeshift && pkt && pkt->dts != AV_NOPTS_VALUE) in fifo_write_packet()
Doggparsevp8.c107 if ((!os->lastpts || os->lastpts == AV_NOPTS_VALUE) && in vp8_packet()
126 if(s->streams[idx]->start_time == AV_NOPTS_VALUE) { in vp8_packet()
128 if (s->streams[idx]->duration && s->streams[idx]->duration != AV_NOPTS_VALUE) in vp8_packet()
/third_party/ffmpeg/fftools/
Dffmpeg.c348 static int64_t copy_ts_first_pts = AV_NOPTS_VALUE;
786 pkt->pts = pkt->dts = AV_NOPTS_VALUE; in write_packet()
813 if (pkt->dts != AV_NOPTS_VALUE && in write_packet()
814 pkt->pts != AV_NOPTS_VALUE && in write_packet()
825 pkt->dts != AV_NOPTS_VALUE && in write_packet()
827 ost->last_mux_dts != AV_NOPTS_VALUE) { in write_packet()
939 double float_pts = AV_NOPTS_VALUE; // this is identical to frame.pts but with higher precision in adjust_frame_pts_to_encoder_tb()
941 if (!frame || frame->pts == AV_NOPTS_VALUE || in adjust_frame_pts_to_encoder_tb()
948 int64_t start_time = (of->start_time == AV_NOPTS_VALUE) ? 0 : of->start_time; in adjust_frame_pts_to_encoder_tb()
1016 if (frame->pts == AV_NOPTS_VALUE || audio_sync_method < 0) in do_audio_out()
[all …]
/third_party/ffmpeg/libavutil/
Dtimestamp.h45 if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS"); in av_ts_make_string()
67 if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS"); in av_ts_make_time_string()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavutils.h77 if (pts == AV_NOPTS_VALUE){ in gst_ffmpeg_time_ff_to_gst()
93 out = AV_NOPTS_VALUE; in gst_ffmpeg_time_gst_to_ff()
/third_party/ffmpeg/libavformat/tests/
Dseek.c49 if (ts == AV_NOPTS_VALUE) { in ts_str()
65 int64_t seekfirst = AV_NOPTS_VALUE; in main()
115 if(seekfirst != AV_NOPTS_VALUE){ in main()

123456789