NVIDIA DeepStream SDK API Reference

6.4 Release
NvDsPreProcessUnit Struct Reference

Detailed Description

A preprocess unit for processing which can be Frame/ROI.

Definition at line 231 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

Collaboration diagram for NvDsPreProcessUnit:

Data Fields

NvDsObjectMetaobj_meta = nullptr
 NvDsObjectParams belonging to the object to be classified. More...
 
NvDsFrameMetaframe_meta = nullptr
 NvDsFrameMeta of the frame being preprocessed. More...
 
guint batch_index = 0
 Index of the frame in the batched input GstBuffer. More...
 
gulong frame_num = 0
 Frame number of the frame from the source. More...
 
NvBufSurfaceParamsinput_surf_params = nullptr
 The buffer structure the object / frame was converted from. More...
 
gpointer converted_frame_ptr = nullptr
 Pointer to the converted frame memory. More...
 
NvDsRoiMeta roi_meta
 New meta for rois provided. More...
 

Field Documentation

◆ batch_index

guint NvDsPreProcessUnit::batch_index = 0

Index of the frame in the batched input GstBuffer.

Not required for classifiers.

Definition at line 239 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ converted_frame_ptr

gpointer NvDsPreProcessUnit::converted_frame_ptr = nullptr

Pointer to the converted frame memory.

This memory contains the frame converted to RGB/RGBA and scaled to network resolution. This memory is given to Output loop as input for mean subtraction and normalization and Tensor Buffer formation for inferencing.

Definition at line 248 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ frame_meta

NvDsFrameMeta * NvDsPreProcessUnit::frame_meta = nullptr

NvDsFrameMeta of the frame being preprocessed.

Definition at line 236 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ frame_num

gulong NvDsPreProcessUnit::frame_num = 0

Frame number of the frame from the source.

Definition at line 241 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ input_surf_params

NvBufSurfaceParams * NvDsPreProcessUnit::input_surf_params = nullptr

The buffer structure the object / frame was converted from.

Definition at line 243 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ obj_meta

NvDsObjectMeta * NvDsPreProcessUnit::obj_meta = nullptr

NvDsObjectParams belonging to the object to be classified.

Definition at line 234 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ roi_meta

NvDsRoiMeta NvDsPreProcessUnit::roi_meta

New meta for rois provided.

Definition at line 250 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.


The documentation for this struct was generated from the following file: