NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaLDCSparseWarpMap Struct Reference

Detailed Description

Holds the NvMedia LDC defintion of Sparse warp map.

Sparse warp map stores the mappings of each control point from destination image to input image. The coordinates of control points in destination image is defined by NvMediaLDCRegionConfig.

Definition at line 534 of file nvmedia_ldc.h.

Data Fields

uint16_t numHorPoints
 Specifies the number of control points in each row. More...
 
uint16_t numVerPoints
 Specifies the number of control points in each column. More...
 
uint16_t mapStride
 Specifies the number of control points in one stride. More...
 
void * mapPtr
 Holds the mapping value for each of the control points. More...
 
NvMediaLDCDataFormat dataFormat
 Specifies the data format used in the buffer pointed by mapPtr. More...
 

Field Documentation

NvMediaLDCDataFormat NvMediaLDCSparseWarpMap::dataFormat

Specifies the data format used in the buffer pointed by mapPtr.

Supported formats are as specified by NvMediaLDCDataFormat.

Definition at line 555 of file nvmedia_ldc.h.

void* NvMediaLDCSparseWarpMap::mapPtr

Holds the mapping value for each of the control points.

While the control points are stored in the row order themselves, for each control point, the coordinates are stored in the order of (x,y) where x is horizontal coordinate and y is vertical coordinate. The size of this buffer in bytes must be: mapStride * numVerPoints * sizeof(float_t) * 2.

Definition at line 550 of file nvmedia_ldc.h.

uint16_t NvMediaLDCSparseWarpMap::mapStride

Specifies the number of control points in one stride.

Definition at line 542 of file nvmedia_ldc.h.

uint16_t NvMediaLDCSparseWarpMap::numHorPoints

Specifies the number of control points in each row.

Definition at line 536 of file nvmedia_ldc.h.

uint16_t NvMediaLDCSparseWarpMap::numVerPoints

Specifies the number of control points in each column.

Definition at line 539 of file nvmedia_ldc.h.


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