|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
18 #ifndef __GSTNVSTREAMMUX_NTP__
19 #define __GSTNVSTREAMMUX_NTP__
26 #define NVDS_RFC3339_STR_BUF_LEN 32
53 GstClockTime frame_duration, GstElement *elem, guint source_id);
56 GstClockTime ntp_time_epoch_ns, GstClockTime ntp_frame_timestamp,
57 GstClockTime avg_frame_time);
62 GstClockTime *ntp_time_epoch_ns, GstClockTime *ntp_frame_timestamp,
63 GstClockTime *avg_frame_time, GstClockTime *ntp_time_epoch_ns_next,
64 GstClockTime *ntp_frame_timestamp_next);
67 GstClockTime buf_pts);
GstNvDsNtpCalculator * gst_nvds_ntp_calculator_new(GstNvDsNtpCalculatorMode mode, GstClockTime frame_duration, GstElement *elem, guint source_id)
@ GST_NVDS_NTP_CORRECTION_AUTOMATIC
@ GST_NVDS_NTP_CALC_MODE_SYSTEM_TIME
void gst_nvds_ntp_calculator_add_ntp_sync_values(GstNvDsNtpCalculator *calc, GstClockTime ntp_time_epoch_ns, GstClockTime ntp_frame_timestamp, GstClockTime avg_frame_time)
void gst_nvds_ntp_calculator_reset(GstNvDsNtpCalculator *calc)
struct _GstNvDsNtpCalculator GstNvDsNtpCalculator
void generate_rfc3339_str_from_ts(gchar *buf, GstClockTime ts)
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)
@ GST_NVDS_NTP_CORRECTION_DISABLED
void gst_nvds_ntp_calculator_free(GstNvDsNtpCalculator *calc)
@ GST_NVDS_NTP_CORRECTION_USER_FRAME_RATE
@ GST_NVDS_NTP_CALC_MODE_RTCP
gboolean gst_nvds_ntp_calculator_have_ntp_sync_values(GstNvDsNtpCalculator *calc)