NVIDIA DeepStream SDK API Reference

8.0 Release
9.0/sources/includes/gstnvdsinfer.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
28 G_BEGIN_DECLS
29 
30 #include "nvdsinfer.h"
31 
59  NvDsInferNetworkInfo *network_info, NvDsInferLayerInfo *layers_info,
60  guint num_layers, guint batch_size, gpointer user_data);
61 
72 typedef struct
73 {
75  guint unique_id;
77  guint num_output_layers;
81  NvDsInferLayerInfo *output_layers_info;
83  void **out_buf_ptrs_host;
85  void **out_buf_ptrs_dev;
87  gint gpu_id;
89  void *priv_data;
91  NvDsInferNetworkInfo network_info;
93  gboolean maintain_aspect_ratio;
97  gboolean symmetric_padding;
99 
100 
110 typedef struct
111 {
113  guint classes;
115  guint width;
117  guint height;
120  gint* class_map;
123  gfloat *class_probabilities_map;
125  void *priv_data;
127  gint unique_id;
129 
130 G_END_DECLS
131 
NvDsInferTensorMeta
Holds the raw tensor output information for one frame / one object.
Definition: sources/includes/gstnvdsinfer.h:72
nvdsinfer.h
NvDsInferNetworkInfo
Holds information about the model network.
Definition: sources/includes/nvdsinfer.h:114
NvDsInferLayerInfo
Holds information about one layer in the model.
Definition: sources/includes/nvdsinfer.h:91
NvDsInferSegmentationMeta
Holds the segmentation model output information for one frame / one object.
Definition: sources/includes/gstnvdsinfer.h:110
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: 9.0/sources/includes/gstnvdsinfer.h:58
GstBuffer
struct _GstBuffer GstBuffer
Definition: sources/includes/ds3d/common/idatatype.h:19