NVIDIA DeepStream: Message Schema payload Generation
Description: This file specifies the functions used to generate payload based on NVIDIA Deepstream message schema either using eventMsg metadata or the NvDSFrame(obj) metadata
Definition in file deepstream_schema.h.
Go to the source code of this file.
Data Structures | |
| struct | NvDsPlaceSubObject |
| Store data parsed from the config file in these structures. More... | |
| struct | NvDsSensorObject |
| struct | NvDsPlaceObject |
| struct | NvDsAnalyticsObject |
| struct | NvDs3dDatamap |
| struct | NvDsPayloadPriv |
Macros | |
| #define | CONFIG_GROUP_SENSOR "sensor" |
| #define | CONFIG_GROUP_PLACE "place" |
| #define | CONFIG_GROUP_ANALYTICS "analytics" |
| #define | CONFIG_KEY_COORDINATE "coordinate" |
| #define | CONFIG_KEY_DESCRIPTION "description" |
| #define | CONFIG_KEY_ENABLE "enable" |
| #define | CONFIG_KEY_ID "id" |
| #define | CONFIG_KEY_LANE "lane" |
| #define | CONFIG_KEY_LEVEL "level" |
| #define | CONFIG_KEY_LOCATION "location" |
| #define | CONFIG_KEY_NAME "name" |
| #define | CONFIG_KEY_SOURCE "source" |
| #define | CONFIG_KEY_TYPE "type" |
| #define | CONFIG_KEY_VERSION "version" |
| #define | CONFIG_KEY_PLACE_SUB_FIELD1 "place-sub-field1" |
| #define | CONFIG_KEY_PLACE_SUB_FIELD2 "place-sub-field2" |
| #define | CONFIG_KEY_PLACE_SUB_FIELD3 "place-sub-field3" |
| #define | DEFAULT_CSV_FIELDS 10 |
| #define | CHECK_ERROR(error) |
Functions | |
| gchar * | generate_event_message (void *privData, NvDsEventMsgMeta *meta) |
| gchar * | generate_event_message_minimal (void *privData, NvDsEvent *events, guint size) |
| gchar * | generate_event_message_protobuf (void *privData, NvDsEvent *events, guint size, size_t &message_len) |
| gchar * | generate_dsmeta_message (void *privData, void *frameMeta, void *objMeta) |
| gchar * | generate_dsmeta_message_minimal (void *privData, void *frameMeta) |
| gchar * | generate_dsmeta_message_protobuf (void *privData, void *frameMeta, size_t &message_len) |
| gchar * | generate_dsmeta_message_ds3d (void *privData, void *ptrDataMap, gboolean addLidarData, size_t &message_len) |
| void * | create_deepstream_schema_ctx () |
| void | destroy_deepstream_schema_ctx (void *privData) |
| bool | nvds_msg2p_parse_key_value (void *privData, const gchar *file) |
| bool | nvds_msg2p_parse_csv (void *privData, const gchar *file) |
| bool | nvds_msg2p_parse_yaml (void *privData, const gchar *file) |
| #define CHECK_ERROR | ( | error | ) |
Definition at line 56 of file deepstream_schema.h.
| #define CONFIG_GROUP_ANALYTICS "analytics" |
Definition at line 34 of file deepstream_schema.h.
| #define CONFIG_GROUP_PLACE "place" |
Definition at line 33 of file deepstream_schema.h.
| #define CONFIG_GROUP_SENSOR "sensor" |
Definition at line 32 of file deepstream_schema.h.
| #define CONFIG_KEY_COORDINATE "coordinate" |
Definition at line 36 of file deepstream_schema.h.
| #define CONFIG_KEY_DESCRIPTION "description" |
Definition at line 37 of file deepstream_schema.h.
| #define CONFIG_KEY_ENABLE "enable" |
Definition at line 38 of file deepstream_schema.h.
| #define CONFIG_KEY_ID "id" |
Definition at line 39 of file deepstream_schema.h.
| #define CONFIG_KEY_LANE "lane" |
Definition at line 40 of file deepstream_schema.h.
| #define CONFIG_KEY_LEVEL "level" |
Definition at line 41 of file deepstream_schema.h.
| #define CONFIG_KEY_LOCATION "location" |
Definition at line 42 of file deepstream_schema.h.
| #define CONFIG_KEY_NAME "name" |
Definition at line 43 of file deepstream_schema.h.
| #define CONFIG_KEY_PLACE_SUB_FIELD1 "place-sub-field1" |
Definition at line 49 of file deepstream_schema.h.
| #define CONFIG_KEY_PLACE_SUB_FIELD2 "place-sub-field2" |
Definition at line 50 of file deepstream_schema.h.
| #define CONFIG_KEY_PLACE_SUB_FIELD3 "place-sub-field3" |
Definition at line 51 of file deepstream_schema.h.
| #define CONFIG_KEY_SOURCE "source" |
Definition at line 44 of file deepstream_schema.h.
| #define CONFIG_KEY_TYPE "type" |
Definition at line 45 of file deepstream_schema.h.
| #define CONFIG_KEY_VERSION "version" |
Definition at line 46 of file deepstream_schema.h.
| #define DEFAULT_CSV_FIELDS 10 |
Definition at line 53 of file deepstream_schema.h.
| void* create_deepstream_schema_ctx | ( | ) |
| void destroy_deepstream_schema_ctx | ( | void * | privData | ) |
| gchar* generate_dsmeta_message | ( | void * | privData, |
| void * | frameMeta, | ||
| void * | objMeta | ||
| ) |
| gchar* generate_dsmeta_message_ds3d | ( | void * | privData, |
| void * | ptrDataMap, | ||
| gboolean | addLidarData, | ||
| size_t & | message_len | ||
| ) |
| gchar* generate_dsmeta_message_minimal | ( | void * | privData, |
| void * | frameMeta | ||
| ) |
| gchar* generate_dsmeta_message_protobuf | ( | void * | privData, |
| void * | frameMeta, | ||
| size_t & | message_len | ||
| ) |
| gchar* generate_event_message | ( | void * | privData, |
| NvDsEventMsgMeta * | meta | ||
| ) |
| gchar* generate_event_message_minimal | ( | void * | privData, |
| NvDsEvent * | events, | ||
| guint | size | ||
| ) |
| gchar* generate_event_message_protobuf | ( | void * | privData, |
| NvDsEvent * | events, | ||
| guint | size, | ||
| size_t & | message_len | ||
| ) |
| bool nvds_msg2p_parse_csv | ( | void * | privData, |
| const gchar * | file | ||
| ) |
| bool nvds_msg2p_parse_key_value | ( | void * | privData, |
| const gchar * | file | ||
| ) |
| bool nvds_msg2p_parse_yaml | ( | void * | privData, |
| const gchar * | file | ||
| ) |