|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef __GST_NVDSXFER_H__
19 #define __GST_NVDSXFER_H__
21 #include <gst/base/gstbasetransform.h>
22 #include <gst/video/video.h>
23 #include <glib-object.h>
25 #include <cuda_runtime.h>
27 #include "gstnvdsmeta.h"
28 #include "nvbufsurftransform.h"
30 #include "nvtx3/nvToolsExt.h"
33 #define PACKAGE "nvxfer"
34 #define LICENSE "Proprietary"
35 #define DESCRIPTION "NVIDIA NVDSXFER plugin"
36 #define BINARY_PACKAGE "NVIDIA DeepStream NVDSXFER Plugin"
37 #define URL "http://nvidia.com/"
45 #define GST_TYPE_NVDSXFER (gst_nvdsxfer_get_type())
46 #define GST_NVXFER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSXFER,GstNvXfer))
47 #define GST_NVXFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSXFER,GstNvXferClass))
48 #define GST_NVXFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDSXFER, GstNvXferClass))
49 #define GST_IS_NVXFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSXFER))
50 #define GST_IS_NVXFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSXFER))
51 #define GST_NVXFER_CAST(obj) ((GstNvXfer *)(obj))
GstBufferPool * pool
Output Buffer Pool.
GstBaseTransformClass parent_class
GstBaseTransform base_trans
nvtxDomainHandle_t nvtx_domain
NVTX Domain.
typedefG_BEGIN_DECLS struct _GstNvXfer GstNvXfer
gint p2p_gpu_id
Enable P2P (Peer to Peer) access between devices i.e.
guint gpu_id
GPU ID on which we expect to execute the task.
cudaStream_t cuda_xfer_stream
Cuda Stream used while copying data.
gint nvbuf_mem_type
Type of NvBufSurface Memory to be allocated for output buffers.
gboolean stop
Boolean to signal output thread to stop.
guint frame_num
Frame number of the buffer, only used for debugging.
guint batch_size
Maximum batch size.
GstVideoInfo in_video_info
Input and Output video info (resolution, color format, framerate, etc)
GstVideoInfo out_video_info
GType gst_nvdsxfer_get_type(void)