GStreamer Video Analytics (GVA) Plugin
Classes | Typedefs | Functions
gva_json_meta.h File Reference

This file contains helper functions to control _GstGVAJSONMeta instances. More...

Go to the source code of this file.

Classes

struct  _GstGVAJSONMeta
 This struct represents JSON metadata and contains instance of parent GstMeta and message. More...
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GstGVAJSONMeta GstGVAJSONMeta
 

Functions

const GstMetaInfo * gst_gva_json_meta_get_info (void)
 This function registers, if needed, and returns GstMetaInfo for _GstGVAJSONMeta. More...
 
GType gst_gva_json_meta_api_get_type (void)
 This function registers, if needed, and returns a GType for api "GstGVAJSONMetaAPI" and associate it with GVA_JSON_META_TAG tag. More...
 
gchar * get_json_message (GstGVAJSONMeta *meta)
 This function returns message field of _GstGVAJSONMeta. More...
 
void set_json_message (GstGVAJSONMeta *meta, const gchar *message)
 This function sets message field of _GstGVAJSONMeta. More...
 

Detailed Description

This file contains helper functions to control _GstGVAJSONMeta instances.

Function Documentation

◆ get_json_message()

gchar* get_json_message ( GstGVAJSONMeta *  meta)

This function returns message field of _GstGVAJSONMeta.

Parameters
meta_GstGVAJSONMeta* to retrieve message of
Returns
C-style string with message

◆ gst_gva_json_meta_api_get_type()

GType gst_gva_json_meta_api_get_type ( void  )

This function registers, if needed, and returns a GType for api "GstGVAJSONMetaAPI" and associate it with GVA_JSON_META_TAG tag.

Returns
GType type

◆ gst_gva_json_meta_get_info()

const GstMetaInfo* gst_gva_json_meta_get_info ( void  )

This function registers, if needed, and returns GstMetaInfo for _GstGVAJSONMeta.

Returns
const GstMetaInfo* for registered type

◆ set_json_message()

void set_json_message ( GstGVAJSONMeta *  meta,
const gchar *  message 
)

This function sets message field of _GstGVAJSONMeta.

Parameters
meta_GstGVAJSONMeta* to set message
messagemessage
Returns
void