NVIDIA DeepStream SDK API Reference

7.0 Release
deepstream_audio.h File Reference

Go to the source code of this file.

Data Structures

struct  NvDsInstanceBin
 
struct  NvDsPipeline
 
struct  NvDsConfig
 
struct  _AppCtx
 
struct  StreamSourceInfo
 
struct  TestAppCtx
 

Typedefs

typedef struct _AppCtx AppCtx
 
typedef void(* bbox_generated_callback) (AppCtx *appCtx, GstBuffer *buf, NvDsBatchMeta *batch_meta, guint index)
 

Functions

gboolean create_pipeline (AppCtx *appCtx, perf_callback perf_cb, bbox_generated_callback bgpa_cb)
 Create DS Anyalytics Pipeline per the appCtx configurations. More...
 
gboolean pause_pipeline (AppCtx *appCtx)
 
gboolean resume_pipeline (AppCtx *appCtx)
 
gboolean seek_pipeline (AppCtx *appCtx, glong milliseconds, gboolean seek_is_relative)
 
void destroy_pipeline (AppCtx *appCtx)
 
void restart_pipeline (AppCtx *appCtx)
 
gboolean parse_config_file (NvDsConfig *config, gchar *cfg_file_path)
 Function to read properties from configuration file. More...
 

Typedef Documentation

◆ AppCtx

typedef struct _AppCtx AppCtx

Definition at line 34 of file deepstream_audio.h.

◆ bbox_generated_callback

typedef void(* bbox_generated_callback) (AppCtx *appCtx, GstBuffer *buf, NvDsBatchMeta *batch_meta, guint index)

Definition at line 36 of file deepstream_audio.h.

Function Documentation

◆ create_pipeline()

gboolean create_pipeline ( AppCtx appCtx,
perf_callback  perf_cb,
bbox_generated_callback  bgpa_cb 
)

Create DS Anyalytics Pipeline per the appCtx configurations.

Parameters
appCtx[IN/OUT] The application context providing the config info and where the pipeline resources are maintained
perf_cb[IN]

◆ destroy_pipeline()

void destroy_pipeline ( AppCtx appCtx)

◆ parse_config_file()

gboolean parse_config_file ( NvDsConfig config,
gchar *  cfg_file_path 
)

Function to read properties from configuration file.

Parameters
[in]configpointer to NvDsConfig
[in]cfg_file_pathpath of configuration file.
Returns
true if parsed successfully.

◆ pause_pipeline()

gboolean pause_pipeline ( AppCtx appCtx)

◆ restart_pipeline()

void restart_pipeline ( AppCtx appCtx)

◆ resume_pipeline()

gboolean resume_pipeline ( AppCtx appCtx)

◆ seek_pipeline()

gboolean seek_pipeline ( AppCtx appCtx,
glong  milliseconds,
gboolean  seek_is_relative 
)