NVIDIA DeepStream SDK API Reference

6.4 Release
deepstream_can_context.hpp File Reference

Go to the source code of this file.

Data Structures

struct  NvDsCanContextFrame
 
struct  NvDsCanContextResultMeta
 
struct  NvDsCanFrameInfo
 
struct  NvDsCanCameraInfo
 
struct  NvDsCanContextConfig
 

Macros

#define GST_CAPS_FEATURES_NVMM   "memory:NVMM"
 
#define NVDS_MAKE_FOURCC(c0, c1, c2, c3)   ((uint32_t)(c0) | ((uint32_t)(c1)) << 8 | ((uint32_t)(c2)) << 16 | ((uint32_t)(c3)) << 24)
 

Typedefs

typedef void(* NvDsCanContextTaskQuitCb) (void *usrData)
 

Enumerations

enum  NvDsCanContextConfigType : int {
  NvDsCanContextConfigType::kConfigPath = 0,
  NvDsCanContextConfigType::kConfigContent = 1
}
 
enum  NvDsCanSrcType : int {
  NvDsCanSrcType::kNone = 0,
  NvDsCanSrcType::kUri,
  NvDsCanSrcType::kFrame,
  NvDsCanSrcType::kBaslerCamera
}
 

Functions

DS3D_EXTERN_C_BEGIN DS3D_EXPORT_API ErrCode NvDs_CanContextParseConfig (NvDsCanContextConfig *config, const char *str, uint32_t len, NvDsCanContextConfigType type)
 
DS3D_EXPORT_API ErrCode NvDs_CanContextCreate (DsCanContext **ctx, const NvDsCanContextConfig *config)
 
DS3D_EXPORT_API ErrCode NvDs_CanContextStart (DsCanContext *ctx, NvDsCanContextTaskQuitCb cb, void *usrData)
 
DS3D_EXPORT_API ErrCode NvDs_CanContextProcessFrame (DsCanContext *ctx, const NvDsCanContextFrame *frame, NvDsCanContextResultMeta *res)
 
DS3D_EXPORT_API bool NvDs_CanContextIsRunning (DsCanContext *ctx)
 
DS3D_EXPORT_API ErrCode NvDs_CanContextStop (DsCanContext *ctx)
 
DS3D_EXPORT_API ErrCode NvDs_CanContextDestroy (DsCanContext *ctx)
 

Variables

const uint32_t kNvDsCanResultMeta = (NVDS_GST_CUSTOM_META + 100)
 
const uint32_t NvDsCanFormatRGBA = NVDS_MAKE_FOURCC('R', 'G', 'B', 'A')
 
const uint32_t NvDsCanFormatGREY = NVDS_MAKE_FOURCC('G', 'R', 'E', 'Y')
 

Macro Definition Documentation

◆ GST_CAPS_FEATURES_NVMM

#define GST_CAPS_FEATURES_NVMM   "memory:NVMM"

Definition at line 42 of file deepstream_can_context.hpp.

◆ NVDS_MAKE_FOURCC

#define NVDS_MAKE_FOURCC (   c0,
  c1,
  c2,
  c3 
)    ((uint32_t)(c0) | ((uint32_t)(c1)) << 8 | ((uint32_t)(c2)) << 16 | ((uint32_t)(c3)) << 24)

Definition at line 106 of file deepstream_can_context.hpp.

Typedef Documentation

◆ NvDsCanContextTaskQuitCb

typedef void(* NvDsCanContextTaskQuitCb) (void *usrData)

Definition at line 113 of file deepstream_can_context.hpp.

Enumeration Type Documentation

◆ NvDsCanContextConfigType

enum NvDsCanContextConfigType : int
strong
Enumerator
kConfigPath 
kConfigContent 

Definition at line 48 of file deepstream_can_context.hpp.

◆ NvDsCanSrcType

enum NvDsCanSrcType : int
strong
Enumerator
kNone 
kUri 
kFrame 
kBaslerCamera 

Definition at line 64 of file deepstream_can_context.hpp.

Function Documentation

◆ NvDs_CanContextCreate()

DS3D_EXPORT_API ErrCode NvDs_CanContextCreate ( DsCanContext **  ctx,
const NvDsCanContextConfig config 
)

◆ NvDs_CanContextDestroy()

DS3D_EXPORT_API ErrCode NvDs_CanContextDestroy ( DsCanContext *  ctx)

◆ NvDs_CanContextIsRunning()

DS3D_EXPORT_API bool NvDs_CanContextIsRunning ( DsCanContext *  ctx)

◆ NvDs_CanContextParseConfig()

DS3D_EXTERN_C_BEGIN DS3D_EXPORT_API ErrCode NvDs_CanContextParseConfig ( NvDsCanContextConfig config,
const char *  str,
uint32_t  len,
NvDsCanContextConfigType  type 
)

◆ NvDs_CanContextProcessFrame()

DS3D_EXPORT_API ErrCode NvDs_CanContextProcessFrame ( DsCanContext *  ctx,
const NvDsCanContextFrame frame,
NvDsCanContextResultMeta res 
)

◆ NvDs_CanContextStart()

DS3D_EXPORT_API ErrCode NvDs_CanContextStart ( DsCanContext *  ctx,
NvDsCanContextTaskQuitCb  cb,
void *  usrData 
)

◆ NvDs_CanContextStop()

DS3D_EXPORT_API ErrCode NvDs_CanContextStop ( DsCanContext *  ctx)

Variable Documentation

◆ kNvDsCanResultMeta

const uint32_t kNvDsCanResultMeta = (NVDS_GST_CUSTOM_META + 100)

Definition at line 44 of file deepstream_can_context.hpp.

◆ NvDsCanFormatGREY

const uint32_t NvDsCanFormatGREY = NVDS_MAKE_FOURCC('G', 'R', 'E', 'Y')

Definition at line 111 of file deepstream_can_context.hpp.

◆ NvDsCanFormatRGBA

const uint32_t NvDsCanFormatRGBA = NVDS_MAKE_FOURCC('R', 'G', 'B', 'A')

Definition at line 110 of file deepstream_can_context.hpp.