NVIDIA DeepStream SDK API Reference

7.0 Release
deepstream_asr_app.h File Reference

Go to the source code of this file.

Data Structures

struct  __StreamCtx
 
struct  __AppCtx
 

Macros

#define CHECK_PTR(ptr)
 

Typedefs

typedef struct __StreamCtx StreamCtx
 
typedef struct __AppCtx AppCtx
 

Functions

int create_pipeline (AppCtx *appctx, int stream_num, StreamCtx *sctx)
 
int start_pipeline (int stream_num, StreamCtx *sctx)
 
int destroy_pipeline (StreamCtx *sctx)
 
guint get_num_sources (gchar *cfg_file_path)
 
gboolean parse_config_file (AppCtx *appctx, gchar *config_file)
 
G_BEGIN_DECLS guint get_num_sources_yaml (gchar *cfg_file_path)
 
gboolean parse_config_file_yaml (AppCtx *appctx, gchar *config_file)
 

Macro Definition Documentation

◆ CHECK_PTR

#define CHECK_PTR (   ptr)
Value:
if(ptr == NULL) \
{ \
return -1; \
}

Definition at line 22 of file deepstream_asr_app.h.

Typedef Documentation

◆ AppCtx

typedef struct __AppCtx AppCtx

◆ StreamCtx

typedef struct __StreamCtx StreamCtx

Function Documentation

◆ create_pipeline()

int create_pipeline ( AppCtx appctx,
int  stream_num,
StreamCtx sctx 
)

◆ destroy_pipeline()

int destroy_pipeline ( StreamCtx sctx)

◆ get_num_sources()

guint get_num_sources ( gchar *  cfg_file_path)

◆ get_num_sources_yaml()

G_BEGIN_DECLS guint get_num_sources_yaml ( gchar *  cfg_file_path)

◆ parse_config_file()

gboolean parse_config_file ( AppCtx appctx,
gchar *  config_file 
)

◆ parse_config_file_yaml()

gboolean parse_config_file_yaml ( AppCtx appctx,
gchar *  config_file 
)

◆ start_pipeline()

int start_pipeline ( int  stream_num,
StreamCtx sctx 
)