![]() |
NVIDIA DRIVE OS Linux SDK API Reference5.1.6.0 Release |
Holds the NvMedia LDC defintion of a sparse warp map.
A sparse warp map stores the mappings of each control point from destination image to input image. The coordinates of control points in a destination image are defined by NvMediaLDCRegionConfig.
Definition at line 547 of file nvmedia_ldc.h.
Data Fields | |
uint16_t | numHorPoints |
Holds the number of control points in each row. More... | |
uint16_t | numVerPoints |
Holds the number of control points in each column. More... | |
uint16_t | mapStride |
Holds the number of control points in one stride. More... | |
void * | mapPtr |
Holds the mapping value for each of the control points. More... | |
NvMediaLDCDataFormat | dataFormat |
Holds the data format used in the buffer which mapPtr points to. More... | |
NvMediaLDCDataFormat NvMediaLDCSparseWarpMap::dataFormat |
Holds the data format used in the buffer which mapPtr points to.
Supported formats are as specified by NvMediaLDCDataFormat.
Definition at line 570 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 row order, the coordinates for each control point are stored in order of (x,y) where x is the horizontal coordinate and y is the vertical coordinate. The size of this buffer in bytes must be: mapStride * numVerPoints * sizeof(float_t) * 2.
Definition at line 565 of file nvmedia_ldc.h.
uint16_t NvMediaLDCSparseWarpMap::mapStride |
Holds the number of control points in one stride.
Definition at line 555 of file nvmedia_ldc.h.
uint16_t NvMediaLDCSparseWarpMap::numHorPoints |
Holds the number of control points in each row.
Definition at line 549 of file nvmedia_ldc.h.
uint16_t NvMediaLDCSparseWarpMap::numVerPoints |
Holds the number of control points in each column.
Definition at line 552 of file nvmedia_ldc.h.