|
|
NVIDIA DeepStream SDK API Reference
|
9.0 Release
|
Go to the documentation of this file.
13 #ifndef __NVGSTDS_APP_H__
14 #define __NVGSTDS_APP_H__
19 #include "deepstream_app_version.h"
20 #include "deepstream_common.h"
21 #include "deepstream_config.h"
22 #include "deepstream_osd.h"
23 #include "deepstream_segvisual.h"
24 #include "deepstream_perf.h"
25 #include "deepstream_preprocess.h"
26 #include "deepstream_primary_gie.h"
27 #include "deepstream_sinks.h"
28 #include "deepstream_sources.h"
29 #include "deepstream_streammux.h"
30 #include "deepstream_tiled_display.h"
31 #include "deepstream_dsanalytics.h"
32 #include "deepstream_dsexample.h"
33 #include "deepstream_tracker.h"
34 #include "deepstream_text_embedder.h"
35 #include "deepstream_visionencoder.h"
36 #include "deepstream_replay.h"
37 #include "deepstream_secondary_gie.h"
38 #include "deepstream_secondary_preprocess.h"
39 #include "deepstream_c2d_msg.h"
40 #include "deepstream_image_save.h"
41 #include "gst-nvdscustommessage.h"
42 #include "gst-nvdscommonconfig.h"
NvDsInstanceBin common_elements
NvDsSrcParentBin multi_src_bin
gboolean create_pipeline(AppCtx *appCtx, bbox_generated_callback bbox_generated_post_analytics_cb, bbox_generated_callback all_bbox_generated_cb, perf_callback perf_cb, overlay_graphics_callback overlay_graphics_cb)
Create DS Anyalytics Pipeline per the appCtx configurations.
#define MAX_SECONDARY_GIE_BINS
gint global_gpu_id
To set Global GPU ID for all the componenents at once if needed This will be used in case gpu_id prop...
gboolean low_latency_mode
bbox_generated_callback all_bbox_generated_cb
NvDsSecondaryGieBin secondary_gie_bin
REST server application context.
gboolean enable_perf_measurement
NvDsReplayConfig replay_config
guint num_source_sub_bins
GThread * ota_handler_thread
gchar * terminated_track_output_path
guint num_secondary_preprocess_sub_bins
NvDsSegVisualConfig segvisual_config
void destroy_pipeline(AppCtx *appCtx)
NvDsDsExampleBin dsexample_bin
gchar ** sensor_name_list
NvDsDsAnalyticsBin dsanalytics_bin
NvDsSinkBin demux_sink_bin
Holds information about the latency of a given frame.
gboolean parse_config_file_yaml(NvDsConfig *config, gchar *cfg_file_path)
Function to read properties from YML configuration file.
NvDsSourceConfig source_attr_all_config
gboolean pause_pipeline(AppCtx *appCtx)
#define MAX_MESSAGE_CONSUMERS
NvDsVisionEncoderConfig visionencoder_config
gboolean source_list_enabled
overlay_graphics_callback overlay_graphics_cb
NvDsTrackerConfig tracker_config
void(* perf_callback)(gpointer ctx, NvDsAppPerfStruct *str)
NvDsTiledDisplayBin tiled_display_bin
gchar * last_error
Last error message for error propagation.
guint num_secondary_gie_sub_bins
gboolean extract_sei_type5_data
gint pipeline_recreate_sec
NvDsSensorInfo * get_sensor_info(AppCtx *appCtx, guint source_id)
Function to procure the NvDsSensorInfo for the source_id that was added using the nvmultiurisrcbin RE...
NvDsAppPerfStructInt perf_struct
gboolean seek_pipeline(AppCtx *appCtx, glong milliseconds, gboolean seek_is_relative)
NvDsGieConfig primary_gie_config
void(* bbox_generated_callback)(AppCtx *appCtx, GstBuffer *buf, NvDsBatchMeta *batch_meta, guint index)
gulong primary_bbox_buffer_probe_id
gboolean msgapi_init_early(AppCtx *appCtx, const gchar *cfg_file_path)
Generic msgapi helper functions for error propagation These work with ANY DeepStream app (test1-5,...
gpointer msgapi_lib_handle
bbox_generated_callback bbox_generated_post_analytics_cb
gboolean parse_config_file(NvDsConfig *config, gchar *cfg_file_path)
Function to read properties from configuration file.
NvDsDsExampleBin dsexample_bin
gboolean enable_error_propagation
Error propagation support for nvmultiurisrcbin.
gchar * batched_sensor_name
gboolean stream_name_display
NvDsDsAnalyticsConfig dsanalytics_config
gboolean(* overlay_graphics_callback)(AppCtx *appCtx, GstBuffer *buf, NvDsBatchMeta *batch_meta, guint index)
gboolean resume_pipeline(AppCtx *appCtx)
gchar * shadow_track_output_path
gchar * reid_track_dir_path
gpointer msgapi_conn_handle
Error propagation msgapi handles.
NvDsInstanceData instance_data[MAX_SOURCE_BINS]
void restart_pipeline(AppCtx *appCtx)
NvDsPreProcessBin preprocess_bin
gboolean custom_ts_to_rfc
GstElement * text_embedder
NvDsConfig override_config
NvDsPrimaryGieBin primary_gie_bin
#define MAX_SECONDARY_PREPROCESS_BINS
NvDsVisionEncoderBin visionencoder_bin
gulong primary_bbox_buffer_probe_id
gboolean use_nvmultiurisrcbin
To support nvmultiurisrcbin.
NvDsFrameLatencyInfo * latency_info
NvDsSecondaryPreProcessBin secondary_preprocess_bin
NvDsImageSave image_save_config
gulong all_bbox_buffer_probe_id
NvDsPreProcessConfig preprocess_config
NvDsStreammuxConfig streammux_config
NvDsDsExampleConfig dsexample_config
void msgapi_report_error_and_cleanup(AppCtx *appCtx, const gchar *error_message)
msgapi_report_error_and_cleanup: Generic error reporting function called before application exit.
guint perf_measurement_interval_sec
NvDsC2DContext * c2d_ctx[MAX_MESSAGE_CONSUMERS]
NvDsTextEmbedderConfig text_embedder_config
guint num_message_consumers
NvDsTiledDisplayConfig tiled_display_config
GHashTable * sensorInfoHash
Hash table to save NvDsSensorInfo obtained with REST API stream/add, remove operations The key is sou...
gchar * kitti_track_dir_path
NvDsTrackerBin tracker_bin
void toggle_show_bbox_text(AppCtx *appCtx)
NvDsSinkMsgConvBrokerConfig msg_conv_config
gboolean source_attr_all_parsed
NvDsSegVisualBin segvisual_bin
gulong fps_buffer_probe_id
struct _GstBuffer GstBuffer