|
|
NVIDIA DeepStream SDK API Reference
|
9.0 Release
|
Go to the documentation of this file.
21 #ifndef __GST_NVQUERY_H__
22 #define __GST_NVQUERY_H__
25 #include <gst/base/gstbasetransform.h>
230 guint64 created,
const gchar *model,
245 guint64 *created,
const gchar **model,
258 const gchar **text_input,
259 const gchar **model);
void gst_nvquery_parse_update_caps(GstQuery *query, guint *stream_index, const GValue *frame_rate)
Parses the update_caps 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_numStreams_size_parse(GstQuery *query, guint *numStreams_size)
Parses the number of streams from a number of streams query.
GstQuery * gst_nvquery_preprocess_poolsize_new(guint gieid)
Creates a preprocess poolsize query, used by elements to query preprocess element for the size of buf...
void gst_nvquery_preprocess_poolsize_set(GstQuery *query, guint preprocess_poolsize)
Sets the preprocess poolsize as a reponse to query.
gboolean gst_nvquery_batch_size_parse(GstQuery *query, guint *batch_size)
Parses batch size from a batch size query.
gboolean gst_nvquery_is_numStreams_size(GstQuery *query)
Determines whether a query is a number-of-streams query.
gboolean gst_nvquery_is_batch_size(GstQuery *query)
Determines whether a query is a batch size query.
GstQuery * gst_nvquery_text_embedding_new(const gchar *text_input, const gchar *model)
Creates a new text embedding query, which can be used to request text embedding information from the ...
gboolean gst_nvquery_is_text_embedding(GstQuery *query)
Determines whether a query is a text embedding 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...
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.
gboolean gst_nvquery_preprocess_poolsize_parse(GstQuery *query, guint *preprocess_poolsize)
Parses the preprocess poolsize from a preprocess poolsize query.
gboolean gst_nvquery_is_preprocess_poolsize(GstQuery *query)
Determines whether a query is a preprocess poolsize query.
gboolean gst_nvquery_text_embedding_parse(GstQuery *query, const gchar **id, guint64 *created, const gchar **model, const GValue **data)
Parses the text embedding response from a text embedding query.
void gst_nvquery_numStreams_size_set(GstQuery *query, guint numStreams_size)
Sets the number of input sources.
gboolean gst_nvquery_is_update_caps(GstQuery *query)
Checks if a query is update_caps query.
void gst_nvquery_text_embedding_set(GstQuery *query, const gchar *id, guint64 created, const gchar *model, const GValue *data)
Sets the text embedding response data, used by elements responding to the text embedding query.
gboolean gst_nvquery_preprocess_poolsize_gieid_parse(GstQuery *query, guint *gieId)
Parses the preprocess gie id from a preprocess poolsize query.
gboolean gst_nvquery_update_caps_peer_query(GstPad *srcpad, GstStructure *str)
Heterogeneous batching query for new streammux.
gboolean gst_nvquery_text_embedding_parse_request(GstQuery *query, const gchar **text_input, const gchar **model)
Parses the text embedding request parameters from a text embedding query.