Home
last modified time | relevance | path

Searched refs:average_period (Results 1 – 10 of 10) sorted by relevance

/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Davtpcrfbase.c521 fail_unless_equals_float (thread_data->average_period, 20777.7775); in GST_START_TEST()
570 fail_unless_equals_float ((thread_data->average_period * ptime_in_events), in GST_START_TEST()
601 fail_unless_equals_float (thread_data->average_period, 21147.03325); in GST_START_TEST()
635 fail_unless_equals_float (thread_data->average_period, 20777.6666666); in GST_START_TEST()
671 fail_unless_equals_float (thread_data->average_period, 20854); in GST_START_TEST()
677 fail_unless_equals_float (thread_data->average_period, 20833); in GST_START_TEST()
716 fail_unless_equals_float (thread_data->average_period, 20854); in GST_START_TEST()
722 fail_unless_equals_float (thread_data->average_period, 20833); in GST_START_TEST()
756 fail_unless_equals_float (thread_data->average_period, 20778); in GST_START_TEST()
788 thread_data->average_period = 20750; in GST_START_TEST()
[all …]
Davtpcrfcheck.c181 avtpcrfbase->thread_data.average_period = 3300; in GST_START_TEST()
206 avtpcrfbase->thread_data.average_period = 3300; in GST_START_TEST()
230 avtpcrfbase->thread_data.average_period = 0.0; in GST_START_TEST()
Davtpcrfsync.c269 avtpcrfbase->thread_data.average_period = 3300; in GST_START_TEST()
311 avtpcrfbase->thread_data.average_period = 3300; in GST_START_TEST()
344 avtpcrfbase->thread_data.average_period = 0.0; in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/ext/avtp/
Dgstavtpcrfbase.c434 gdouble average_period = data->average_period; in calculate_average_period() local
443 average_period = in calculate_average_period()
450 data->average_period = average_period; in calculate_average_period()
473 data->average_period = accumulate_period / data->periods_stored; in calculate_average_period()
516 data->average_period = 0; in crf_listener_thread_func()
Dgstavtpcrfcheck.c167 gdouble avg_period = thread_data->average_period; in gst_avtp_crf_check_transform_ip()
210 0.25 * thread_data->average_period) { in gst_avtp_crf_check_transform_ip()
243 0.25 * thread_data->average_period) { in gst_avtp_crf_check_transform_ip()
Dgstavtpcrfbase.h60 gdouble average_period; member
Dgstavtpcrfsync.c146 gdouble avg_period = thread_data->average_period; in gst_avtp_crf_sync_transform_ip()
/third_party/gstreamer/gstplugins_base/gst/videorate/
Dgstvideorate.c634 videorate->average_period = DEFAULT_AVERAGE_PERIOD; in gst_video_rate_init()
1259 if (G_LIKELY (videorate->average_period > videorate->wanted_diff)) in gst_video_rate_trans_ip_max_avg()
1262 wanted_diff = videorate->average_period * 10; in gst_video_rate_trans_ip_max_avg()
1266 videorate->average_period - wanted_diff, in gst_video_rate_trans_ip_max_avg()
1267 videorate->average_period) + in gst_video_rate_trans_ip_max_avg()
1269 videorate->average_period); in gst_video_rate_trans_ip_max_avg()
1354 if (G_LIKELY (avg_period == videorate->average_period)) in gst_video_rate_switch_mode_if_needed()
1357 switch_mode = (avg_period == 0 || videorate->average_period == 0); in gst_video_rate_switch_mode_if_needed()
1363 videorate->average_period = avg_period; in gst_video_rate_switch_mode_if_needed()
1493 if (videorate->average_period > 0) in gst_video_rate_transform_ip()
Dgstvideorate.h55 guint64 average_period; member
/third_party/gstreamer/gstplugins_bad/
DChangeLog2612 The average_period should always represent the time between two