|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef __GST_NVSTREAMMUX_H__
19 #define __GST_NVSTREAMMUX_H__
22 #include <gst/video/video.h>
24 #include "cuda_runtime_api.h"
25 #include "nvbufsurface.h"
26 #include "nvbufsurftransform.h"
28 #include "../gst-nvmultistream2/gstnvstreammux_ntp.h"
31 #define GST_TYPE_NVSTREAMMUX \
32 (gst_nvstreammux_get_type ())
33 #define GST_NVSTREAMMUX(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVSTREAMMUX,GstNvStreamMux))
35 #define GST_NVSTREAMMUX_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVSTREAMMUX,GstNvStreamMuxClass))
37 #define GST_IS_NVSTREAMMUX(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVSTREAMMUX))
39 #define GST_IS_NVSTREAMMUX_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVSTREAMMUX))
54 gboolean buffer_available=
FALSE;
55 gboolean buffer_available_pad=
FALSE;
57 GstVideoInfo in_videoinfo;
59 gulong num_bufs_in_current_batch;
60 gulong total_bufs_in_current_batch;
71 gboolean new_pad_added;
77 GstBufferPool *int_buf_pool;
82 guint last_sei_frame_id;
84 guint64 last_timestamp;
86 struct timeval cached_time;
88 guint64 latent_sim_time_s;
89 char timestamp_iso8601[30];
90 guint64 timestamp_mega;
91 guint pad_holding_iterations;
92 GstClockTime previous_sei_timestamp;
95 gboolean rtcp_sr_ready =
FALSE;
gboolean align_first_buffer
GstVideoInfo out_videoinfo
guint num_extra_bufs_in_batch
gboolean sys_ts
property that specifies if the ntp timestamp is from rtspsrc or system
GstNvStreamMemory * gst_buffer_get_nvstream_memory(GstBuffer *buf)
GstNvStreamMuxBatchMethod batch_method
struct NvBufSurfTransformSyncObj * NvBufSurfTransformSyncObj_t
Holds the information about synchronization objects for asynchronous transform/composite APIs.
gboolean is_current_buffer_cached
gboolean extract_sei_sim_time
GstBufferPool * black_out_buf_pool
guint num_surfaces_per_frame
GList * latency_metadata_list
Holds information about batched buffers.
gboolean frame_num_reset_on_stream_reset
gboolean first_batch_aligned
GstClockTime ts_latency_offset
GstClockTime peer_latency_min
gboolean sync_inputs
whether input buffer synchronization is turned ON/OFF
@ BATCH_METHOD_ONE_PER_SOURCE
gboolean all_first_buffers_received
gint buffer_cache_timeout
GstClockID timeout_clk_id
G_GNUC_INTERNAL GType gst_nvstreammux_get_type(void)
gulong frame_duration_nsec
struct _GstNvDsNtpCalculator GstNvDsNtpCalculator
GstNvStreamMuxBatchMethod
gboolean pad_task_created
guint max_holding_iterations
struct _GstBuffer GstBuffer
gboolean peer_latency_live
gboolean has_peer_latency
gboolean extract_sei_type5_data
gboolean query_resolution
GstBufferPool * output_buf_pool
gboolean frame_num_reset_on_eos
gint interpolation_method
gboolean drop_until_rtcp_sr
drop-until-rtcp-sr: when TRUE, drop input buffers on each source until an RTCP Sender Report derived ...
gboolean sei_based_frameId
guint failsafe_flush_count
GstClockTime frame_duration
Application specified frame duration used for NTP timestamp calculaion.
@ BATCH_METHOD_ROUND_ROBIN
GstNvMultiStreamPadFrameRates * pad_framerates
gulong num_bufs_in_current_batch
gboolean drop_backward_sei
GstClockTime highest_first_pts
gboolean one_time_in_batch
GstBufferPool * gst_nvstreammux_buffer_pool_new(guint batch_size, GstCaps *caps, guint pool_size)
gboolean enable_adaptive_batch_size
GstClockTime peer_latency_max
GstNvStreamMuxBatchMethod
GstFlowReturn last_flow_ret
GstElementClass parent_class
GHashTable * processed_pads