Home
last modified time | relevance | path

Searched refs:current_ts (Results 1 – 13 of 13) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/avtp/
Dgstavtpcrfsync.c145 GstClockTime current_ts = thread_data->current_ts; in gst_avtp_crf_sync_transform_ip() local
152 if (!avg_period || !current_ts) { in gst_avtp_crf_sync_transform_ip()
181 h264_time |= current_ts & 0xFFFFFFFF00000000; in gst_avtp_crf_sync_transform_ip()
182 if (h264_time < current_ts) in gst_avtp_crf_sync_transform_ip()
190 (GstClockTime) roundl (current_ts + ceill (((gdouble) h264_time - in gst_avtp_crf_sync_transform_ip()
191 current_ts) / avg_period) * avg_period); in gst_avtp_crf_sync_transform_ip()
211 tstamp |= current_ts & 0xFFFFFFFF00000000; in gst_avtp_crf_sync_transform_ip()
212 if (tstamp < current_ts) in gst_avtp_crf_sync_transform_ip()
220 (GstClockTime) roundl (current_ts + ceill ((tstamp - in gst_avtp_crf_sync_transform_ip()
221 current_ts) / avg_period) * avg_period); in gst_avtp_crf_sync_transform_ip()
Dgstavtpcrfcheck.c166 GstClockTime current_ts = thread_data->current_ts; in gst_avtp_crf_check_transform_ip() local
174 if (!avg_period || !current_ts) in gst_avtp_crf_check_transform_ip()
197 h264_time |= current_ts & 0xFFFFFFFF00000000; in gst_avtp_crf_check_transform_ip()
198 if (h264_time < current_ts) in gst_avtp_crf_check_transform_ip()
206 (GstClockTime) roundl (current_ts + roundl ((h264_time - in gst_avtp_crf_check_transform_ip()
207 current_ts) / avg_period) * avg_period); in gst_avtp_crf_check_transform_ip()
231 tstamp |= current_ts & 0xFFFFFFFF00000000; in gst_avtp_crf_check_transform_ip()
232 if (tstamp < current_ts) in gst_avtp_crf_check_transform_ip()
240 (GstClockTime) roundl (current_ts + roundl ((tstamp - in gst_avtp_crf_check_transform_ip()
241 current_ts) / avg_period) * avg_period); in gst_avtp_crf_check_transform_ip()
Dgstavtpcrfbase.h61 GstClockTime current_ts; member
Dgstavtpcrfbase.c449 data->current_ts = first_pkt_tstamp; in calculate_average_period()
474 data->current_ts = first_pkt_tstamp; in calculate_average_period()
517 data->current_ts = 0; in crf_listener_thread_func()
/third_party/mindspore/tests/st/fl/mobile/
Dsimulator.py253 current_ts = datetime_to_timestamp(datetime.datetime.now()) variable
254 duration = result['next_ts'] - current_ts
262 current_ts = datetime_to_timestamp(datetime.datetime.now()) variable
263 duration = result['next_ts'] - current_ts
271 current_ts = datetime_to_timestamp(datetime.datetime.now()) variable
272 duration = result['next_ts'] - current_ts
/third_party/mindspore/tests/st/fl/hybrid_lenet/
Dsimulator.py253 current_ts = datetime_to_timestamp(datetime.datetime.now()) variable
254 duration = result['next_ts'] - current_ts
262 current_ts = datetime_to_timestamp(datetime.datetime.now()) variable
263 duration = result['next_ts'] - current_ts
271 current_ts = datetime_to_timestamp(datetime.datetime.now()) variable
272 duration = result['next_ts'] - current_ts
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Davtpcrfbase.c523 fail_unless_equals_uint64 (thread_data->current_ts, 1000); in GST_START_TEST()
603 fail_unless_equals_uint64 (thread_data->current_ts, 18446744073709501615ULL); in GST_START_TEST()
639 fail_unless_equals_uint64 (thread_data->current_ts, 21833); in GST_START_TEST()
672 fail_unless_equals_uint64 (thread_data->current_ts, 1000); in GST_START_TEST()
678 fail_unless_equals_uint64 (thread_data->current_ts, 21833); in GST_START_TEST()
717 fail_unless_equals_uint64 (thread_data->current_ts, 1000); in GST_START_TEST()
723 fail_unless_equals_uint64 (thread_data->current_ts, 3334280); in GST_START_TEST()
760 fail_unless_equals_uint64 (thread_data->current_ts, 20833); in GST_START_TEST()
797 fail_unless_equals_uint64 (thread_data->current_ts, 21833); in GST_START_TEST()
Davtpcrfcheck.c182 avtpcrfbase->thread_data.current_ts = 110000; in GST_START_TEST()
207 avtpcrfbase->thread_data.current_ts = 110000; in GST_START_TEST()
231 avtpcrfbase->thread_data.current_ts = 110; in GST_START_TEST()
Davtpcrfsync.c270 avtpcrfbase->thread_data.current_ts = 110000; in GST_START_TEST()
312 avtpcrfbase->thread_data.current_ts = 110000; in GST_START_TEST()
345 avtpcrfbase->thread_data.current_ts = 110; in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst/ivtc/
Dgstivtc.c260 ivtc->current_ts = ivtc->segment.start; in gst_ivtc_sink_event()
538 ivtc->fields[0].ts + GST_MSECOND * 50 < ivtc->current_ts) { in gst_ivtc_transform()
574 if (ivtc->fields[anchor_index].ts < ivtc->current_ts) { in gst_ivtc_construct_frame()
621 GST_BUFFER_PTS (outbuf) = ivtc->current_ts; in gst_ivtc_construct_frame()
622 GST_BUFFER_DTS (outbuf) = ivtc->current_ts; in gst_ivtc_construct_frame()
629 ivtc->current_ts += GST_BUFFER_DURATION (outbuf); in gst_ivtc_construct_frame()
Dgstivtc.h58 GstClockTime current_ts; member
/third_party/gstreamer/gstplugins_bad/gst/debugutils/
Dfpsdisplaysink.c353 GstClockTime current_ts = gst_util_get_timestamp (); in display_current_fps() local
363 time_diff = (gdouble) (current_ts - self->last_ts) / GST_SECOND; in display_current_fps()
364 time_elapsed = (gdouble) (current_ts - self->start_ts) / GST_SECOND; in display_current_fps()
420 self->last_ts = current_ts; in display_current_fps()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstahcsrc.c2099 GstClockTime current_ts; in gst_ahc_src_on_preview_frame() local
2102 current_ts = gst_clock_get_time (clock) - base_time; in gst_ahc_src_on_preview_frame()
2106 duration = current_ts - self->previous_ts; in gst_ahc_src_on_preview_frame()
2107 self->previous_ts = current_ts; in gst_ahc_src_on_preview_frame()
2110 self->previous_ts = current_ts; in gst_ahc_src_on_preview_frame()