|
|
NVIDIA DeepStream SDK API Reference
|
9.0 Release
|
NvDsMsg2pCtx * nvds_msg2p_ctx_create(const gchar *file, NvDsPayloadType type)
This function initializes the library with user defined options mentioned in the file and returns the...
void nvds_msg2p_release(NvDsMsg2pCtx *ctx, NvDsPayload *payload)
This function should be called to release memory allocated for payload.
NvDsPayload ** nvds_msg2p_generate_multiple_new(NvDsMsg2pCtx *ctx, void *metadataInfo, guint *payloadCount)
This function will parse the NvDsMsg2pMetaInfo and will generate multiple message payloads.
NvDsPayloadType payloadType
type of payload to be generated.
NvDsPayload * nvds_msg2p_generate_new(NvDsMsg2pCtx *ctx, void *metadataInfo)
This function will parse the NvDsMsg2pMetaInfo and will generate message payloads.
NvDsPayload ** nvds_msg2p_generate_multiple(NvDsMsg2pCtx *ctx, NvDsEvent *events, guint size, guint *payloadCount)
This function will parse the NvDsEventMsgMeta and will generate multiple message payloads.
gpointer privData
private to component.
NvDsMsg2pCtx is structure for library context.
struct NvDsMsg2pCtx NvDsMsg2pCtx
NvDsMsg2pCtx is structure for library context.
void nvds_msg2p_ctx_destroy(NvDsMsg2pCtx *ctx)
Release the resources allocated during context creation.
NvDsPayload * nvds_msg2p_generate(NvDsMsg2pCtx *ctx, NvDsEvent *events, guint size)
This function will parse the NvDsEventMsgMeta and will generate message payload.