NVIDIA DeepStream SDK API Reference
9.0 Release
9.0/sources/apps/apps-common/includes/deepstream_dsexample.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
13
#ifndef _NVGSTDS_DSEXAMPLE_H_
14
#define _NVGSTDS_DSEXAMPLE_H_
15
16
#include <gst/gst.h>
17
18
#ifdef __cplusplus
19
extern
"C"
20
{
21
#endif
22
23
typedef
struct
24
{
25
// Create a bin for the element only if enabled
26
gboolean enable;
27
// Struct members to store config / properties for the element
28
gboolean full_frame;
29
gint processing_width;
30
gint processing_height;
31
gboolean blur_objects;
32
guint unique_id;
33
guint gpu_id;
34
guint batch_size;
35
// For nvvidconv
36
guint nvbuf_memory_type;
37
}
NvDsDsExampleConfig
;
38
39
// Struct to store references to the bin and elements
40
typedef
struct
41
{
42
GstElement *bin;
43
GstElement *queue;
44
GstElement *pre_conv;
45
GstElement *cap_filter;
46
GstElement *elem_dsexample;
47
}
NvDsDsExampleBin
;
48
49
// Function to create the bin and set properties
50
gboolean
51
create_dsexample_bin
(
NvDsDsExampleConfig
*config,
NvDsDsExampleBin
*bin);
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
/* _NVGSTDS_DSEXAMPLE_H_ */
NvDsDsExampleBin
Definition:
sources/apps/apps-common/includes/deepstream_dsexample.h:40
NvDsDsExampleConfig
Definition:
sources/apps/apps-common/includes/deepstream_dsexample.h:23
create_dsexample_bin
gboolean create_dsexample_bin(NvDsDsExampleConfig *config, NvDsDsExampleBin *bin)
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.
Fri Mar 20 2026 14:36:58 | PR-09318-R32