NVIDIA DeepStream SDK API Reference
6.4 Release
includes/nvdspreprocess_meta.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
3
*
4
* Permission is hereby granted, free of charge, to any person obtaining a
5
* copy of this software and associated documentation files (the "Software"),
6
* to deal in the Software without restriction, including without limitation
7
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
* and/or sell copies of the Software, and to permit persons to whom the
9
* Software is furnished to do so, subject to the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be included in
12
* all copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
* DEALINGS IN THE SOFTWARE.
21
*/
22
38
#ifndef __NVDSPREPROCESS_META_H__
39
#define __NVDSPREPROCESS_META_H__
40
41
#include <vector>
42
#include <string>
43
#include "
nvbufsurface.h
"
44
#include "
nvds_roi_meta.h
"
45
50
typedef
struct
51
{
53
void
*raw_tensor_buffer;
54
56
guint64 buffer_size;
57
59
std::vector<int> tensor_shape;
60
62
NvDsDataType
data_type;
63
65
std::string tensor_name;
66
68
guint gpu_id;
69
71
void
*private_data;
72
74
guint meta_id;
75
76
}
NvDsPreProcessTensorMeta
;
77
82
typedef
struct
83
{
85
std::vector<guint64> target_unique_ids;
86
88
NvDsPreProcessTensorMeta
*tensor_meta;
89
91
std::vector<NvDsRoiMeta> roi_vector;
92
94
void
*private_data;
95
96
}
GstNvDsPreProcessBatchMeta
;
97
98
#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:50
nvbufsurface.h
NvDsDataType
NvDsDataType
Data type used for model in infer.
Definition:
nvds_roi_meta.h:64
GstNvDsPreProcessBatchMeta
preprocess meta as a user meta which is attached at batch level
Definition:
gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_meta.h:82
Advance Information | Subject to Change | Generated by NVIDIA | Mon Dec 11 2023 17:51:25 | PR-09318-R32