NVIDIA DeepStream SDK API Reference
9.1 Release
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2022-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
18
#ifndef __GST_NVDSMETAINSERT_H__
19
#define __GST_NVDSMETAINSERT_H__
20
21
#include <gst/gst.h>
22
#include <gst/base/gstbasetransform.h>
23
24
G_BEGIN_DECLS
25
26
/* #defines don't like whitespacey bits */
27
#define GST_TYPE_NVDSMETAINSERT \
28
(gst_nvdsmetainsert_get_type())
29
#define GST_NVDSMETAINSERT(obj) \
30
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSMETAINSERT,Gstnvdsmetainsert))
31
#define GST_NVDSMETAINSERT_CLASS(klass) \
32
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSMETAINSERT,GstnvdsmetainsertClass))
33
#define GST_IS_NVDSMETAINSERT(obj) \
34
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSMETAINSERT))
35
#define GST_IS_NVDSMETAINSERT_CLASS(klass) \
36
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSMETAINSERT))
37
38
typedef
struct
_Gstnvdsmetainsert
Gstnvdsmetainsert
;
39
typedef
struct
_GstnvdsmetainsertClass
GstnvdsmetainsertClass
;
40
41
struct
_Gstnvdsmetainsert
42
{
43
GstBaseTransform
element
;
44
45
GstPad *
sinkpad
, *
srcpad
;
46
gboolean
is_same_caps
;
47
48
/* source and sink pad caps */
49
GstCaps *
sinkcaps
;
50
GstCaps *
srccaps
;
51
52
gchar*
serialization_lib_name
;
53
void
*
lib_handle
;
54
void (*
serialize_func
)(
GstBuffer
*buf);
55
guint
meta_mem_size
;
56
void
*
meta_mem
;
57
58
};
59
60
struct
_GstnvdsmetainsertClass
61
{
62
GstBaseTransformClass
parent_class
;
63
};
64
65
GType
gst_nvdsmetainsert_get_type
(
void
);
66
67
gboolean
nvds_metainsert_init
(GstPlugin * nvdsmetainsert);
68
69
G_END_DECLS
70
71
#endif
/* __GST_NVDSMETAINSERT_H__ */
nvds_metainsert_init
gboolean nvds_metainsert_init(GstPlugin *nvdsmetainsert)
_Gstnvdsmetainsert::srcpad
GstPad * srcpad
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:45
_Gstnvdsmetainsert::meta_mem
void * meta_mem
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:56
_Gstnvdsmetainsert::is_same_caps
gboolean is_same_caps
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:46
_Gstnvdsmetainsert::lib_handle
void * lib_handle
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:53
_GstnvdsmetainsertClass
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:60
_Gstnvdsmetainsert::sinkcaps
GstCaps * sinkcaps
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:49
_Gstnvdsmetainsert::srccaps
GstCaps * srccaps
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:50
_Gstnvdsmetainsert::meta_mem_size
guint meta_mem_size
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:55
_Gstnvdsmetainsert
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:41
_Gstnvdsmetainsert::element
GstBaseTransform element
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:43
_Gstnvdsmetainsert::serialization_lib_name
gchar * serialization_lib_name
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:52
gst_nvdsmetainsert_get_type
GType gst_nvdsmetainsert_get_type(void)
_Gstnvdsmetainsert::serialize_func
void(* serialize_func)(GstBuffer *buf)
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:54
_GstnvdsmetainsertClass::parent_class
GstBaseTransformClass parent_class
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:62
_Gstnvdsmetainsert::sinkpad
GstPad * sinkpad
Definition:
sources/gst-plugins/gst-nvdsmetautils/gstnvdsmetainsert.h:45
GstBuffer
struct _GstBuffer GstBuffer
Definition:
sources/includes/ds3d/common/idatatype.h:24
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Thu Jul 9 2026 11:48:19 | PR-09318-R32