Searched refs:last_scr (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | mpegenc.c | 78 int64_t last_scr; /* current system clock */ member 561 s->last_scr = AV_NOPTS_VALUE; in mpeg_mux_init() 653 if ((s->packet_number % s->pack_header_freq) == 0 || s->last_scr != scr) { in flush_packet() 657 s->last_scr = scr; in flush_packet() 705 s->last_scr = scr; in flush_packet() 1008 int64_t scr = s->last_scr; in output_packet() 1120 s->last_scr += s->packet_size * 90000LL / (s->mux_rate * 50LL); in output_packet() 1126 s->last_scr += s->packet_size * 90000LL / (s->mux_rate * 50LL); in output_packet() 1138 if (remove_decoded_packets(ctx, s->last_scr) < 0) in output_packet() 1163 if (s->last_scr == AV_NOPTS_VALUE) { in mpeg_mux_write_packet() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/ |
D | gstmpegdemux.h | 124 guint64 last_scr; member
|
D | gstmpegdemux.c | 392 demux->last_scr = G_MAXUINT64; in gst_ps_demux_reset() 1240 if (demux->last_scr > demux->last_pts) in gst_ps_demux_do_seek() 1241 scr = gst_util_uint64_scale (scr, demux->last_scr, demux->last_pts); in gst_ps_demux_do_seek() 1243 scr = MIN (demux->last_scr, scr); in gst_ps_demux_do_seek() 1252 demux->last_scr, demux->last_scr_offset, 0); in gst_ps_demux_do_seek() 2868 &demux->last_scr, DURATION_SCAN_LIMIT); in gst_ps_sink_get_duration() 2871 " in packet starting at %" G_GUINT64_FORMAT, demux->last_scr, in gst_ps_sink_get_duration() 2872 GST_TIME_ARGS (MPEGTIME_TO_GSTTIME (demux->last_scr)), offset); in gst_ps_sink_get_duration() 2893 if (demux->first_scr > demux->last_scr) { in gst_ps_sink_get_duration() 2900 if (scr < demux->last_scr) { in gst_ps_sink_get_duration() [all …]
|