NVIDIA DeepStream SDK API Reference

9.1 Release
sources/apps/apps-common/includes/deepstream_replay.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 
18 #ifndef __NVGSTDS_REPLAY_H__
19 #define __NVGSTDS_REPLAY_H__
20 
21 
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26 
27 #include <gst/gst.h>
28 #include <stdint.h>
29 
30 typedef struct
31 {
32  gboolean enable;
33  gchar* label_dir;
34  gchar* file_names;
36  guint label_width;
37  guint label_height;
38  guint interval;
40 
41 typedef struct
42 {
43  GstElement *bin;
44  GstElement *replay;
46 
59 gboolean
61 
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif
create_replay_bin
gboolean create_replay_bin(NvDsReplayConfig *config, NvDsReplayBin *bin)
Initialize NvDsReplayBin.
NvDsReplayBin::replay
GstElement * replay
Definition: sources/apps/apps-common/includes/deepstream_replay.h:44
NvDsReplayConfig::label_width
guint label_width
Definition: sources/apps/apps-common/includes/deepstream_replay.h:36
NvDsReplayConfig::file_names
gchar * file_names
Definition: sources/apps/apps-common/includes/deepstream_replay.h:34
NvDsReplayConfig::enable
gboolean enable
Definition: sources/apps/apps-common/includes/deepstream_replay.h:32
NvDsReplayConfig::label_height
guint label_height
Definition: sources/apps/apps-common/includes/deepstream_replay.h:37
NvDsReplayBin::bin
GstElement * bin
Definition: sources/apps/apps-common/includes/deepstream_replay.h:43
NvDsReplayConfig
Definition: sources/apps/apps-common/includes/deepstream_replay.h:30
NvDsReplayConfig::max_frame_nums
gchar * max_frame_nums
Definition: sources/apps/apps-common/includes/deepstream_replay.h:35
NvDsReplayConfig::interval
guint interval
Definition: sources/apps/apps-common/includes/deepstream_replay.h:38
NvDsReplayBin
Definition: sources/apps/apps-common/includes/deepstream_replay.h:41
NvDsReplayConfig::label_dir
gchar * label_dir
Definition: sources/apps/apps-common/includes/deepstream_replay.h:33