Home
last modified time | relevance | path

Searched refs:next_pts (Results 1 – 25 of 34) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_dejudder.c126 int64_t next_pts = frame->pts; in filter_frame() local
129 if (next_pts == AV_NOPTS_VALUE) in filter_frame()
134 s->new_pts = next_pts * 2 * s->cycle; in filter_frame()
136 if (next_pts < judbuff[s->i2]) { in filter_frame()
137 offset = next_pts + judbuff[s->i3] - judbuff[s->i4] - judbuff[s->i1]; in filter_frame()
142 + (s->cycle + 1) * (next_pts - judbuff[s->i4]); in filter_frame()
145 judbuff[s->i2] = next_pts; in filter_frame()
155 av_log(ctx, AV_LOG_DEBUG, "next=%"PRId64", new=%"PRId64"\n", next_pts, frame->pts); in filter_frame()
Dvf_fps.c65 int64_t next_pts; ///< pts of the next frame to output member
100 s->next_pts = AV_NOPTS_VALUE; in init()
171 s->next_pts = s->out_pts_off; in config_props()
220 if (s->next_pts == AV_NOPTS_VALUE) { in write_frame()
222 s->next_pts = s->frames[0]->pts; in write_frame()
223 av_log(ctx, AV_LOG_VERBOSE, "Set first pts to %"PRId64"\n", s->next_pts); in write_frame()
239 if ((s->frames_count == 2 && s->frames[1]->pts <= s->next_pts) || in write_frame()
240 (s->status && s->status_pts <= s->next_pts)) { in write_frame()
254 frame->pts = s->next_pts++; in write_frame()
322 ff_outlink_set_status(outlink, s->status, s->next_pts); in activate()
Daf_apad.c39 int64_t next_pts; member
66 s->next_pts = AV_NOPTS_VALUE; in init()
86 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, i… in filter_frame()
127 outsamplesref->pts = s->next_pts; in request_frame()
128 if (s->next_pts != AV_NOPTS_VALUE) in request_frame()
129 … s->next_pts += av_rescale_q(n_out, (AVRational){1, outlink->sample_rate}, outlink->time_base); in request_frame()
Daf_silenceremove.c96 int64_t next_pts; member
209 s->next_pts = AV_NOPTS_VALUE; in config_input()
275 out->pts = s->next_pts; in flush()
276 s->next_pts += av_rescale_q(out->nb_samples, in flush()
312 silence->pts = s->next_pts; in flush()
313 s->next_pts += av_rescale_q(silence->nb_samples, in flush()
332 if (s->next_pts == AV_NOPTS_VALUE) in filter_frame()
333 s->next_pts = in->pts; in filter_frame()
424 out->pts = s->next_pts; in filter_frame()
425 s->next_pts += av_rescale_q(out->nb_samples, in filter_frame()
[all …]
Daf_resample.c44 int64_t next_pts; member
169 s->next_pts = AV_NOPTS_VALUE; in config_output()
217 frame->pts = s->next_pts; in request_frame()
255 if (s->resampling && s->next_pts == AV_NOPTS_VALUE) { in filter_frame()
259 s->next_pts = 0; in filter_frame()
261 s->next_pts = av_rescale_q(in->pts, inlink->time_base, in filter_frame()
287 out->pts = s->next_pts; in filter_frame()
289 s->next_pts = out->pts + out->nb_samples; in filter_frame()
Daf_adelay.c46 int64_t next_pts; member
243 out_frame->pts = s->next_pts; in filter_frame()
244 …s->next_pts += av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, inlink->time_… in filter_frame()
273 frame->pts = s->next_pts; in activate()
274 if (s->next_pts != AV_NOPTS_VALUE) in activate()
275 …s->next_pts += av_rescale_q(nb_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base); in activate()
305 frame->pts = s->next_pts; in activate()
310 ff_outlink_set_status(outlink, AVERROR_EOF, s->next_pts); in activate()
Daf_aecho.c41 int64_t next_pts; member
149 s->next_pts = AV_NOPTS_VALUE; in init()
295 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, i… in filter_frame()
322 frame->pts = s->next_pts; in request_frame()
323 if (s->next_pts != AV_NOPTS_VALUE) in request_frame()
324 …s->next_pts += av_rescale_q(nb_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base); in request_frame()
352 ff_outlink_set_status(outlink, AVERROR_EOF, s->next_pts); in activate()
Daf_chorus.c60 int64_t next_pts; member
152 s->next_pts = AV_NOPTS_VALUE; in init()
285 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, i… in filter_frame()
315 frame->pts = s->next_pts; in request_frame()
316 if (s->next_pts != AV_NOPTS_VALUE) in request_frame()
317 …s->next_pts += av_rescale_q(nb_samples, (AVRational){1, outlink->sample_rate}, outlink->time_base); in request_frame()
Daf_amix.c177 int64_t next_pts; /**< calculated pts for next output frame */ member
247 s->next_pts = AV_NOPTS_VALUE; in config_output()
322 ff_outlink_set_status(outlink, AVERROR_EOF, s->next_pts); in output_frame()
327 s->next_pts = frame_list_next_pts(s->frame_list); in output_frame()
374 out_buf->pts = s->next_pts; in output_frame()
375 if (s->next_pts != AV_NOPTS_VALUE) in output_frame()
376 s->next_pts += nb_samples; in output_frame()
484 ff_outlink_set_status(outlink, AVERROR_EOF, s->next_pts); in activate()
Dyadif_common.c55 int64_t next_pts = yadif->next->pts; in return_frame() local
57 if (next_pts != AV_NOPTS_VALUE && cur_pts != AV_NOPTS_VALUE) { in return_frame()
58 yadif->out->pts = cur_pts + next_pts; in return_frame()
Daf_aresample.c42 int64_t next_pts; member
51 aresample->next_pts = AV_NOPTS_VALUE; in init_dict()
212 aresample->next_pts = in filter_frame()
Dtrim.c68 int64_t next_pts; member
240 pts = s->next_pts; in atrim_filter_frame()
241 s->next_pts = pts + frame->nb_samples; in atrim_filter_frame()
Df_graphmonitor.c45 int64_t next_pts; member
334 s->next_pts = pts; in activate()
337 if (s->pts < s->next_pts && ff_outlink_frame_wanted(outlink)) in activate()
356 s->next_pts = AV_NOPTS_VALUE; in config_output()
Davf_showcqt.h59 int64_t next_pts; member
Dvf_w3fdif.c476 int64_t next_pts = s->next->pts; in filter() local
478 if (next_pts != AV_NOPTS_VALUE && cur_pts != AV_NOPTS_VALUE) { in filter()
479 out->pts = cur_pts + next_pts; in filter()
Daf_firequalizer.c88 int64_t next_pts; member
765 s->next_pts = 0; in config_input()
870 s->next_pts = AV_NOPTS_VALUE; in filter_frame()
872 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, av_make_q(1, inlink->sample_rate), inli… in filter_frame()
894 frame->pts = s->next_pts; in request_frame()
/third_party/ffmpeg/doc/examples/
Dmuxing.c58 int64_t next_pts; member
317 if (av_compare_ts(ost->next_pts, ost->enc->time_base, in get_audio_frame()
329 frame->pts = ost->next_pts; in get_audio_frame()
330 ost->next_pts += frame->nb_samples; in get_audio_frame()
478 if (av_compare_ts(ost->next_pts, c->time_base, in get_video_frame()
502 fill_yuv_image(ost->tmp_frame, ost->next_pts, c->width, c->height); in get_video_frame()
507 fill_yuv_image(ost->frame, ost->next_pts, c->width, c->height); in get_video_frame()
510 ost->frame->pts = ost->next_pts++; in get_video_frame()
622 (!encode_audio || av_compare_ts(video_st.next_pts, video_st.enc->time_base, in main()
623 audio_st.next_pts, audio_st.enc->time_base) <= 0)) { in main()
/third_party/ffmpeg/libavcodec/
Da64multienc.c59 int64_t next_pts; member
249 c->next_pts = AV_NOPTS_VALUE; in a64multi_encode_init()
318 if (c->next_pts == AV_NOPTS_VALUE) in a64multi_encode_frame()
319 c->next_pts = p->pts; in a64multi_encode_frame()
387 pkt->pts = pkt->dts = c->next_pts; in a64multi_encode_frame()
388 c->next_pts = AV_NOPTS_VALUE; in a64multi_encode_frame()
Dlibtwolame.c47 int64_t next_pts; member
164 avpkt->pts = s->next_pts; in twolame_encode_frame()
168 s->next_pts = avpkt->pts + avpkt->duration; in twolame_encode_frame()
Drv34.h107 int cur_pts, last_pts, next_pts; member
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Dgstmpegdemux.h135 guint64 next_pts; member
Dgstmpegdemux.c293 demux->next_pts = G_MAXUINT64; in gst_flups_demux_reset()
513 if (G_UNLIKELY (demux->next_pts != G_MAXUINT64)) in gst_flups_demux_send_data()
514 pts = MPEGTIME_TO_GSTTIME (demux->next_pts); in gst_flups_demux_send_data()
555 demux->next_pts = G_MAXUINT64; in gst_flups_demux_send_data()
1937 demux->next_pts = filter->pts + demux->scr_adjust; in gst_flups_demux_data_cb()
1939 "(%" G_GUINT64_FORMAT ")", filter->pts, demux->next_pts); in gst_flups_demux_data_cb()
1941 demux->next_pts = G_MAXUINT64; in gst_flups_demux_data_cb()
1946 demux->next_dts = demux->next_pts; in gst_flups_demux_data_cb()
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstmpegdemux.h148 guint64 next_pts; member
Dgstmpegdemux.c338 demux->next_pts = G_MAXUINT64; in gst_ps_demux_reset()
648 if (G_UNLIKELY (demux->next_pts != G_MAXUINT64)) in gst_ps_demux_send_data()
649 pts = MPEGTIME_TO_GSTTIME (demux->next_pts); in gst_ps_demux_send_data()
694 demux->next_pts = G_MAXUINT64; in gst_ps_demux_send_data()
2270 demux->next_pts = filter->pts + demux->scr_adjust; in gst_ps_demux_data_cb()
2272 " (%" G_GUINT64_FORMAT ")", id, filter->pts, demux->next_pts); in gst_ps_demux_data_cb()
2274 demux->next_pts = G_MAXUINT64; in gst_ps_demux_data_cb()
2280 demux->next_dts = demux->next_pts; in gst_ps_demux_data_cb()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbaseparse.c242 GstClockTime next_pts; member
834 parse->priv->next_pts = GST_CLOCK_TIME_NONE; in gst_base_parse_reset()
995 GST_CLOCK_TIME_IS_VALID (parse->priv->next_pts)) { in gst_base_parse_parse_frame()
996 GST_BUFFER_PTS (buffer) = parse->priv->next_pts; in gst_base_parse_parse_frame()
1316 parse->priv->next_pts = GST_CLOCK_TIME_NONE; in gst_base_parse_sink_event_default()
2354 && !GST_CLOCK_TIME_IS_VALID (parse->priv->next_pts)) in gst_base_parse_handle_and_push_frame()
2355 parse->priv->next_pts = parse->priv->next_dts; in gst_base_parse_handle_and_push_frame()
2361 parse->priv->next_pts = GST_CLOCK_TIME_NONE; in gst_base_parse_handle_and_push_frame()
2366 GstClockTime next_pts = in gst_base_parse_handle_and_push_frame() local
2368 if (next_pts >= parse->priv->next_dts) in gst_base_parse_handle_and_push_frame()
[all …]

12