Home
last modified time | relevance | path

Searched refs:last_pts (Results 1 – 25 of 44) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Df_streamselect.c37 int64_t *last_pts; member
70 if (s->is_audio && s->last_pts[j] == in[j]->pts && in process_frame()
78 s->last_pts[j] = in[j]->pts; in process_frame()
276 s->last_pts = av_calloc(s->nb_inputs, sizeof(*s->last_pts)); in init()
277 if (!s->last_pts) in init()
294 av_freep(&s->last_pts); in uninit()
Dvf_decimate.c47 int64_t last_pts; ///< last output timestamp member
234 dm->last_pts = frame->pts; in filter_frame()
271 ff_outlink_set_status(ctx->outputs[0], AVERROR_EOF, dm->last_pts); in activate()
279 ff_outlink_set_status(ctx->outputs[0], AVERROR_EOF, dm->last_pts); in activate()
287 ff_outlink_set_status(ctx->outputs[0], AVERROR_EOF, dm->last_pts); in activate()
Dvf_xfade_opencl.c63 int64_t last_pts; member
245 ctx->first_pts = ctx->last_pts = ctx->pts = AV_NOPTS_VALUE; in xfade_opencl_config_output()
274 in->pts = (in->pts - ctx->last_pts) + ctx->pts; in xfade_opencl_activate()
309 ctx->last_pts = ctx->xf[1]->pts; in xfade_opencl_activate()
Dvf_deinterlace_qsv.c78 int64_t last_pts; member
342 s->last_pts = AV_NOPTS_VALUE; in qsvdeint_config_props()
527 if (out->pts == s->last_pts) in process_frame()
529 s->last_pts = out->pts; in process_frame()
Dsrc_movie.c55 int64_t last_pts; member
519 if (st->last_pts != AV_NOPTS_VALUE) { in movie_push_frame()
520 int64_t diff = frame->pts - st->last_pts; in movie_push_frame()
528 st->last_pts = frame->pts; in movie_push_frame()
/third_party/ffmpeg/doc/examples/
Dfiltering_video.c52 static int64_t last_pts = AV_NOPTS_VALUE; variable
186 if (last_pts != AV_NOPTS_VALUE) { in display_frame()
189 delay = av_rescale_q(frame->pts - last_pts, in display_frame()
194 last_pts = frame->pts; in display_frame()
/third_party/ffmpeg/libavcodec/
Ddvbsub_parser.c55 s->pts, s->last_pts, s->cur_frame_pts[s->cur_frame_start_index]); in dvbsub_parse()
72 if (s->last_pts != s->pts && s->pts != AV_NOPTS_VALUE) /* Start of a new packet */ in dvbsub_parse()
163 s->pts = s->last_pts; in dvbsub_parse()
Daudiotoolboxdec.c52 int64_t last_pts; member
394 at->last_pts = AV_NOPTS_VALUE; in ffat_create_decoder()
541 if (at->last_pts != AV_NOPTS_VALUE) { in ffat_decode()
542 frame->pts = at->last_pts; in ffat_decode()
545 frame->pkt_pts = at->last_pts; in ffat_decode()
548 at->last_pts = avpkt->pts; in ffat_decode()
553 at->last_pts = avpkt->pts; in ffat_decode()
Drv34.h109 int cur_pts, last_pts, next_pts; member
/third_party/ffmpeg/libavformat/
Divfenc.c26 uint64_t last_pts, sum_delta_pts, last_pkt_duration; member
88 ctx->sum_delta_pts += pkt->pts - ctx->last_pts; in ivf_write_packet()
91 ctx->last_pts = pkt->pts; in ivf_write_packet()
Dnutenc.c611 int64_t last_pts= -1; in write_index() local
630 av_assert0(nus->keyframe_pts[k] > last_pts); in write_index()
631 put_v(bc, nus->keyframe_pts[k] - last_pts); in write_index()
632 last_pts = nus->keyframe_pts[k]; in write_index()
793 if (pkt->pts - nus->last_pts != fc->pts_delta) in get_needed_flags()
799 if (FFABS(pkt->pts - nus->last_pts) > nus->max_pts_distance) in get_needed_flags()
1058 av_assert0(nus->last_pts != AV_NOPTS_VALUE); in nut_write_packet()
1149 nus->last_pts = pkt->pts; in nut_write_packet()
Dxmv.c68 int64_t last_pts; ///< PTS of the last video frame. member
529 video->last_pts = frame_timestamp + video->pts; in xmv_fetch_video_packet()
532 pkt->pts = video->last_pts; in xmv_fetch_video_packet()
Dnut.c259 nut->stream[i].last_pts = in ff_nut_reset_ts()
269 int64_t delta = stream->last_pts - mask / 2; in ff_lsb2full()
Dnut.h78 int64_t last_pts; member
Dnutdec.c724 int64_t last_pts = -1; in find_and_decode_index() local
769 last_pts + A, 0, 0, AVINDEX_KEYFRAME); in find_and_decode_index()
770 last_pts += A + B; in find_and_decode_index()
1041 *pts = stc->last_pts + pts_delta; in decode_frame_header()
1070 FFABS(stc->last_pts - *pts) > stc->max_pts_distance) { in decode_frame_header()
1075 stc->last_pts = *pts; in decode_frame_header()
/third_party/gstreamer/gstplugins_bad/ext/fluidsynth/
Dgstfluiddec.c266 fluiddec->last_pts = GST_CLOCK_TIME_NONE; in gst_fluid_dec_reset()
323 duration = pts - fluiddec->last_pts; in produce_samples()
325 timestamp = fluiddec->last_pts; in produce_samples()
327 fluiddec->last_pts = pts; in produce_samples()
458 if (fluiddec->last_pts == GST_CLOCK_TIME_NONE) { in gst_fluid_dec_chain()
459 fluiddec->last_pts = pts; in gst_fluid_dec_chain()
461 } else if (fluiddec->last_pts < pts) { in gst_fluid_dec_chain()
Dgstfluiddec.h65 GstClockTime last_pts; member
/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/
Dpsmuxstream.c180 stream->last_pts = -1; in psmux_stream_new()
232 stream->last_pts = stream->cur_buffer->pts; in psmux_stream_consume()
512 stream->last_pts = pts; in psmux_stream_add_data()
738 return stream->last_pts; in psmux_stream_get_pts()
Dpsmuxstream.h120 gint64 last_pts; member
/third_party/gstreamer/gstplugins_bad/sys/uvch264/
Dgstuvch264_mjpgdemux.c184 self->last_pts = GST_CLOCK_TIME_NONE; in gst_uvc_h264_mjpg_demux_init()
324 self->last_pts = GST_CLOCK_TIME_NONE; in gst_uvc_h264_mjpg_demux_sink_event()
613 self->last_pts != GST_CLOCK_TIME_NONE && in gst_uvc_h264_mjpg_demux_chain()
614 self->last_pts > GST_BUFFER_PTS (buf)) { in gst_uvc_h264_mjpg_demux_chain()
619 self->last_pts = GST_BUFFER_PTS (buf); in gst_uvc_h264_mjpg_demux_chain()
Dgstuvch264_mjpgdemux.h98 GstClockTime last_pts; member
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/
Dtsmuxstream.c214 stream->last_pts = GST_CLOCK_STIME_NONE; in tsmux_stream_new()
321 stream->last_pts = stream->cur_buffer->pts; in tsmux_stream_consume()
729 stream->last_pts = pts; in tsmux_stream_add_data()
1126 return stream->last_pts; in tsmux_stream_get_pts()
Dtsmuxstream.h189 gint64 last_pts; member
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstmpegdemux.h138 guint64 last_pts; member
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvpxenc.h117 GstClockTime last_pts; member

12