NVIDIA DeepStream SDK API Reference

4.0.1 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Gst-infer API Common Elements

Detailed Description

Defines common elements used in the API exposed by the Gst-inference plugin.

Data Structures

struct  NvDsInferDims
 Specifies dimensions of a layer. More...
 
struct  NvDsInferDimsCHW
 Specifies dimensions of a layer with 3 dimensions. More...
 
struct  NvDsInferLayerInfo
 Holds information about one layer in the model. More...
 
struct  NvDsInferNetworkInfo
 Holds information about the model network. More...
 
struct  NvDsInferObjectDetectionInfo
 Holds information about one parsed object from detector's output. More...
 
struct  NvDsInferAttribute
 Holds information about one classified attribute. More...
 

Macros

#define NVDSINFER_MAX_DIMS   8
 
#define getDimsCHWFromDims(dimsCHW, dims)
 Macro to set values on a NvDsInferDimsCHW structure from a NvDsInferDims structure. More...
 

Typedefs

typedef
NvDsInferObjectDetectionInfo 
NvDsInferParseObjectInfo
 Typedef to maintain backward compatibility. More...
 

Enumerations

enum  NvDsInferDataType {
  FLOAT = 0,
  HALF = 1,
  INT8 = 2,
  INT32 = 3
}
 Data type of the layers. More...
 

Macro Definition Documentation

#define getDimsCHWFromDims (   dimsCHW,
  dims 
)
Value:
do { \
(dimsCHW).c = (dims).d[0]; \
(dimsCHW).h = (dims).d[1]; \
(dimsCHW).w = (dims).d[2]; \
} while (0)

Macro to set values on a NvDsInferDimsCHW structure from a NvDsInferDims structure.

Definition at line 116 of file nvdsinfer.h.

#define NVDSINFER_MAX_DIMS   8

Definition at line 36 of file nvdsinfer.h.

Typedef Documentation

Typedef to maintain backward compatibility.

Definition at line 147 of file nvdsinfer.h.

Enumeration Type Documentation

Data type of the layers.

Enumerator
FLOAT 

FP32 format.

HALF 

FP16 format.

INT8 

INT8 format.

INT32 

INT32 format.

Definition at line 67 of file nvdsinfer.h.