NVIDIA DeepStream SDK API Reference

4.0.2 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvdsinfer.h File Reference

Detailed Description

Copyright (c) 2017-2019, NVIDIA CORPORATION.

All rights reserved.

NVIDIA Corporation and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related documentation without an express license agreement from NVIDIA Corporation is strictly prohibited.

NVIDIA DeepStream Inference specifications

Description: This file specifies the common definitions used in various APIs exposed by the DeepStream GStreamer Inference plugin.

Definition in file nvdsinfer.h.

Go to the source code of this file.

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 108 of file nvdsinfer.h.

#define NVDSINFER_MAX_DIMS   8

Definition at line 28 of file nvdsinfer.h.

Typedef Documentation

Typedef to maintain backward compatibility.

Definition at line 139 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 59 of file nvdsinfer.h.