NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
19 #ifndef __GST_NVQUERY_H__
20 #define __GST_NVQUERY_H__
21 
22 #include <gst/gst.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
41 GstQuery * gst_nvquery_batch_size_new (void);
42 
50 gboolean gst_nvquery_is_batch_size (GstQuery * query);
51 
60 void gst_nvquery_batch_size_set (GstQuery * query, guint batch_size);
61 
71 gboolean gst_nvquery_batch_size_parse (GstQuery * query, guint * batch_size);
72 
79 GstQuery * gst_nvquery_numStreams_size_new (void);
80 
88 gboolean gst_nvquery_is_numStreams_size (GstQuery * query);
89 
99 void gst_nvquery_numStreams_size_set (GstQuery * query, guint numStreams_size);
100 
110 gboolean gst_nvquery_numStreams_size_parse (GstQuery * query, guint * numStreams_size);
111 
114 #ifdef __cplusplus
115 }
116 #endif
117 
118 #endif
void gst_nvquery_batch_size_set(GstQuery *query, guint batch_size)
Sets the batch size, used by the elements responding to the batch size query.
GstQuery * gst_nvquery_numStreams_size_new(void)
Creates a number of streams query, used by elements to query upstream the number of input sources...
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 the number of buffers in upstr...
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 batch size from a batch size query.
void gst_nvquery_numStreams_size_set(GstQuery *query, guint numStreams_size)
Sets the number of input sources.