NVIDIA DeepStream SDK API Reference

9.1 Release
sources/gst-plugins/gst-nvdewarper/nvdewarper_property_parser.h File Reference

Detailed Description

NVIDIA DeepStream GStreamer nvdewarper properties and API Specification

Description: This file specifies the properties and APIs for the DeepStream GStreamer nvdewarper Plugin.

Definition in file sources/gst-plugins/gst-nvdewarper/nvdewarper_property_parser.h.

Go to the source code of this file.

Macros

#define CONFIG_GROUP_DEWARPER_PROPERTY   "property"
 Identifier for [property] group. More...
 
#define CONFIG_GROUP_DEWARPER_PROPERTY_OUTPUT_WIDTH   "output-width"
 Scale dewarped surfaces to specified output width. More...
 
#define CONFIG_GROUP_DEWARPER_PROPERTY_OUTPUT_HEIGHT   "output-height"
 Scale dewarped surfaces to specified output height. More...
 
#define CONFIG_GROUP_DEWARPER_PROPERTY_CUDA_MEMORY_TYPE   "cuda-memory-type"
 NVDS CUDA memory type. More...
 
#define CONFIG_GROUP_DEWARPER_PROPERTY_NUM_BATCH_BUFFERS   "num-batch-buffers"
 Number of dewarped output surfaces per buffer. More...
 
#define CONFIG_GROUP_DEWARPER_PROPERTY_DUMP_FRAMES   "dewarp-dump-frames"
 Number of dewarped frames to dump. More...
 
#define CONFIG_GROUP_DEWARPER_PROPERTY_AISLE_CALIB_FILE   "aisle-calibration-file"
 Pathname of the configuration file for aisle view. More...
 
#define CONFIG_GROUP_DEWARPER_PROPERTY_SPOT_CALIB_FILE   "spot-calibration-file"
 Pathname of the configuration file for spot view. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_ATTRS_PREFIX   "surface"
 Identifier for [surface<n>] group. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_INDEX   "surface-index"
 An index that distinguishes surfaces of the same projection type. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_PROJECTION_TYPE   "projection-type"
 Surface projection of type "NvDsSurfaceType". More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_WIDTH   "width"
 Dewarped surface width. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_HEIGHT   "height"
 Dewarped surface height. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_TOP_ANGLE   "top-angle"
 Desired Top field of view angle, in degrees. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_BOTTOM_ANGLE   "bottom-angle"
 Desired Bottom field of view angle, in degrees. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_PITCH   "pitch"
 View selection parameter pitch in degrees. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_YAW   "yaw"
 View selection parameter yaw in degrees. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_ROLL   "roll"
 View selection parameter roll in degrees. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_FOCAL_LENGTH   "focal-length"
 Array of 2 numbers. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_ADDRESS_MODE   "cuda-address-mode"
 Cuda Texture addressing mode. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_ROTATION_AXES   "rot-axes"
 A four-element array of three-character C-strings terminated by \0 that represent the dequence of rotation axes about which the view gets rotated based on rotation angles specified. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_CONTROL   "control"
 Projection-specific controls for Panini, Stereographic and Pushbroom projections. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_ROTATION_MATRIX   "rot-matrix"
 Conventional 9 element rotation matrix. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_FIELD_OF_VIEW   "src-fov"
 used to compute focal-length if the latter is not provided More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_DISTORTION   "distortion"
 distortion: up to 5 distortion parameters More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_SRC_X0   "src-x0"
 source principal point X More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_SRC_Y0   "src-y0"
 source principal point Y More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_DST_FOCAL_LENGTH   "dst-focal-length"
 Destination focal length : Useful to introduce zoom-in and zoom-out effect. More...
 
#define CONFIG_GROUP_DEWARPER_SURFACE_DST_PRINCIPAL_POINT   "dst-principal-point"
 Destination principal point corresponding to ""dst-focal-length". More...
 

Functions

gboolean nvdewarper_parse_config_file (Gstnvdewarper *nvdewarper, gchar *cfg_file_path)
 
gboolean nvdewarper_parse_dewarper_props (Gstnvdewarper *nvdewarper, GKeyFile *key_file, gchar *group, gchar *cfg_file_path)
 

Function Documentation

◆ nvdewarper_parse_config_file()

gboolean nvdewarper_parse_config_file ( Gstnvdewarper nvdewarper,
gchar *  cfg_file_path 
)

◆ nvdewarper_parse_dewarper_props()

gboolean nvdewarper_parse_dewarper_props ( Gstnvdewarper nvdewarper,
GKeyFile *  key_file,
gchar *  group,
gchar *  cfg_file_path 
)