Go to the source code of this file.
|
void | generate_rfc3339_str_from_ts (gchar *buf, GstClockTime ts) |
|
GstNvDsNtpCalculator * | gst_nvds_ntp_calculator_new (GstNvDsNtpCalculatorMode mode, GstClockTime frame_duration, GstElement *elem, guint source_id) |
|
void | gst_nvds_ntp_calculator_add_ntp_sync_values (GstNvDsNtpCalculator *calc, GstClockTime ntp_time_epoch_ns, GstClockTime ntp_frame_timestamp, GstClockTime avg_frame_time) |
|
gboolean | gst_nvds_ntp_calculator_have_ntp_sync_values (GstNvDsNtpCalculator *calc) |
|
void | gst_nvds_ntp_calculator_get_ntp_sync_values (GstNvDsNtpCalculator *calc, GstClockTime *ntp_time_epoch_ns, GstClockTime *ntp_frame_timestamp, GstClockTime *avg_frame_time, GstClockTime *ntp_time_epoch_ns_next, GstClockTime *ntp_frame_timestamp_next) |
|
GstClockTime | gst_nvds_ntp_calculator_get_buffer_ntp (GstNvDsNtpCalculator *calc, GstClockTime buf_pts) |
|
void | gst_nvds_ntp_calculator_reset (GstNvDsNtpCalculator *calc) |
|
void | gst_nvds_ntp_calculator_free (GstNvDsNtpCalculator *calc) |
|
◆ NVDS_RFC3339_STR_BUF_LEN
#define NVDS_RFC3339_STR_BUF_LEN 32 |
◆ GstNvDsNtpCalculator
◆ GstNvDsNtpCalculatorMode
Enumerator |
---|
GST_NVDS_NTP_CALC_MODE_SYSTEM_TIME | |
GST_NVDS_NTP_CALC_MODE_RTCP | |
Definition at line 36 of file gstnvstreammux_ntp.h.
◆ GstNvDsNtpCorrectionMode
Enumerator |
---|
GST_NVDS_NTP_CORRECTION_DISABLED | |
GST_NVDS_NTP_CORRECTION_AUTOMATIC | |
GST_NVDS_NTP_CORRECTION_USER_FRAME_RATE | |
Definition at line 43 of file gstnvstreammux_ntp.h.
◆ generate_rfc3339_str_from_ts()
void generate_rfc3339_str_from_ts |
( |
gchar * |
buf, |
|
|
GstClockTime |
ts |
|
) |
| |
◆ gst_nvds_ntp_calculator_add_ntp_sync_values()
void gst_nvds_ntp_calculator_add_ntp_sync_values |
( |
GstNvDsNtpCalculator * |
calc, |
|
|
GstClockTime |
ntp_time_epoch_ns, |
|
|
GstClockTime |
ntp_frame_timestamp, |
|
|
GstClockTime |
avg_frame_time |
|
) |
| |
◆ gst_nvds_ntp_calculator_free()
◆ gst_nvds_ntp_calculator_get_buffer_ntp()
GstClockTime gst_nvds_ntp_calculator_get_buffer_ntp |
( |
GstNvDsNtpCalculator * |
calc, |
|
|
GstClockTime |
buf_pts |
|
) |
| |
◆ gst_nvds_ntp_calculator_get_ntp_sync_values()
void gst_nvds_ntp_calculator_get_ntp_sync_values |
( |
GstNvDsNtpCalculator * |
calc, |
|
|
GstClockTime * |
ntp_time_epoch_ns, |
|
|
GstClockTime * |
ntp_frame_timestamp, |
|
|
GstClockTime * |
avg_frame_time, |
|
|
GstClockTime * |
ntp_time_epoch_ns_next, |
|
|
GstClockTime * |
ntp_frame_timestamp_next |
|
) |
| |
◆ gst_nvds_ntp_calculator_have_ntp_sync_values()
◆ gst_nvds_ntp_calculator_new()
◆ gst_nvds_ntp_calculator_reset()