NVIDIA DeepStream SDK API Reference

6.4 Release
gstnvinfer.h File Reference

Go to the source code of this file.

Data Structures

struct  GstNvInferDetectionFilterParams
 Holds the bounding box/object detection filtering parameters per class. More...
 
struct  GstNvInferColorParams
 Holds the bounding box coloring information for one class;. More...
 
struct  GstNvInferObjectInfo
 Holds the cached information of an object. More...
 
struct  _GstNvInferObjectHistory
 Holds the inference information/history for one object based on it's tracking id. More...
 
struct  GstNvInferSourceInfo
 Holds source-specific information. More...
 
struct  _GstNvInfer
 GstNvInfer element structure. More...
 
struct  _GstNvInferClass
 

Macros

#define PACKAGE   "nvinfer"
 Copyright (c) 2018-2020, NVIDIA CORPORATION. More...
 
#define VERSION   "1.0"
 
#define LICENSE   "Proprietary"
 
#define DESCRIPTION   "NVIDIA DeepStreamSDK TensorRT plugin"
 
#define BINARY_PACKAGE   "NVIDIA DeepStreamSDK TensorRT plugin"
 
#define URL   "http://nvidia.com/"
 
#define GST_TYPE_NVINFER   (gst_nvinfer_get_type())
 
#define GST_NVINFER(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVINFER,GstNvInfer))
 
#define GST_NVINFER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVINFER,GstNvInferClass))
 
#define GST_NVINFER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVINFER, GstNvInferClass))
 
#define GST_IS_NVINFER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVINFER))
 
#define GST_IS_NVINFER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVINFER))
 
#define GST_NVINFER_CAST(obj)   ((GstNvInfer *)(obj))
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GstNvInfer GstNvInfer
 
typedef struct _GstNvInferClass GstNvInferClass
 
typedef struct _GstNvInferImpl GstNvInferImpl
 
typedef struct _GstNvInferObjectHistory GstNvInferObjectHistory
 Holds the inference information/history for one object based on it's tracking id. More...
 
typedef std::unordered_map< guint64, std::shared_ptr< GstNvInferObjectHistory > > GstNvInferObjectHistoryMap
 Map type for maintaing inference history for objects based on their tracking ids. More...
 

Enumerations

enum  {
  PROP_0,
  PROP_UNIQUE_ID,
  PROP_PROCESS_MODE,
  PROP_CONFIG_FILE_PATH,
  PROP_OPERATE_ON_GIE_ID,
  PROP_OPERATE_ON_CLASS_IDS,
  PROP_FILTER_OUT_CLASS_IDS,
  PROP_MODEL_ENGINEFILE,
  PROP_BATCH_SIZE,
  PROP_INTERVAL,
  PROP_GPU_DEVICE_ID,
  PROP_OUTPUT_WRITE_TO_FILE,
  PROP_OUTPUT_CALLBACK,
  PROP_OUTPUT_CALLBACK_USERDATA,
  PROP_OUTPUT_TENSOR_META,
  PROP_OUTPUT_INSTANCE_MASK,
  PROP_INPUT_TENSOR_META,
  PROP_CLIP_OBJECT_OUTSIDE_ROI,
  PROP_CROP_OBJECTS_TO_ROI_BOUNDARY,
  PROP_LAST
}
 Enum for all GObject properties for the element. More...
 
enum  {
  SIGNAL_MODEL_UPDATED,
  LAST_SIGNAL
}
 

Functions

GType gst_nvinfer_get_type (void)
 

Variables

guint gst_nvinfer_signals [LAST_SIGNAL]
 

Macro Definition Documentation

◆ BINARY_PACKAGE

#define BINARY_PACKAGE   "NVIDIA DeepStreamSDK TensorRT plugin"

Definition at line 38 of file gstnvinfer.h.

◆ DESCRIPTION

#define DESCRIPTION   "NVIDIA DeepStreamSDK TensorRT plugin"

Definition at line 37 of file gstnvinfer.h.

◆ GST_IS_NVINFER

#define GST_IS_NVINFER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVINFER))

Definition at line 53 of file gstnvinfer.h.

◆ GST_IS_NVINFER_CLASS

#define GST_IS_NVINFER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVINFER))

Definition at line 54 of file gstnvinfer.h.

◆ GST_NVINFER

#define GST_NVINFER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVINFER,GstNvInfer))

Definition at line 50 of file gstnvinfer.h.

◆ GST_NVINFER_CAST

#define GST_NVINFER_CAST (   obj)    ((GstNvInfer *)(obj))

Definition at line 55 of file gstnvinfer.h.

◆ GST_NVINFER_CLASS

#define GST_NVINFER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVINFER,GstNvInferClass))

Definition at line 51 of file gstnvinfer.h.

◆ GST_NVINFER_GET_CLASS

#define GST_NVINFER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVINFER, GstNvInferClass))

Definition at line 52 of file gstnvinfer.h.

◆ GST_TYPE_NVINFER

#define GST_TYPE_NVINFER   (gst_nvinfer_get_type())

Definition at line 49 of file gstnvinfer.h.

◆ LICENSE

#define LICENSE   "Proprietary"

Definition at line 36 of file gstnvinfer.h.

◆ PACKAGE

#define PACKAGE   "nvinfer"

Copyright (c) 2018-2020, 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.

Definition at line 34 of file gstnvinfer.h.

◆ URL

#define URL   "http://nvidia.com/"

Definition at line 39 of file gstnvinfer.h.

◆ VERSION

#define VERSION   "1.0"

Definition at line 35 of file gstnvinfer.h.

Typedef Documentation

◆ GstNvInfer

typedef typedefG_BEGIN_DECLS struct _GstNvInfer GstNvInfer

Definition at line 44 of file gstnvinfer.h.

◆ GstNvInferClass

Definition at line 45 of file gstnvinfer.h.

◆ GstNvInferImpl

typedef struct _GstNvInferImpl GstNvInferImpl

Definition at line 46 of file gstnvinfer.h.

◆ GstNvInferObjectHistory

Holds the inference information/history for one object based on it's tracking id.

◆ GstNvInferObjectHistoryMap

typedef std::unordered_map<guint64, std::shared_ptr<GstNvInferObjectHistory> > GstNvInferObjectHistoryMap

Map type for maintaing inference history for objects based on their tracking ids.

Definition at line 157 of file gstnvinfer.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Enum for all GObject properties for the element.

Enumerator
PROP_0 
PROP_UNIQUE_ID 
PROP_PROCESS_MODE 
PROP_CONFIG_FILE_PATH 
PROP_OPERATE_ON_GIE_ID 
PROP_OPERATE_ON_CLASS_IDS 
PROP_FILTER_OUT_CLASS_IDS 
PROP_MODEL_ENGINEFILE 
PROP_BATCH_SIZE 
PROP_INTERVAL 
PROP_GPU_DEVICE_ID 
PROP_OUTPUT_WRITE_TO_FILE 
PROP_OUTPUT_CALLBACK 
PROP_OUTPUT_CALLBACK_USERDATA 
PROP_OUTPUT_TENSOR_META 
PROP_OUTPUT_INSTANCE_MASK 
PROP_INPUT_TENSOR_META 
PROP_CLIP_OBJECT_OUTSIDE_ROI 
PROP_CROP_OBJECTS_TO_ROI_BOUNDARY 
PROP_LAST 

Definition at line 60 of file gstnvinfer.h.

◆ anonymous enum

anonymous enum
Enumerator
SIGNAL_MODEL_UPDATED 
LAST_SIGNAL 

Definition at line 85 of file gstnvinfer.h.

Function Documentation

◆ gst_nvinfer_get_type()

GType gst_nvinfer_get_type ( void  )

Variable Documentation

◆ gst_nvinfer_signals

guint gst_nvinfer_signals[LAST_SIGNAL]