Home
last modified time | relevance | path

Searched refs:time_offset (Results 1 – 19 of 19) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioclock.c72 clock->time_offset = 0; in gst_audio_clock_init()
132 GstClockTimeDiff time_offset; in gst_audio_clock_reset() local
135 time_offset = clock->last_time - time; in gst_audio_clock_reset()
137 time_offset = -(time - clock->last_time); in gst_audio_clock_reset()
139 clock->time_offset = time_offset; in gst_audio_clock_reset()
144 GST_TIME_ARGS (clock->last_time), GST_STIME_ARGS (time_offset)); in gst_audio_clock_reset()
165 result += aclock->time_offset; in gst_audio_clock_get_internal_time()
197 result = clock->last_time - clock->time_offset; in gst_audio_clock_get_time()
221 result = time + clock->time_offset; in gst_audio_clock_adjust()
Dgstaudioclock.h80 GstClockTimeDiff time_offset; member
Dgstaudiobasesink.c1819 gint64 time_offset; in gst_audio_base_sink_render() local
2039 time_offset = GST_AUDIO_CLOCK_CAST (sink->provided_clock)->time_offset; in gst_audio_base_sink_render()
2041 if (G_UNLIKELY (time_offset != 0)) { in gst_audio_base_sink_render()
2043 "apply time offset %" GST_STIME_FORMAT, GST_STIME_ARGS (time_offset)); in gst_audio_base_sink_render()
2045 if (render_start > time_offset) in gst_audio_base_sink_render()
2046 render_start -= time_offset; in gst_audio_base_sink_render()
2049 if (render_stop > time_offset) in gst_audio_base_sink_render()
2050 render_stop -= time_offset; in gst_audio_base_sink_render()
/third_party/pulseaudio/src/pulsecore/
Dtime-smoother.c62 pa_usec_t time_offset; member
97 pa_usec_t time_offset, in pa_smoother_new() argument
114 pa_smoother_reset(s, time_offset, paused); in pa_smoother_new()
356 x = PA_LIKELY(x >= s->time_offset) ? x - s->time_offset : 0; in pa_smoother_put()
386 …pa_log_debug("%p, put(%llu | %llu) = %llu", s, (unsigned long long) (x + s->time_offset), (unsigne… in pa_smoother_put()
399 x = PA_LIKELY(x >= s->time_offset) ? x - s->time_offset : 0; in pa_smoother_get()
419 …pa_log_debug("%p, get(%llu | %llu) = %llu", s, (unsigned long long) (x + s->time_offset), (unsigne… in pa_smoother_get()
428 s->time_offset = offset; in pa_smoother_set_time_offset()
463 s->time_offset += x - s->pause_time; in pa_smoother_resume()
486 x = PA_LIKELY(x >= s->time_offset) ? x - s->time_offset : 0; in pa_smoother_translate()
[all …]
Dtime-smoother.h53 void pa_smoother_reset(pa_smoother *s, pa_usec_t time_offset, bool paused);
/third_party/libinput/tools/
Dlibinput-record.c200 time_offset(struct record_context *ctx, uint64_t time) in time_offset() function
370 time = time_offset(ctx, time); in handle_evdev_frame()
466 time = time_offset(ctx, libinput_event_keyboard_get_time_usec(k)); in buffer_key_event()
506 time = time_offset(ctx, libinput_event_pointer_get_time_usec(p)); in buffer_motion_event()
539 time = time_offset(ctx, libinput_event_pointer_get_time_usec(p)); in buffer_absmotion_event()
571 time = time_offset(ctx, libinput_event_pointer_get_time_usec(p)); in buffer_pointer_button_event()
606 time = time_offset(ctx, libinput_event_pointer_get_time_usec(p)); in buffer_pointer_axis_event()
676 time = time_offset(ctx, libinput_event_touch_get_time_usec(t)); in buffer_touch_event()
759 time = time_offset(ctx, libinput_event_gesture_get_time_usec(g)); in buffer_gesture_event()
942 time = time_offset(ctx, libinput_event_tablet_tool_get_time_usec(t)); in buffer_tablet_tool_proximity_event()
[all …]
/third_party/ffmpeg/libavformat/
Disom.h190 int64_t time_offset; ///< time offset of the edit list entries member
Dflvdec.c78 int64_t time_offset; member
985 flv->time_offset = flv->last_ts + 1; in resync()
1146 dts += flv->time_offset; in flv_read_packet()
Dmov.c3819 sc->time_offset = start_time - empty_duration; in mov_build_index()
3822 current_dts = -sc->time_offset; in mov_build_index()
4819 dts = frag_stream_info->next_trun_dts - sc->time_offset; in mov_read_trun()
4833 dts = frag_stream_info->sidx_pts - sc->time_offset; in mov_read_trun()
4837 dts = frag_stream_info->tfdt_dts - sc->time_offset; in mov_read_trun()
4841 dts = sc->track_end - sc->time_offset; in mov_read_trun()
4846 dts = sc->track_end - sc->time_offset; in mov_read_trun()
4927 dts -= sc->time_offset; in mov_read_trun()
4936 sc->time_offset, flags & MOV_TRUN_SAMPLE_CTS); in mov_read_trun()
4981 frag_stream_info->next_trun_dts = dts + sc->time_offset; in mov_read_trun()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_i.h243 struct os_reltime time_offset; /* local time - offset = remote time */ member
Dwpa_auth_ft.c1052 os_reltime_sub(&now, &rkh_seq->rx.time_offset, &now_remote); in wpa_ft_rrb_seq_chk()
4305 os_reltime_sub(&now, &now_remote, &rkh_seq->rx.time_offset); in wpa_ft_rrb_rx_seq_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_i.h243 struct os_reltime time_offset; /* local time - offset = remote time */ member
Dwpa_auth_ft.c1052 os_reltime_sub(&now, &rkh_seq->rx.time_offset, &now_remote); in wpa_ft_rrb_seq_chk()
4305 os_reltime_sub(&now, &now_remote, &rkh_seq->rx.time_offset); in wpa_ft_rrb_rx_seq_resp()
/third_party/ffmpeg/libavcodec/
Dcbs_h264.h255 int32_t time_offset; member
Dcbs_h264_syntax_template.c599 ib(time_offset_length, time_offset); in FUNC()
601 infer(time_offset, 0); in FUNC()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth264parser.h947 guint32 time_offset; member
Dgsth264parser.c916 tim->time_offset = 0; in gst_h264_parse_clock_timestamp()
956 READ_UINT32 (nr, tim->time_offset, time_offset_length); in gst_h264_parse_clock_timestamp()
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstmpdparser.c3423 gint64 time_offset; in gst_mpd_client_get_period_index_at_time() local
3431 time_offset = gst_mpd_client_calculate_time_difference (avail_start, time); in gst_mpd_client_get_period_index_at_time()
3434 if (time_offset < 0) in gst_mpd_client_get_period_index_at_time()
3437 if (!gst_mpd_client_setup_media_presentation (client, time_offset, -1, NULL)) in gst_mpd_client_get_period_index_at_time()
3442 if (stream_period->start <= time_offset in gst_mpd_client_get_period_index_at_time()
3444 || stream_period->start + stream_period->duration > time_offset)) { in gst_mpd_client_get_period_index_at_time()
/third_party/gstreamer/gstplugins_base/
DChangeLog35856 GST_STIME_ARGS is used for time_offset not for last_time.
52891 audiosink: compensate for segment restart with clock's time_offset
52906 start again from 0, which makes it reset the time_offset to the time