NVIDIA DeepStream SDK API Reference

9.2 Release
sources/libs/gst-nvdsinferbase/include/gstnvdsinfer.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
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;
75  guint num_output_layers;
79  NvDsInferLayerInfo *output_layers_info;
81  void **out_buf_ptrs_host;
83  void **out_buf_ptrs_dev;
85  gint gpu_id;
87  void *priv_data;
89  NvDsInferNetworkInfo network_info;
91 
92 
102 typedef struct
103 {
105  guint classes;
107  guint width;
109  guint height;
112  gint* class_map;
115  gfloat *class_probabilities_map;
117  void *priv_data;
119  guint unique_id;
121 
122 G_END_DECLS
123 
NvDsInferTensorMeta
Holds the raw tensor output information for one frame / one object.
Definition: includes/gstnvdsinfer.h:77
width
JDIMENSION JDIMENSION * width
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jpeglib.h:1001
GstBuffer
struct _GstBuffer GstBuffer
Definition: includes/ds3d/common/idatatype.h:24
NvDsInferNetworkInfo
Holds information about the model network.
Definition: includes/nvdsinfer.h:119
NvDsInferLayerInfo
Holds information about one layer in the model.
Definition: includes/nvdsinfer.h:96
NvDsInferSegmentationMeta::unique_id
guint unique_id
Unique ID of the gst-nvinfer instance which attached this meta.
Definition: sources/libs/gst-nvdsinferbase/include/gstnvdsinfer.h:119
NvDsInferSegmentationMeta
Holds the segmentation model output information for one frame / one object.
Definition: includes/gstnvdsinfer.h:115
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: sources/libs/gst-nvdsinferbase/include/gstnvdsinfer.h:56