Gst-infer API Common Elements¶
-
group
ee_nvinf
Defines common elements used in the API exposed by the Gst-inference plugin.
Defines
-
NVDSINFER_MAX_DIMS
¶
-
_DS_DEPRECATED_
(STR)¶
-
getDimsCHWFromDims
(dimsCHW, dims)¶ Sets values on a NvDsInferDimsCHW structure from a NvDsInferDims structure.
-
getDimsHWCFromDims
(dimsCHW, dims)¶
Typedefs
-
typedef NvDsInferObjectDetectionInfo
NvDsInferParseObjectInfo
¶ A typedef defined to maintain backward compatibility.
Enums
-
enum
NvDsInferDataType
¶ Specifies the data type of a layer.
Values:
-
enumerator
FLOAT
¶ Specifies FP32 format.
-
enumerator
HALF
¶ Specifies FP16 format.
-
enumerator
INT8
¶ Specifies INT8 format.
-
enumerator
INT32
¶ Specifies INT32 format.
-
enumerator
-
enum
NvDsInferStatus
¶ Enum for the status codes returned by NvDsInferContext.
Values:
-
enumerator
NVDSINFER_SUCCESS
¶ NvDsInferContext operation succeeded.
-
enumerator
NVDSINFER_CONFIG_FAILED
¶ Failed to configure the NvDsInferContext instance possibly due to an erroneous initialization property.
-
enumerator
NVDSINFER_CUSTOM_LIB_FAILED
¶ Custom Library interface implementation failed.
-
enumerator
NVDSINFER_INVALID_PARAMS
¶ Invalid parameters were supplied.
-
enumerator
NVDSINFER_OUTPUT_PARSING_FAILED
¶ Output parsing failed.
-
enumerator
NVDSINFER_CUDA_ERROR
¶ CUDA error was encountered.
-
enumerator
NVDSINFER_TENSORRT_ERROR
¶ TensorRT interface failed.
-
enumerator
NVDSINFER_RESOURCE_ERROR
¶ Resource error was encountered.
-
enumerator
NVDSINFER_TRTIS_ERROR
¶ TRT-IS error was encountered.
-
enumerator
NVDSINFER_UNKNOWN_ERROR
¶ Unknown error was encountered.
-
enumerator
Functions
-
const char *
NvDsInferStatus2Str
(NvDsInferStatus status)¶ Get the string name for the status.
- Return
String name for the status. Memory is owned by the function. Callers should not free the pointer.
- Parameters
[in] status
: An NvDsInferStatus value.
-
struct
NvDsInferDims
- #include <nvdsinfer.h>
Holds the dimensions of a layer.
-
struct
NvDsInferDimsCHW
- #include <nvdsinfer.h>
Holds the dimensions of a three-dimensional layer.
-
struct
NvDsInferLayerInfo
- #include <nvdsinfer.h>
Holds information about one layer in the model.
-
struct
NvDsInferNetworkInfo
- #include <nvdsinfer.h>
Holds information about the model network.
-
struct
NvDsInferObjectDetectionInfo
- #include <nvdsinfer.h>
Holds information about one parsed object from a detector’s output.
-
struct
NvDsInferInstanceMaskInfo
- #include <nvdsinfer.h>
Holds information about one parsed object and instance mask from a detector’s output.
-
struct
NvDsInferAttribute
- #include <nvdsinfer.h>
Holds information about one classified attribute.
-