NVIDIA DeepStream SDK API Reference

7.1 Release
gst-nvmessage.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018 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_NVMESSAGE_H__
29 #define __GST_NVMESSAGE_H__
30 
31 #include <gst/gst.h>
32 
33 G_BEGIN_DECLS
34 
35 
58 GstMessage * gst_nvmessage_new_stream_eos (GstObject *obj, guint eos_stream_id);
59 
67 gboolean gst_nvmessage_is_stream_eos (GstMessage * message);
68 
81 gboolean gst_nvmessage_parse_stream_eos (GstMessage * message, guint * eos_stream_id);
82 
85 G_END_DECLS
86 
87 #endif
gst_nvmessage_new_stream_eos
GstMessage * gst_nvmessage_new_stream_eos(GstObject *obj, guint eos_stream_id)
Creates a new Stream EOS message.
gst_nvmessage_is_stream_eos
gboolean gst_nvmessage_is_stream_eos(GstMessage *message)
Determines whether a message is a stream EOS message.
gst_nvmessage_parse_stream_eos
gboolean gst_nvmessage_parse_stream_eos(GstMessage *message, guint *eos_stream_id)
Parses the stream ID from a stream EOS message.