|
NVIDIA DeepStream SDK API Reference
|
6.4 Release
|
Go to the documentation of this file.
23 #ifndef __GST_NVINFER_SERVER_H__
24 #define __GST_NVINFER_SERVER_H__
26 #include <gst/base/gstbasetransform.h>
27 #include <gst/video/video.h>
33 #define PACKAGE "nvinferserver"
35 #define LICENSE "Proprietary"
36 #define DESCRIPTION "NVIDIA DeepStreamSDK TensorRT Inference Server plugin"
37 #define BINARY_PACKAGE "NVIDIA DeepStreamSDK TensorRT Inference Server plugin"
38 #define URL "http://nvidia.com/"
41 class GstNvInferServerImpl;
51 #define GST_TYPE_NVINFER_SERVER (gst_nvinfer_server_get_type())
52 #define GST_NVINFER_SERVER(obj) \
53 (G_TYPE_CHECK_INSTANCE_CAST( \
54 (obj), GST_TYPE_NVINFER_SERVER, GstNvInferServer))
55 #define GST_NVINFER_SERVER_CLASS(klass) \
56 (G_TYPE_CHECK_CLASS_CAST( \
57 (klass), GST_TYPE_NVINFER_SERVER, GstNvInferServerClass))
58 #define GST_NVINFER_SERVER_GET_CLASS(obj) \
59 (G_TYPE_INSTANCE_GET_CLASS( \
60 (obj), GST_TYPE_NVINFER_SERVER, GstNvInferServerClass))
61 #define GST_IS_NVINFER(obj) \
62 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_NVINFER_SERVER))
63 #define GST_IS_NVINFER_CLASS(klass) \
64 (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_NVINFER_SERVER))
65 #define GST_NVINFER_SERVER_CAST(obj) ((GstNvInferServer*)(obj))
GstNvInferServerProperty
List of GObject properties for the element.
gpointer output_generated_userdata
Class of the nvinferserver element implementation.
gst_nvinfer_raw_output_generated_callback output_generated_callback
Pointer to the callback function and user data for application access to the bound buffer contents.
typedefG_BEGIN_DECLS struct _GstNvInferServer GstNvInferServer
GType gst_nvinfer_server_get_type(void)
@ PROP_OPERATE_ON_CLASS_IDS
GstBaseTransform base_trans
Base class for GstNvInferServer.
@ PROP_OUTPUT_CALLBACK_USERDATA
Opaque structure storing data of the nvinferserver element.
GstFlowReturn last_flow_ret
GstFlowReturn returned by the latest buffer pad push.
The class structure for the nvinferserver element.
gboolean write_raw_buffers_to_file
Boolean indicating if the bound buffer contents should be written to file.
gstnvinferserver::GstNvInferServerImpl * impl
Pointer to the GstNvInferServerImpl object for this instance.
guint64 current_batch_num
Current batch number of the input batch.
guint64 file_write_batch_num
Batch counter for writing buffer contents to file.
G_BEGIN_DECLS typedef void(* gst_nvinfer_raw_output_generated_callback)(GstBuffer *buf, NvDsInferNetworkInfo *network_info, NvDsInferLayerInfo *layers_info, guint num_layers, guint batch_size, gpointer user_data)
Function definition for the inference raw output generated callback of Gst-NvInfer plugin.
GstBaseTransformClass parent_class