Holds the NvMedia LDC region configuration.
This structure defines the layout of the control points in the destination image.
The control points are used as the basis for geometric transformation from source image to destination image. The remaining points are transformed based on the interpolation. Thus the density of the control points controls the quality of the geometric transformation.
This is an example of defining regions in the image:
This is an example of defining control points in one region:
See NvMediaLdcWarpMapParameters for additional details of how the control points are organized.
Restrictions
Definition at line 331 of file nvmedia_ldc.h.
Data Fields | |
uint32_t | numRegionsX |
Holds the number of horizontal regions. More... | |
uint32_t | numRegionsY |
Holds the number of vertical regions. More... | |
uint32_t | regionWidth [NVMEDIA_LDC_MAX_REGIONS_X] |
Holds the width of regions. More... | |
uint32_t | regionHeight [NVMEDIA_LDC_MAX_REGIONS_Y] |
Holds the height of regions. More... | |
uint32_t | controlPointXSpacingLog2 [NVMEDIA_LDC_MAX_REGIONS_X] |
Holds the horizontal interval between the control points in each region in log2 space. More... | |
uint32_t | controlPointYSpacingLog2 [NVMEDIA_LDC_MAX_REGIONS_Y] |
Holds the vertical interval between the control points in each region in log2 space. More... | |
uint32_t NvMediaLdcRegionParameters::controlPointXSpacingLog2[NVMEDIA_LDC_MAX_REGIONS_X] |
Holds the horizontal interval between the control points in each region in log2 space.
Definition at line 349 of file nvmedia_ldc.h.
uint32_t NvMediaLdcRegionParameters::controlPointYSpacingLog2[NVMEDIA_LDC_MAX_REGIONS_Y] |
Holds the vertical interval between the control points in each region in log2 space.
Definition at line 353 of file nvmedia_ldc.h.
uint32_t NvMediaLdcRegionParameters::numRegionsX |
Holds the number of horizontal regions.
Allowed values are [1, 4], inclusive.
Definition at line 335 of file nvmedia_ldc.h.
uint32_t NvMediaLdcRegionParameters::numRegionsY |
Holds the number of vertical regions.
Allowed values are [1, 4], inclusive.
Definition at line 339 of file nvmedia_ldc.h.
uint32_t NvMediaLdcRegionParameters::regionHeight[NVMEDIA_LDC_MAX_REGIONS_Y] |
Holds the height of regions.
Definition at line 345 of file nvmedia_ldc.h.
uint32_t NvMediaLdcRegionParameters::regionWidth[NVMEDIA_LDC_MAX_REGIONS_X] |
Holds the width of regions.
Definition at line 342 of file nvmedia_ldc.h.