NVIDIA DeepStream SDK API Reference

4.0.2 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-2019, 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 
19 G_BEGIN_DECLS
20 
21 #include "nvdsinfer.h"
22 
49 typedef void (* gst_nvinfer_raw_output_generated_callback) (GstBuffer *buf,
50  NvDsInferNetworkInfo *network_info, NvDsInferLayerInfo *layers_info,
51  guint num_layers, guint batch_size, gpointer user_data);
52 
63 typedef struct
64 {
66  guint unique_id;
78  gint gpu_id;
80  void *priv_data;
82 
83 
93 typedef struct
94 {
96  guint classes;
98  guint width;
100  guint height;
103  gint* class_map;
108  void *priv_data;
110 
111 G_END_DECLS
112 
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:49
guint num_output_layers
Number of bound output layers.
Definition: gstnvdsinfer.h:68
guint unique_id
Unique ID of the gst-nvinfer instance which attached this meta.
Definition: gstnvdsinfer.h:66
void * priv_data
Private data used for the meta producer's internal memory management.
Definition: gstnvdsinfer.h:108
guint classes
Number of classes in the segmentation output.
Definition: gstnvdsinfer.h:96
Copyright (c) 2017-2019, NVIDIA CORPORATION.
void * priv_data
Private data used for the meta producer's internal memory management.
Definition: gstnvdsinfer.h:80
NvDsInferLayerInfo * output_layers_info
Pointer to the array containing information for the bound output layers.
Definition: gstnvdsinfer.h:72
guint width
Width of the segmentation output class map.
Definition: gstnvdsinfer.h:98
void ** out_buf_ptrs_host
Array of pointers to the output host buffers for the frame / object.
Definition: gstnvdsinfer.h:74
gint * class_map
Pointer to the array for 2D pixel class map.
Definition: gstnvdsinfer.h:103
Holds the raw tensor output information for one frame / one object.
Definition: gstnvdsinfer.h:63
gfloat * class_probabilities_map
Pointer to the raw array containing the probabilities.
Definition: gstnvdsinfer.h:106
void ** out_buf_ptrs_dev
Array of pointers to the output device buffers for the frame / object.
Definition: gstnvdsinfer.h:76
Holds information about the model network.
Definition: nvdsinfer.h:94
Holds information about one layer in the model.
Definition: nvdsinfer.h:74
gint gpu_id
GPU device ID on which the device buffers have been allocated.
Definition: gstnvdsinfer.h:78
Holds the segmentation model output information for one frame / one object.
Definition: gstnvdsinfer.h:93
guint height
Height of the segmentation output class map.
Definition: gstnvdsinfer.h:100