NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/includes/gstnvdsmeta.h File Reference

Detailed Description

NVIDIA GStreamer DeepStream: Metadata Extension

Description: This file defines the Metadata structure used to carry DeepStream metadata or any other metadata in GStreamer pipeline.

Definition in file 9.0/sources/includes/gstnvdsmeta.h.

Go to the source code of this file.

Data Structures

struct  _NvDsMeta
 Holds DeepSteam metadata. More...
 

Macros

#define NVDS_META_API_TYPE   (nvds_meta_api_get_type())
 
#define NVDS_META_INFO   (nvds_meta_get_info())
 
#define NVDS_META_STRING   "nvdsmeta"
 

Typedefs

typedef struct _NvDsMeta NvDsMeta
 Holds DeepSteam metadata. More...
 

Enumerations

enum  GstNvDsMetaType {
  NVDS_GST_INVALID_META =-1,
  NVDS_BATCH_GST_META = NVDS_GST_CUSTOM_META + 1,
  NVDS_DECODER_GST_META,
  NVDS_DEWARPER_GST_META,
  NVDS_BUFFER_GST_AS_FRAME_USER_META,
  NVDS_RESERVED_GST_META = NVDS_GST_CUSTOM_META + 4096,
  NVDS_GST_META_FORCE32 = 0x7FFFFFFF,
  NVDS_GST_INVALID_META =-1,
  NVDS_BATCH_GST_META = NVDS_GST_CUSTOM_META + 1,
  NVDS_DECODER_GST_META,
  NVDS_DEWARPER_GST_META,
  NVDS_BUFFER_GST_AS_FRAME_USER_META,
  NVDS_RESERVED_GST_META = NVDS_GST_CUSTOM_META + 4096,
  NVDS_GST_META_FORCE32 = 0x7FFFFFFF
}
 Defines the type of metadata. More...
 

Functions

GType nvds_meta_api_get_type (void)
 
const GstMetaInfo * nvds_meta_get_info (void)
 
NvDsMetagst_buffer_add_nvds_meta (GstBuffer *buffer, gpointer meta_data, gpointer user_data, NvDsMetaCopyFunc copy_func, NvDsMetaReleaseFunc release_func)
 Adds GstMeta of type NvDsMeta to the GstBuffer and sets the meta_data member of NvDsMeta. More...
 
NvDsMetagst_buffer_get_nvds_meta (GstBuffer *buffer)
 Gets the NvDsMeta last added to a GstBuffer. More...
 
NvDsBatchMetagst_buffer_get_nvds_batch_meta (GstBuffer *buffer)
 Gets the NvDsBatchMeta added to a GstBuffer. More...
 
void nvds_copy_gst_meta_to_frame_meta (GstBuffer *src_gst_buffer, NvDsBatchMeta *batch_meta, NvDsFrameMeta *frame_meta)
 Copies all GstMeta objects on src_gst_buffer to the batched buffer's NvDsBatchMeta The GstMeta objects are copied into the user_meta_list within NvDsFrameMeta. More...
 
void nvds_copy_gst_meta_to_audio_frame_meta (GstBuffer *src_gst_buffer, NvDsBatchMeta *batch_meta, NvDsAudioFrameMeta *frame_meta)
 Copies all GstMeta objects on src_gst_buffer to the batched buffer's NvDsBatchMeta The GstMeta objects are copied into the user_meta_list within NvDsAudioFrameMeta. More...