NVIDIA DeepStream SDK API Reference

4.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
gst-nvquery.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA Corporation is strictly prohibited.
9  */
10 
27 #ifndef __GST_NVQUERY_H__
28 #define __GST_NVQUERY_H__
29 
30 #include <gst/gst.h>
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
42 GstQuery * gst_nvquery_batch_size_new (void);
43 
51 gboolean gst_nvquery_is_batch_size (GstQuery * query);
52 
62 void gst_nvquery_batch_size_set (GstQuery * query, guint batch_size);
63 
73 gboolean gst_nvquery_batch_size_parse (GstQuery * query, guint * batch_size);
74 
81 GstQuery * gst_nvquery_numStreams_size_new (void);
82 
90 gboolean gst_nvquery_is_numStreams_size (GstQuery * query);
91 
100 void gst_nvquery_numStreams_size_set (GstQuery * query, guint numStreams_size);
101 
111 gboolean gst_nvquery_numStreams_size_parse (GstQuery * query, guint * numStreams_size);
112 
113 #ifdef __cplusplus
114 }
115 #endif
116 
117 #endif
118 
void gst_nvquery_batch_size_set(GstQuery *query, guint batch_size)
Sets the batch size, which is used by the elements responding to the batch size query.
GstQuery * gst_nvquery_numStreams_size_new(void)
Creates a number of streams query, which can be used by elements to query upstream the number of inpu...
gboolean gst_nvquery_is_batch_size(GstQuery *query)
Determines whether a query is a batch size query.
GstQuery * gst_nvquery_batch_size_new(void)
Creates a new batch-size query, which can be used by elements to query upstream the number of buffers...
gboolean gst_nvquery_numStreams_size_parse(GstQuery *query, guint *numStreams_size)
Parses the number of streams from a number of streams query.
gboolean gst_nvquery_is_numStreams_size(GstQuery *query)
Determines whether a query is a number of streams query.
gboolean gst_nvquery_batch_size_parse(GstQuery *query, guint *batch_size)
Parses the batch size from a batch size query.
void gst_nvquery_numStreams_size_set(GstQuery *query, guint numStreams_size)
Sets the number of input sources.