NVIDIA DeepStream SDK API Reference

7.0 Release
includes/nvdspreprocess_meta.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2022 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 #ifndef __NVDSPREPROCESS_META_H__
29 #define __NVDSPREPROCESS_META_H__
30 
31 #include <vector>
32 #include <string>
33 #include "nvbufsurface.h"
34 #include "nvds_roi_meta.h"
35 
40 typedef struct
41 {
43  void *raw_tensor_buffer;
44 
46  guint64 buffer_size;
47 
49  std::vector<int> tensor_shape;
50 
52  NvDsDataType data_type;
53 
55  std::string tensor_name;
56 
58  guint gpu_id;
59 
61  void *private_data;
62 
64  guint meta_id;
65 
67 
72 typedef struct
73 {
75  std::vector<guint64> target_unique_ids;
76 
78  NvDsPreProcessTensorMeta *tensor_meta;
79 
81  std::vector<NvDsRoiMeta> roi_vector;
82 
84  void *private_data;
85 
87 
88 #endif /* __NVDSPREPROCESS_META_H__ */
nvds_roi_meta.h
NvDsPreProcessTensorMeta
tensor meta containing prepared tensor and related info inside preprocess user meta which is attached...
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_meta.h:40
nvbufsurface.h
NvDsDataType
NvDsDataType
Data type used for model in infer.
Definition: nvds_roi_meta.h:54
GstNvDsPreProcessBatchMeta
preprocess meta as a user meta which is attached at batch level
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_meta.h:72