NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gstnvdsinfer.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA Corporation is strictly prohibited.
9  */
10 
26 G_BEGIN_DECLS
27 
28 #include "nvdsinfer.h"
29 
56 typedef void (* gst_nvinfer_raw_output_generated_callback) (GstBuffer *buf,
57  NvDsInferNetworkInfo *network_info, NvDsInferLayerInfo *layers_info,
58  guint num_layers, guint batch_size, gpointer user_data);
59 
70 typedef struct
71 {
73  guint unique_id;
85  gint gpu_id;
87  void *priv_data;
91 
92 
102 typedef struct
103 {
105  guint classes;
107  guint width;
109  guint height;
112  gint* class_map;
117  void *priv_data;
119 
120 G_END_DECLS
121 
G_BEGIN_DECLS typedef void(* gst_nvinfer_raw_output_generated_callback)(GstBuffer *buf, NvDsInferNetworkInfo *network_info, NvDsInferLayerInfo *layers_info, guint num_layers, guint batch_size, gpointer user_data)
Function definition for the inference raw output generated callback of Gst-NvInfer plugin...
Definition: gstnvdsinfer.h:56
guint num_output_layers
Number of bound output layers.
Definition: gstnvdsinfer.h:75
guint unique_id
Unique ID of the gst-nvinfer instance which attached this meta.
Definition: gstnvdsinfer.h:73
NvDsInferNetworkInfo network_info
Network information for the model specified for the nvinfer element instance.
Definition: gstnvdsinfer.h:89
void * priv_data
Private data used for the meta producer's internal memory management.
Definition: gstnvdsinfer.h:117
guint classes
Number of classes in the segmentation output.
Definition: gstnvdsinfer.h:105
NVIDIA DeepStream inference specifications
void * priv_data
Private data used for the meta producer's internal memory management.
Definition: gstnvdsinfer.h:87
NvDsInferLayerInfo * output_layers_info
Pointer to the array containing information for the bound output layers.
Definition: gstnvdsinfer.h:79
guint width
Width of the segmentation output class map.
Definition: gstnvdsinfer.h:107
void ** out_buf_ptrs_host
Array of pointers to the output host buffers for the frame / object.
Definition: gstnvdsinfer.h:81
gint * class_map
Pointer to the array for 2D pixel class map.
Definition: gstnvdsinfer.h:112
Holds the raw tensor output information for one frame / one object.
Definition: gstnvdsinfer.h:70
gfloat * class_probabilities_map
Pointer to the raw array containing the probabilities.
Definition: gstnvdsinfer.h:115
void ** out_buf_ptrs_dev
Array of pointers to the output device buffers for the frame / object.
Definition: gstnvdsinfer.h:83
Holds information about the model network.
Definition: nvdsinfer.h:109
Holds information about one layer in the model.
Definition: nvdsinfer.h:86
gint gpu_id
GPU device ID on which the device buffers have been allocated.
Definition: gstnvdsinfer.h:85
Holds the segmentation model output information for one frame / one object.
Definition: gstnvdsinfer.h:102
guint height
Height of the segmentation output class map.
Definition: gstnvdsinfer.h:109