NVIDIA DeepStream SDK API Reference

8.0 Release
nvwarpParams_t Struct Reference

Detailed Description

Parameter structure.

Definition at line 136 of file sources/includes/NVWarp360.h.

Data Fields

nvwarpType_t type
 The type of the warp. More...
 
uint32_t srcWidth
 The width of the source image. More...
 
uint32_t srcHeight
 The height of the source image. More...
 
float srcX0
 Source center of projection X; frequently (srcWidth - 1) * 0.5, but srcWidth * .5 for wraparounds (equirect). More...
 
float srcY0
 Source center of projection Y; frequently (srcHeight - 1) * 0.5, but srcHeight * .5 for wraparounds (equirect). More...
 
float srcFocalLen
 Source focal length. More...
 
float srcRadius
 Source circular clipping radius. (default 0 means no clipping) (unimplemented). More...
 
float dist [5]
 Distortion, typically for the source. (default {0,0,0,0} means no distortion). More...
 
uint32_t dstWidth
 The width of the destination. More...
 
uint32_t dstHeight
 The height of the destination. More...
 
float rotAngles [3]
 Rotation angles in radians, corresponding to the list of rotation axes below.. More...
 
char rotAxes [4]
 3 rotation axes: upper case 'X', 'Y', and 'Z' are rotation about the positive X, Y and Z axes, whereas lower case 'x', 'y', and 'z' are rotation about the negative axes. More...
 
float topAngle
 Top angle of view. (default +pi/2) More...
 
float bottomAngle
 Bottom angle of view. (default -pi/2) More...
 
void * userData
 Pointer supplied by the user. (default NULL) More...
 
float control [4]
 Projection-specific controls. More...
 

Field Documentation

◆ bottomAngle

float nvwarpParams_t::bottomAngle

Bottom angle of view. (default -pi/2)

Definition at line 165 of file sources/includes/NVWarp360.h.

◆ control

float nvwarpParams_t::control

Projection-specific controls.

Definition at line 170 of file sources/includes/NVWarp360.h.

◆ dist

float nvwarpParams_t::dist

Distortion, typically for the source. (default {0,0,0,0} means no distortion).

Definition at line 149 of file sources/includes/NVWarp360.h.

◆ dstHeight

uint32_t nvwarpParams_t::dstHeight

The height of the destination.

Definition at line 153 of file sources/includes/NVWarp360.h.

◆ dstWidth

uint32_t nvwarpParams_t::dstWidth

The width of the destination.

Definition at line 152 of file sources/includes/NVWarp360.h.

◆ rotAngles

float nvwarpParams_t::rotAngles

Rotation angles in radians, corresponding to the list of rotation axes below..

Definition at line 156 of file sources/includes/NVWarp360.h.

◆ rotAxes

char nvwarpParams_t::rotAxes

3 rotation axes: upper case 'X', 'Y', and 'Z' are rotation about the positive X, Y and Z axes, whereas lower case 'x', 'y', and 'z' are rotation about the negative axes.

Set the 4th to '\0'. X rotation rotates the view upward, Y rightward, and Z clockwise. To specify an embedding of the image in 3D rather than a view of a straightahead image, specify the angles in the opposite order. The default is "YXZ", a.k.a. yaw, pitch, roll (as set by nvwarpInitParams()). Other characters are treated as 'Z'.

Definition at line 157 of file sources/includes/NVWarp360.h.

◆ srcFocalLen

float nvwarpParams_t::srcFocalLen

Source focal length.

Definition at line 146 of file sources/includes/NVWarp360.h.

◆ srcHeight

uint32_t nvwarpParams_t::srcHeight

The height of the source image.

Definition at line 143 of file sources/includes/NVWarp360.h.

◆ srcRadius

float nvwarpParams_t::srcRadius

Source circular clipping radius. (default 0 means no clipping) (unimplemented).

Definition at line 147 of file sources/includes/NVWarp360.h.

◆ srcWidth

uint32_t nvwarpParams_t::srcWidth

The width of the source image.

Definition at line 142 of file sources/includes/NVWarp360.h.

◆ srcX0

float nvwarpParams_t::srcX0

Source center of projection X; frequently (srcWidth - 1) * 0.5, but srcWidth * .5 for wraparounds (equirect).

Definition at line 144 of file sources/includes/NVWarp360.h.

◆ srcY0

float nvwarpParams_t::srcY0

Source center of projection Y; frequently (srcHeight - 1) * 0.5, but srcHeight * .5 for wraparounds (equirect).

Definition at line 145 of file sources/includes/NVWarp360.h.

◆ topAngle

float nvwarpParams_t::topAngle

Top angle of view. (default +pi/2)

Definition at line 164 of file sources/includes/NVWarp360.h.

◆ type

nvwarpType_t nvwarpParams_t::type

The type of the warp.

Definition at line 139 of file sources/includes/NVWarp360.h.

◆ userData

void * nvwarpParams_t::userData

Pointer supplied by the user. (default NULL)

Definition at line 167 of file sources/includes/NVWarp360.h.


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