NVIDIA DeepStream SDK API Reference

6.4 Release
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 
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;
93 
94 
104 typedef struct
105 {
107  guint classes;
109  guint width;
111  guint height;
114  gint* class_map;
119  void *priv_data;
121  gint unique_id;
123 
124 G_END_DECLS
125 
NvDsInferTensorMeta
Holds the raw tensor output information for one frame / one object.
Definition: gstnvdsinfer.h:70
NvDsInferTensorMeta::maintain_aspect_ratio
gboolean maintain_aspect_ratio
Whether aspect ratio was maintained while scaling to network resolution.
Definition: gstnvdsinfer.h:91
NvDsInferTensorMeta::unique_id
guint unique_id
Unique ID of the gst-nvinfer instance which attached this meta.
Definition: gstnvdsinfer.h:73
NvDsInferTensorMeta::out_buf_ptrs_dev
void ** out_buf_ptrs_dev
Array of pointers to the output device buffers for the batch / frame / object.
Definition: gstnvdsinfer.h:83
NvDsInferTensorMeta::out_buf_ptrs_host
void ** out_buf_ptrs_host
Array of pointers to the output host buffers for the batch / frame / object.
Definition: gstnvdsinfer.h:81
NvDsInferTensorMeta::num_output_layers
guint num_output_layers
Number of bound output layers.
Definition: gstnvdsinfer.h:75
NvDsInferTensorMeta::network_info
NvDsInferNetworkInfo network_info
Network information for the model specified for the nvinfer element instance.
Definition: gstnvdsinfer.h:89
NvDsInferSegmentationMeta::priv_data
void * priv_data
Private data used for the meta producer's internal memory management.
Definition: gstnvdsinfer.h:119
NvDsInferSegmentationMeta::classes
guint classes
Number of classes in the segmentation output.
Definition: gstnvdsinfer.h:107
NvDsInferTensorMeta::gpu_id
gint gpu_id
GPU device ID on which the device buffers have been allocated.
Definition: gstnvdsinfer.h:85
NvDsInferTensorMeta::priv_data
void * priv_data
Private data used for the meta producer's internal memory management.
Definition: gstnvdsinfer.h:87
NvDsInferNetworkInfo
Holds information about the model network.
Definition: nvdsinfer.h:110
NvDsInferSegmentationMeta::width
guint width
Width of the segmentation output class map.
Definition: gstnvdsinfer.h:109
NvDsInferLayerInfo
Holds information about one layer in the model.
Definition: nvdsinfer.h:87
NvDsInferSegmentationMeta
Holds the segmentation model output information for one frame / one object.
Definition: gstnvdsinfer.h:104
NvDsInferTensorMeta::output_layers_info
NvDsInferLayerInfo * output_layers_info
Pointer to the array containing information for the bound output layers.
Definition: gstnvdsinfer.h:79
NvDsInferSegmentationMeta::unique_id
gint unique_id
Unique ID of the gst-nvinfer instance which attached this meta.
Definition: gstnvdsinfer.h:121
nvdsinfer.h
NvDsInferSegmentationMeta::class_probabilities_map
gfloat * class_probabilities_map
Pointer to the raw array containing the probabilities.
Definition: gstnvdsinfer.h:117
GstBuffer
struct _GstBuffer GstBuffer
Definition: idatatype.h:19
NvDsInferSegmentationMeta::height
guint height
Height of the segmentation output class map.
Definition: gstnvdsinfer.h:111
NvDsInferSegmentationMeta::class_map
gint * class_map
Pointer to the array for 2D pixel class map.
Definition: gstnvdsinfer.h:114
gst_nvinfer_raw_output_generated_callback
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