/third_party/ffmpeg/libavcodec/ |
D | dirac_parser.c | 216 if (s->last_pts == 0 && s->last_dts == 0) in dirac_combine_frame() 218 else if (s->last_dts != AV_NOPTS_VALUE) in dirac_combine_frame() 219 s->dts = s->last_dts + 1; in dirac_combine_frame()
|
D | parser.c | 161 s->last_dts = s->dts; in av_parser_parse2()
|
D | avcodec.h | 3401 int64_t last_dts; member
|
/third_party/gstreamer/gstplugins_good/gst/isomp4/ |
D | gstqtmux.h | 128 GstClockTime last_dts; member 265 GstClockTime last_dts; member
|
D | gstqtmux.c | 694 qtpad->last_dts = 0; in gst_qt_mux_pad_reset() 3100 qpad->last_dts = timestamp; in gst_qt_mux_prefill_samples() 3529 qtpad->last_dts = GST_CLOCK_TIME_NONE; in gst_qt_mux_start_file() 3660 qtmux->first_ts = qtmux->last_dts = GST_CLOCK_TIME_NONE; in gst_qt_mux_update_global_statistics() 3680 if (!GST_CLOCK_TIME_IS_VALID (qtmux->last_dts) in gst_qt_mux_update_global_statistics() 3681 || qtpad->last_dts > qtmux->last_dts) { in gst_qt_mux_update_global_statistics() 3682 qtmux->last_dts = qtpad->last_dts; in gst_qt_mux_update_global_statistics() 3986 duration = gst_util_uint64_scale_round (qtmux->last_dts, qtmux->timescale, in gst_qt_mux_stop_file() 3991 GST_TIME_ARGS (qtmux->last_dts)); in gst_qt_mux_stop_file() 4796 if (qtmux->last_moov_size > qtmux->base_moov_size && qtmux->last_dts > 0) { in gst_qt_mux_robust_recording_rewrite_moov() [all …]
|
/third_party/gstreamer/gstplugins_base/gst/encoding/ |
D | gstsmartencoder.h | 46 GstClockTime last_dts; member
|
D | gstsmartencoder.c | 97 if (self->last_dts > GST_BUFFER_DTS (buf)) { in gst_smart_encoder_finish_buffer() 100 GST_BUFFER_DTS (buf) = self->last_dts + 1; in gst_smart_encoder_finish_buffer() 102 self->last_dts = GST_BUFFER_DTS (buf); in gst_smart_encoder_finish_buffer()
|
/third_party/ffmpeg/libavformat/ |
D | fifo.c | 170 static int64_t next_duration(AVFormatContext *avf, AVPacket *pkt, int64_t *last_dts) in next_duration() argument 174 int64_t duration = (*last_dts == AV_NOPTS_VALUE ? 0 : dts - *last_dts); in next_duration() 175 *last_dts = dts; in next_duration()
|
D | avienc.c | 87 int64_t last_dts; member 875 avist->last_dts = pkt->dts + pkt->duration; in avi_write_packet_internal() 924 write_skip_frames(s, i, avist->last_dts); in avi_write_trailer()
|
D | internal.h | 211 int64_t last_dts; member
|
D | mux.c | 971 int64_t last_dts; local 977 last_dts = av_rescale_q(last->pkt.dts, 980 delta_dts = FFMAX(delta_dts, last_dts - top_dts);
|
D | utils.c | 1768 int64_t last_dts = next_pkt->dts; in av_read_frame() local 1777 if (last_dts != AV_NOPTS_VALUE) { in av_read_frame() 1779 last_dts = pktl->pkt.dts; in av_read_frame() 1784 if (eof && next_pkt->pts == AV_NOPTS_VALUE && last_dts != AV_NOPTS_VALUE) { in av_read_frame() 1790 next_pkt->pts = last_dts + next_pkt->duration; in av_read_frame() 3385 int64_t last = st->internal->info->last_dts; 3437 st->internal->info->last_dts = ts; 3503 st->internal->info->last_dts = AV_NOPTS_VALUE; 3757 ic->streams[i]->internal->info->last_dts = AV_NOPTS_VALUE; 4580 st->internal->info->last_dts = AV_NOPTS_VALUE; [all …]
|
D | dashenc.c | 115 int64_t last_dts, last_pts; member 1701 os->last_dts = AV_NOPTS_VALUE; in dash_init() 2075 if (!pkt->duration && os->last_dts != AV_NOPTS_VALUE) in dash_write_packet() 2076 pkt->duration = pkt->dts - os->last_dts; in dash_write_packet() 2077 os->last_dts = pkt->dts; in dash_write_packet()
|
D | mov.c | 3864 int64_t last_dts = 0; in mov_build_index() local 3870 last_dts = current_dts; in mov_build_index() 3992 if (!dts_correction || current_dts + dts_correction > last_dts) { in mov_build_index() 3997 dts_correction += current_dts - last_dts - 1; in mov_build_index() 3998 current_dts = last_dts + 1; in mov_build_index() 4000 last_dts = current_dts; in mov_build_index()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/ |
D | tsmuxstream.c | 215 stream->last_dts = GST_CLOCK_STIME_NONE; in tsmux_stream_new() 323 stream->last_dts = stream->cur_buffer->dts; in tsmux_stream_consume() 730 stream->last_dts = dts; in tsmux_stream_add_data() 1143 return stream->last_dts; in tsmux_stream_get_dts()
|
D | tsmuxstream.h | 188 gint64 last_dts; member
|
/third_party/gstreamer/gstplugins_good/gst/flv/ |
D | gstflvmux.h | 106 guint64 last_dts; member
|
D | gstflvmux.c | 179 if (t < (GST_MSECOND * mux->last_dts)) { in gst_flv_mux_skip_buffer() 183 GST_TIME_ARGS (t), GST_TIME_ARGS (GST_MSECOND * mux->last_dts), in gst_flv_mux_skip_buffer() 389 mux->last_dts = 0; in gst_flv_mux_reset() 902 dts = mux->last_dts; in gst_flv_mux_create_metadata() 1235 pts = dts = mux->last_dts; in gst_flv_mux_buffer_to_tag_internal() 1246 if (dts < mux->last_dts) { in gst_flv_mux_buffer_to_tag_internal() 1249 GST_TIME_ARGS (mux->last_dts * GST_MSECOND)); in gst_flv_mux_buffer_to_tag_internal() 1250 dts = mux->last_dts; in gst_flv_mux_buffer_to_tag_internal() 1252 mux->last_dts = dts; in gst_flv_mux_buffer_to_tag_internal()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/ |
D | mpegtspacketizer.h | 289 GstClockTime last_dts; member
|
D | mpegtspacketizer.c | 287 packetizer->last_dts = GST_CLOCK_TIME_NONE; in mpegts_packetizer_init() 610 packetizer->last_dts = GST_CLOCK_TIME_NONE; in mpegts_packetizer_clear() 652 packetizer->last_dts = GST_CLOCK_TIME_NONE; in mpegts_packetizer_flush() 715 packetizer->last_dts = GST_BUFFER_DTS (buffer); in mpegts_packetizer_push()
|
D | mpegtsparse.c | 817 GST_BUFFER_DTS (buf) = base->packetizer->last_dts; in mpegts_parse_push()
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbaseparse.c | 304 GstClockTime last_dts; member 861 parse->priv->last_dts = GST_CLOCK_TIME_NONE; in gst_base_parse_reset() 1368 parse->priv->last_dts = GST_CLOCK_TIME_NONE; in gst_base_parse_sink_event_default() 1404 parse->priv->last_dts = GST_CLOCK_TIME_NONE; in gst_base_parse_sink_event_default() 2946 if (GST_CLOCK_TIME_IS_VALID (parse->priv->last_dts)) { in gst_base_parse_finish_fragment() 2947 if (G_LIKELY (GST_BUFFER_DURATION (buf) <= parse->priv->last_dts)) in gst_base_parse_finish_fragment() 2948 parse->priv->last_dts -= GST_BUFFER_DURATION (buf); in gst_base_parse_finish_fragment() 2950 parse->priv->last_dts = 0; in gst_base_parse_finish_fragment() 2951 GST_BUFFER_DTS (buf) = parse->priv->last_dts; in gst_base_parse_finish_fragment() 2961 parse->priv->last_dts = GST_BUFFER_DTS (buf); in gst_base_parse_finish_fragment() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | gstrtpjitterbuffer.c | 409 GstClockTime last_dts; member 1036 priv->last_dts = -1; in gst_rtp_jitter_buffer_init() 1599 priv->last_dts = -1; in gst_rtp_jitter_buffer_flush_stop() 2642 if (priv->last_dts != -1) in calculate_jitter() 2643 dtsdiff = dts - priv->last_dts; in calculate_jitter() 2661 priv->last_dts = dts; in calculate_jitter()
|
/third_party/gstreamer/gstplugins_good/ |
D | ChangeLog | 6913 - last_dts is in milliseconds, not nanoseconds as expected for 25790 qtmux: Fix last_dts tracking for raw audio and similar formats 41277 qtmux: store last_dts of the first buffer 41278 Buffers need not to start at running-time 0 so the last_dts needs
|