Go to the source code of this file.
Data Structures | |
| struct | gst_ucx_conn_req_ctx |
| struct | gst_ucp_conn_ctx |
| struct | _GstUcxServerPriv |
| struct | _GstUcxClientPriv |
| struct | _NvGstBufferParams |
| struct | _NvBufSurfaceDsUcx |
| struct | _NvBufRawDsUcx |
| struct | _NvBufAudioDsUcx |
| union | _NvDsUcxBuf |
| struct | _NvDsCustomMetaUcx |
| struct | _NvDsUcxAmDesc |
| struct | _NvDsUcxAmEventDesc |
| struct | __GstUcxThreadDataSource |
| struct | _GstUcxThreadDataSink |
| struct | _GstUcxClient |
| struct | _GstUcxServer |
| struct | _GstUcxSrc |
| struct | _GstUcxSinkAmHdrParams |
| struct | _GstUcxSinkRdmaParams |
| struct | _GstUcxSink |
Enumerations | |
| enum | { PROP_0, PROP_ADDR, PROP_PORT, PROP_BUF_TYPE, PROP_GPU_DEVICE_ID, PROP_NVBUF_MEMORY_TYPE, PROP_NUM_NVBUF, PROP_NVBUF_BATCH_SIZE, PROP_RAW_BUF_SIZE, PROP_NUM_CONNS, PROP_MAX_EP_NUM, PROP_HIGH_PERF } |
| enum | GstNvDsUcxBufType { NVDSUCX_BUF_TYPE_VIDEO = 0, NVDSUCX_BUF_TYPE_AUDIO_NV = 1 << 0, NVDSUCX_BUF_TYPE_AUDIO_RAW = 1 << 1, NVDSUCX_BUF_TYPE_TEXT = 1 << 2, NVDSUCX_BUF_TYPE_VIDEO = 0, NVDSUCX_BUF_TYPE_AUDIO_NV = 1 << 0, NVDSUCX_BUF_TYPE_AUDIO_RAW = 1 << 1, NVDSUCX_BUF_TYPE_TEXT = 1 << 2 } |
| enum | GstNvDsUcxAmId { UCP_AM_ID = 1, EVENT_AM_ID = 4, UCP_AM_ID_META = 7, EVENT_AM_BATCH_END = 9, UCP_AM_ID = 1, EVENT_AM_ID = 4, UCP_AM_ID_META = 7, EVENT_AM_BATCH_END = 9 } |
Functions | |
| GType | gst_nvdsucx_buf_type_get_type (void) |
| ucs_status_t | gst_ucp_init_context (ucp_context_h *ucp_context, gboolean high_perf) |
| ucs_status_t | gst_ucp_send (ucp_worker_h ucp_worker, ucp_ep_h ep, GstNvDsUcxAmId am_id, void *am_hdr_buf, size_t am_hdr_buf_size, void *rdma_buffer, size_t rdma_buffer_size) |
| ucs_status_t | gst_ucp_send_event (ucp_worker_h ucp_worker, ucp_ep_h ep, void *msg, size_t msg_len) |
| ucs_status_t | gst_ucp_send_only (ucp_worker_h ucp_worker, ucp_ep_h ep, unsigned int am_tag) |
| ucs_status_t | gst_ucp_recv (ucp_worker_h ucp_worker, GstBuffer **gst_buffer, NvDsUcxSrcPrepAmFunc prep_am, NvDsUcxAmDesc *am_desc, GMutex *meta_lock, ucs_status_t *conn_status) |
| ucs_status_t | gst_ucp_recv_meta (ucp_worker_h ucp_worker, GstBuffer **gst_buffer, NvDsUcxSrcPrepAmMetaFunc prep_am_meta, NvDsUcxAmDesc *am_desc, ucs_status_t *conn_status) |
| int | get_thread_num (gpointer ucxdata, bool is_src, bool is_server) |
| gboolean | gst_ucx_is_recv_meta (GstUcxSrc *src, int batch_id) |
| void | free_gst_ucp_conn_ctx (gpointer data) |
| void | clear_gst_ucp_conn_ctx (gpointer data) |
| bool | gst_ucx_server_set_property (GstUcxServer *ucxserver, guint property_id, const GValue *value, GParamSpec *pspec) |
| bool | gst_ucx_client_set_property (GstUcxClient *ucxclient, guint property_id, const GValue *value, GParamSpec *pspec) |
| bool | gst_ucx_src_set_property (GstUcxSrc *ucxsrc, guint property_id, const GValue *value, GParamSpec *pspec) |
| bool | gst_ucx_sink_set_property (GstUcxSink *ucxsink, guint property_id, const GValue *value, GParamSpec *pspec) |
| bool | gst_ucx_server_get_property (GstUcxServer *ucxserver, guint property_id, GValue *value, GParamSpec *pspec) |
| bool | gst_ucx_client_get_property (GstUcxClient *ucxclient, guint property_id, GValue *value, GParamSpec *pspec) |
| bool | gst_ucx_src_get_property (GstUcxSrc *ucxsrc, guint property_id, GValue *value, GParamSpec *pspec) |
| bool | gst_ucx_sink_get_property (GstUcxSink *ucxsink, guint property_id, GValue *value, GParamSpec *pspec) |
| void | gst_ucx_server_init (GstUcxServer *ucxserver) |
| void | gst_ucx_sink_init (GstUcxSink *ucxsink) |
| void | gst_ucx_src_init (GstUcxSrc *ucxsrc) |
| void | gst_ucx_client_init (GstUcxClient *ucxclient) |
| gboolean | gst_ucx_src_negotiate_caps (GstBaseSrc *src, GstUcxSrc *ucxsrc) |
| gboolean | gst_ucx_sink_cap_event_handling (GstUcxSink *ucxsink, GstBaseSink *basesink, GstEvent *event, NvDsUcxAmEventDesc *event_data, gboolean *send_event) |
| void | gst_ucx_set_nvevent_data (GstEvent *event, NvDsUcxAmEventDesc *event_data, gboolean *send_event) |
| int | start_server (gpointer data, bool is_src) |
| int | start_client (gpointer data, bool is_src) |
| int | start_sink (GstUcxSink *ucxsink) |
| int | start_src (GstUcxSrc *ucxsrc, GstBaseSrc *src) |
| void | stop_client (GstUcxClient *ucxclient) |
| void | stop_server (GstUcxServer *ucxserver) |
| void | stop_sink (GstUcxSink *ucxsink) |
| void | stop_src (GstUcxSrc *ucxsrc) |
| void | gst_ucx_init () |
| gboolean | gst_ucx_src_buffer_pool_new (GstUcxSrc *ucxsrc, GstCaps *caps) |
| int | ucx_src_init_buffer_type_attr (GstUcxSrc *ucxsrc) |
| int | gst_ucx_create_thread_pool (GstTaskPool **pool, gint nvbuf_batch_size) |
| gboolean | batch_end_check_func (gpointer arg) |
| static G_END_DECLS void | copy_gstbuf_info (NvGstBufferParams *inNvGst, GstBuffer *inGstBuf, NvGstBufferParams *outNvGst, GstBuffer *outGstBuf) |
| static void | copy_nvbufsurf_params (NvBufSurfaceParams *in, NvBufSurfaceParams *out) |
| static void | copy_nvbufaudio_params (NvBufAudioParams *in, NvBufAudioParams *out) |
| #define AUDIO_CHANNELS "[1, 2147483647]" |
Definition at line 85 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define AUDIO_FORMAT |
Definition at line 79 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define BATCH_END_TIMEOUT_SEC (10) |
Definition at line 68 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define CLIENT_ID_SIZE (32) |
Definition at line 70 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define DEFAULT_ALLOCATOR_BPF (4) |
Definition at line 55 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define DEFAULT_ALLOCATOR_BUF_LEN (441000) |
Definition at line 56 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define DEFAULT_GPU_ID (0) |
Definition at line 57 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define DEFAULT_MAX_EP_NUM (128) |
Definition at line 69 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define DEFAULT_NUM_NVBUF (4) |
Definition at line 61 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define DEFAULT_NVBUF_BATCH_SIZE (1) |
Definition at line 66 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define DEFAULT_NVBUF_MEMORY_TYPE NVBUF_MEM_CUDA_UNIFIED |
Definition at line 58 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define DEFAULT_RAW_BUFFER_SIZE (1 << 13) |
Definition at line 67 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define EVENT_DATA_MAX_LEN 1024 |
Definition at line 139 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define GST_AUDIO_CAPS_MAKE_WITH_FEATURES | ( | features, | |
| format, | |||
| channels | |||
| ) |
Definition at line 87 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define GST_CAPS_FEATURE_MEMORY_NVMM "memory:NVMM" |
Definition at line 73 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define GST_TEXT_CAPS_MAKE | ( | format | ) | "text/x-raw, format=(string){" format "}" |
Definition at line 97 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define GST_TYPE_NVDSUCX_BUF_TYPE (gst_nvdsucx_buf_type_get_type ()) |
Definition at line 134 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define IP_STRING_LEN (45) |
Definition at line 53 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define MAX_MAX_EP_NUM INT_MAX |
Definition at line 65 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define MAX_NUM_NVBUF (20) |
Definition at line 60 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define MAX_NVBUF_BATCH_SIZE INT_MAX |
Definition at line 63 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define MIN_MAX_EP_NUM (1) |
Definition at line 64 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define MIN_NUM_NVBUF (0) |
Definition at line 59 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define MIN_NVBUF_BATCH_SIZE (1) |
Definition at line 62 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define NVTX_WRAPPER_END nvtx_helper_start_end(NULL, &nvtx_id) |
Definition at line 106 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define NVTX_WRAPPER_START |
Definition at line 100 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define PORT_STRING_LEN (8) |
Definition at line 54 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define UCX_DEFAULT_ADDR "127.0.0.1" |
Definition at line 46 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define UCX_DEFAULT_CONNS (1) |
Definition at line 52 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define UCX_DEFAULT_HIGH_PERF TRUE |
Definition at line 47 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define UCX_DEFAULT_PORT (7174) |
Definition at line 50 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define UCX_HIGH_PERF_DISABLE_TLS "tcp,cuda" |
Definition at line 48 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define UCX_MAX_CONNS (4) |
Definition at line 51 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define UCX_MAX_PORT (65535) |
Definition at line 49 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define UCX_THREAD_DATA_COMMON_FIELDS |
Definition at line 294 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| #define VIDEO_FORMATS "{ NV12, RGBA, I420 }" |
Definition at line 76 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| typedef struct gst_ucp_conn_ctx gst_ucp_conn_ctx_t |
| typedef struct gst_ucx_conn_req_ctx gst_ucx_conn_req_ctx_t |
| typedef G_BEGIN_DECLS struct _GstUcxClient GstUcxClient |
| typedef struct _GstUcxClientPriv GstUcxClientPriv |
| typedef struct _GstUcxSinkRdmaParams GstUcxRdmaParams |
| typedef struct _GstUcxServer GstUcxServer |
| typedef struct _GstUcxServerPriv GstUcxServerPriv |
| typedef struct _GstUcxSink GstUcxSink |
| typedef struct _GstUcxSinkAmHdrParams GstUcxSinkAmHdrParams |
| typedef struct _GstUcxSrc GstUcxSrc |
| typedef struct _GstUcxThreadDataSink GstUcxThreadDataSink |
| typedef struct __GstUcxThreadDataSource GstUcxThreadDataSource |
| typedef struct _NvBufAudioDsUcx NvBufAudioDsUcx |
| typedef struct _NvBufRawDsUcx NvBufRawDsUcx |
| typedef struct _NvBufSurfaceDsUcx NvBufSurfaceDsUcx |
| typedef struct _NvDsCustomMetaUcx NvDsCustomMetaUcx |
| typedef struct _NvDsUcxAmDesc NvDsUcxAmDesc |
| typedef struct _NvDsUcxAmEventDesc NvDsUcxAmEventDesc |
| typedef ucs_status_t(* NvDsUcxAmHandlerFunc) (void *arg, const void *header, size_t header_length, void *data, size_t length, const ucp_am_recv_param_t *param) |
Definition at line 270 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| typedef union _NvDsUcxBuf NvDsUcxBuf |
| typedef ucs_status_t(* NvDsUcxSrcPrepAmFunc) (GstBuffer **gst_buffer, void **rdma_data_ptr, NvDsUcxBuf *nv_dsucx_buf, GMutex *meta_lock) |
Definition at line 266 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| typedef ucs_status_t(* NvDsUcxSrcPrepAmMetaFunc) (GstBuffer **gst_buffer, void **rdma_data_ptr, NvDsCustomMetaUcx nv_dsucx_meta) |
Definition at line 268 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| typedef struct _NvGstBufferParams NvGstBufferParams |
| anonymous enum |
| Enumerator | |
|---|---|
| PROP_0 | |
| PROP_ADDR | |
| PROP_PORT | |
| PROP_BUF_TYPE | |
| PROP_GPU_DEVICE_ID | |
| PROP_NVBUF_MEMORY_TYPE | |
| PROP_NUM_NVBUF | |
| PROP_NVBUF_BATCH_SIZE | |
| PROP_RAW_BUF_SIZE | |
| PROP_NUM_CONNS | |
| PROP_MAX_EP_NUM | |
| PROP_HIGH_PERF | |
Definition at line 110 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| enum GstNvDsUcxAmId |
| Enumerator | |
|---|---|
| UCP_AM_ID | |
| EVENT_AM_ID | |
| UCP_AM_ID_META | |
| EVENT_AM_BATCH_END | |
| UCP_AM_ID | |
| EVENT_AM_ID | |
| UCP_AM_ID_META | |
| EVENT_AM_BATCH_END | |
Definition at line 141 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| enum GstNvDsUcxBufType |
Definition at line 126 of file 9.2/sources/gst-plugins/gst-nvdsucx/gstucx.h.
| gboolean batch_end_check_func | ( | gpointer | arg | ) |
| void clear_gst_ucp_conn_ctx | ( | gpointer | data | ) |
|
static |
|
static |
|
static |
| void free_gst_ucp_conn_ctx | ( | gpointer | data | ) |
| int get_thread_num | ( | gpointer | ucxdata, |
| bool | is_src, | ||
| bool | is_server | ||
| ) |
| GType gst_nvdsucx_buf_type_get_type | ( | void | ) |
| ucs_status_t gst_ucp_init_context | ( | ucp_context_h * | ucp_context, |
| gboolean | high_perf | ||
| ) |
| ucs_status_t gst_ucp_recv | ( | ucp_worker_h | ucp_worker, |
| GstBuffer ** | gst_buffer, | ||
| NvDsUcxSrcPrepAmFunc | prep_am, | ||
| NvDsUcxAmDesc * | am_desc, | ||
| GMutex * | meta_lock, | ||
| ucs_status_t * | conn_status | ||
| ) |
| ucs_status_t gst_ucp_recv_meta | ( | ucp_worker_h | ucp_worker, |
| GstBuffer ** | gst_buffer, | ||
| NvDsUcxSrcPrepAmMetaFunc | prep_am_meta, | ||
| NvDsUcxAmDesc * | am_desc, | ||
| ucs_status_t * | conn_status | ||
| ) |
| ucs_status_t gst_ucp_send | ( | ucp_worker_h | ucp_worker, |
| ucp_ep_h | ep, | ||
| GstNvDsUcxAmId | am_id, | ||
| void * | am_hdr_buf, | ||
| size_t | am_hdr_buf_size, | ||
| void * | rdma_buffer, | ||
| size_t | rdma_buffer_size | ||
| ) |
| ucs_status_t gst_ucp_send_event | ( | ucp_worker_h | ucp_worker, |
| ucp_ep_h | ep, | ||
| void * | msg, | ||
| size_t | msg_len | ||
| ) |
| ucs_status_t gst_ucp_send_only | ( | ucp_worker_h | ucp_worker, |
| ucp_ep_h | ep, | ||
| unsigned int | am_tag | ||
| ) |
| bool gst_ucx_client_get_property | ( | GstUcxClient * | ucxclient, |
| guint | property_id, | ||
| GValue * | value, | ||
| GParamSpec * | pspec | ||
| ) |
| void gst_ucx_client_init | ( | GstUcxClient * | ucxclient | ) |
| bool gst_ucx_client_set_property | ( | GstUcxClient * | ucxclient, |
| guint | property_id, | ||
| const GValue * | value, | ||
| GParamSpec * | pspec | ||
| ) |
| int gst_ucx_create_thread_pool | ( | GstTaskPool ** | pool, |
| gint | nvbuf_batch_size | ||
| ) |
| void gst_ucx_init | ( | ) |
| gboolean gst_ucx_is_recv_meta | ( | GstUcxSrc * | src, |
| int | batch_id | ||
| ) |
| bool gst_ucx_server_get_property | ( | GstUcxServer * | ucxserver, |
| guint | property_id, | ||
| GValue * | value, | ||
| GParamSpec * | pspec | ||
| ) |
| void gst_ucx_server_init | ( | GstUcxServer * | ucxserver | ) |
| bool gst_ucx_server_set_property | ( | GstUcxServer * | ucxserver, |
| guint | property_id, | ||
| const GValue * | value, | ||
| GParamSpec * | pspec | ||
| ) |
| void gst_ucx_set_nvevent_data | ( | GstEvent * | event, |
| NvDsUcxAmEventDesc * | event_data, | ||
| gboolean * | send_event | ||
| ) |
| gboolean gst_ucx_sink_cap_event_handling | ( | GstUcxSink * | ucxsink, |
| GstBaseSink * | basesink, | ||
| GstEvent * | event, | ||
| NvDsUcxAmEventDesc * | event_data, | ||
| gboolean * | send_event | ||
| ) |
| bool gst_ucx_sink_get_property | ( | GstUcxSink * | ucxsink, |
| guint | property_id, | ||
| GValue * | value, | ||
| GParamSpec * | pspec | ||
| ) |
| void gst_ucx_sink_init | ( | GstUcxSink * | ucxsink | ) |
| bool gst_ucx_sink_set_property | ( | GstUcxSink * | ucxsink, |
| guint | property_id, | ||
| const GValue * | value, | ||
| GParamSpec * | pspec | ||
| ) |
| gboolean gst_ucx_src_buffer_pool_new | ( | GstUcxSrc * | ucxsrc, |
| GstCaps * | caps | ||
| ) |
| bool gst_ucx_src_get_property | ( | GstUcxSrc * | ucxsrc, |
| guint | property_id, | ||
| GValue * | value, | ||
| GParamSpec * | pspec | ||
| ) |
| void gst_ucx_src_init | ( | GstUcxSrc * | ucxsrc | ) |
| gboolean gst_ucx_src_negotiate_caps | ( | GstBaseSrc * | src, |
| GstUcxSrc * | ucxsrc | ||
| ) |
| bool gst_ucx_src_set_property | ( | GstUcxSrc * | ucxsrc, |
| guint | property_id, | ||
| const GValue * | value, | ||
| GParamSpec * | pspec | ||
| ) |
| int start_client | ( | gpointer | data, |
| bool | is_src | ||
| ) |
| int start_server | ( | gpointer | data, |
| bool | is_src | ||
| ) |
| int start_sink | ( | GstUcxSink * | ucxsink | ) |
| int start_src | ( | GstUcxSrc * | ucxsrc, |
| GstBaseSrc * | src | ||
| ) |
| void stop_client | ( | GstUcxClient * | ucxclient | ) |
| void stop_server | ( | GstUcxServer * | ucxserver | ) |
| void stop_sink | ( | GstUcxSink * | ucxsink | ) |
| void stop_src | ( | GstUcxSrc * | ucxsrc | ) |
| int ucx_src_init_buffer_type_attr | ( | GstUcxSrc * | ucxsrc | ) |