Searched refs:in_ts (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | mathematics.c | 168 int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t … in av_rescale_delta() argument 171 av_assert0(in_ts != AV_NOPTS_VALUE); in av_rescale_delta() 176 *last = av_rescale_q(in_ts, in_tb, fs_tb) + duration; in av_rescale_delta() 177 return av_rescale_q(in_ts, in_tb, out_tb); in av_rescale_delta() 180 a = av_rescale_q_rnd(2*in_ts-1, in_tb, fs_tb, AV_ROUND_DOWN) >>1; in av_rescale_delta() 181 b = (av_rescale_q_rnd(2*in_ts+1, in_tb, fs_tb, AV_ROUND_UP )+1)>>1; in av_rescale_delta()
|
D | mathematics.h | 223 int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t …
|
/third_party/gstreamer/gstplugins_base/gst/videorate/ |
D | gstvideorate.c | 1468 GstClockTime intime, in_ts, in_dur, last_ts; in gst_video_rate_transform_ip() local 1497 in_ts = GST_BUFFER_TIMESTAMP (buffer); in gst_video_rate_transform_ip() 1500 if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (in_ts))) { in gst_video_rate_transform_ip() 1505 in_ts = videorate->last_ts; in gst_video_rate_transform_ip() 1506 if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (in_ts))) in gst_video_rate_transform_ip() 1513 videorate->last_ts = in_ts; in gst_video_rate_transform_ip() 1518 GST_TIME_ARGS (in_ts)); in gst_video_rate_transform_ip() 1522 intime = in_ts + videorate->segment.base; in gst_video_rate_transform_ip() 1532 GST_BUFFER_DURATION (buffer) = videorate->segment.stop - in_ts; in gst_video_rate_transform_ip() 1534 GST_BUFFER_DURATION (buffer) = last_ts - in_ts; in gst_video_rate_transform_ip() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | audioresample.c | 918 GstClockTime in_ts; member 962 if (ctx->in_ts != GST_CLOCK_TIME_NONE && ctx->in_buffer_count > 1 in fakesink_handoff_cb() 965 ctx->in_ts - gst_util_uint64_scale_round (ctx->latency, GST_SECOND, in fakesink_handoff_cb() 969 GST_TIME_ARGS (ctx->in_ts - gst_util_uint64_scale_round (ctx->latency, in fakesink_handoff_cb() 971 ctx->in_ts - gst_util_uint64_scale_round (ctx->latency, GST_SECOND, in fakesink_handoff_cb() 987 ctx->in_ts = GST_BUFFER_TIMESTAMP (buffer); in identity_handoff_cb()
|