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') |
#define GST_CAPS_FEATURES_NVMM "memory:NVMM" |
Definition at line 42 of file deepstream_can_context.hpp.
#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 void(* NvDsCanContextTaskQuitCb) (void *usrData) |
Definition at line 113 of file deepstream_can_context.hpp.
|
strong |
Enumerator | |
---|---|
kConfigPath | |
kConfigContent |
Definition at line 48 of file deepstream_can_context.hpp.
|
strong |
Enumerator | |
---|---|
kNone | |
kUri | |
kFrame | |
kBaslerCamera |
Definition at line 64 of file deepstream_can_context.hpp.
DS3D_EXPORT_API ErrCode NvDs_CanContextCreate | ( | DsCanContext ** | ctx, |
const NvDsCanContextConfig * | config | ||
) |
DS3D_EXPORT_API ErrCode NvDs_CanContextDestroy | ( | DsCanContext * | ctx | ) |
DS3D_EXPORT_API bool NvDs_CanContextIsRunning | ( | DsCanContext * | ctx | ) |
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_CanContextProcessFrame | ( | DsCanContext * | ctx, |
const NvDsCanContextFrame * | frame, | ||
NvDsCanContextResultMeta * | res | ||
) |
DS3D_EXPORT_API ErrCode NvDs_CanContextStart | ( | DsCanContext * | ctx, |
NvDsCanContextTaskQuitCb | cb, | ||
void * | usrData | ||
) |
DS3D_EXPORT_API ErrCode NvDs_CanContextStop | ( | DsCanContext * | ctx | ) |
const uint32_t kNvDsCanResultMeta = (NVDS_GST_CUSTOM_META + 100) |
Definition at line 44 of file deepstream_can_context.hpp.
const uint32_t NvDsCanFormatGREY = NVDS_MAKE_FOURCC('G', 'R', 'E', 'Y') |
Definition at line 111 of file deepstream_can_context.hpp.
const uint32_t NvDsCanFormatRGBA = NVDS_MAKE_FOURCC('R', 'G', 'B', 'A') |
Definition at line 110 of file deepstream_can_context.hpp.