NVIDIA DeepStream SDK API Reference

7.0 Release
includes/gst-nvdscustommessage.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2023 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 __GST_NVDSCUSTOMMESSAGE_H__
29 #define __GST_NVDSCUSTOMMESSAGE_H__
30 
31 #include <gst/gst.h>
32 #include "gst-nvdscommonconfig.h"
33 #include "deepstream_perf.h"
34 G_BEGIN_DECLS
45  GstMessage * gst_nvmessage_new_stream_add (GstObject * obj,
46  NvDsSensorInfo * sensor_info);
47 
55 gboolean gst_nvmessage_is_stream_add (GstMessage * message);
56 
72 gboolean gst_nvmessage_parse_stream_add (GstMessage * message,
73  NvDsSensorInfo * sensor_info);
74 
85 GstMessage *gst_nvmessage_new_stream_remove (GstObject * obj,
86  NvDsSensorInfo * sensor_info);
87 
95 gboolean gst_nvmessage_is_stream_remove (GstMessage * message);
96 
112 gboolean gst_nvmessage_parse_stream_remove (GstMessage * message,
113  NvDsSensorInfo * sensor_info);
114 
131 gboolean gst_nvmessage_parse_fps_stream_add (GstMessage * message,
132  NvDsFPSSensorInfo * sensor_info);
133 
150 gboolean gst_nvmessage_parse_fps_stream_remove (GstMessage * message,
151  NvDsFPSSensorInfo * sensor_info);
152 
162 GstMessage *gst_nvmessage_force_pipeline_eos (GstObject * obj,
163  gboolean force_eos);
164 
165 
174 gboolean
175 gst_nvmessage_parse_force_pipeline_eos (GstMessage * message,
176  gboolean * force_eos);
177 
178 
186 gboolean gst_nvmessage_is_force_pipeline_eos (GstMessage * message);
189 G_END_DECLS
190 #endif
gst_nvmessage_parse_stream_add
gboolean gst_nvmessage_parse_stream_add(GstMessage *message, NvDsSensorInfo *sensor_info)
Parses the stream ID from a stream ADD message.
gst_nvmessage_parse_fps_stream_remove
gboolean gst_nvmessage_parse_fps_stream_remove(GstMessage *message, NvDsFPSSensorInfo *sensor_info)
Parses the stream ID from a stream REMOVE message.
gst_nvmessage_parse_stream_remove
gboolean gst_nvmessage_parse_stream_remove(GstMessage *message, NvDsSensorInfo *sensor_info)
Parses the stream ID from a stream REMOVE message.
gst_nvmessage_parse_fps_stream_add
gboolean gst_nvmessage_parse_fps_stream_add(GstMessage *message, NvDsFPSSensorInfo *sensor_info)
Parses the stream ID from a stream ADD message.
gst_nvmessage_parse_force_pipeline_eos
gboolean gst_nvmessage_parse_force_pipeline_eos(GstMessage *message, gboolean *force_eos)
Parses the force_eos from a force eos message.
NvDsFPSSensorInfo
Definition: deepstream_perf.h:25
gst_nvmessage_is_stream_remove
gboolean gst_nvmessage_is_stream_remove(GstMessage *message)
Determines whether a message is a stream REMOVE message.
gst-nvdscommonconfig.h
gst_nvmessage_new_stream_remove
GstMessage * gst_nvmessage_new_stream_remove(GstObject *obj, NvDsSensorInfo *sensor_info)
Creates a new Stream REMOVE message - denoting a new stream getting removed from nvmultiurisrcbin.
deepstream_perf.h
gst_nvmessage_force_pipeline_eos
GstMessage * gst_nvmessage_force_pipeline_eos(GstObject *obj, gboolean force_eos)
Sends custom message to force-eos on the pipeline.
_NvDsSensorInfo
Definition: libs/gstnvdscustomhelper/gst-nvdscommonconfig.h:62
gst_nvmessage_is_stream_add
gboolean gst_nvmessage_is_stream_add(GstMessage *message)
Determines whether a message is a stream ADD message.
gst_nvmessage_new_stream_add
G_BEGIN_DECLS GstMessage * gst_nvmessage_new_stream_add(GstObject *obj, NvDsSensorInfo *sensor_info)
Creates a new Stream ADD message - denoting a new stream getting added to nvmultiurisrcbin.
gst_nvmessage_is_force_pipeline_eos
gboolean gst_nvmessage_is_force_pipeline_eos(GstMessage *message)
Determines whether a message is a force pipeline eos message.