![]() |
NVIDIA DRIVE OS Linux API Reference5.1.0.2 Release |
Holds the NvMedia LDC region configuration.
The NvMediaLDCRegionConfig defines the layout of the control points in the destination image.
The control points will be used as the basis for geometric transformation from source image to the destination image. The remaining points will be transformed based on the interpolation. So the density of the control points will control the quality of the geometric transformation.
Example of defining regions in the image
Example of defining control points in one region
Definition at line 294 of file nvmedia_ldc.h.
Data Fields | |
uint8_t | numHorRegion |
Specifies the number of horizontal regions. More... | |
uint8_t | numVerRegion |
Specifies the number of vertical regions. More... | |
uint16_t | horRegionWidth [NVMEDIA_LDC_MAX_HOR_REGION] |
Specifies the width of regions. More... | |
uint16_t | verRegionHeight [NVMEDIA_LDC_MAX_VER_REGION] |
Specifies the height of regions. More... | |
uint16_t | log2horSpace [NVMEDIA_LDC_MAX_HOR_REGION] |
Specifies the horizontal interval between the control points in each region in log2 space. More... | |
uint16_t | log2verSpace [NVMEDIA_LDC_MAX_VER_REGION] |
Specifies the vertical interval between the control points in each region in log2 space. More... | |
uint16_t NvMediaLDCRegionConfig::horRegionWidth[NVMEDIA_LDC_MAX_HOR_REGION] |
Specifies the width of regions.
Definition at line 304 of file nvmedia_ldc.h.
uint16_t NvMediaLDCRegionConfig::log2horSpace[NVMEDIA_LDC_MAX_HOR_REGION] |
Specifies the horizontal interval between the control points in each region in log2 space.
Definition at line 311 of file nvmedia_ldc.h.
uint16_t NvMediaLDCRegionConfig::log2verSpace[NVMEDIA_LDC_MAX_VER_REGION] |
Specifies the vertical interval between the control points in each region in log2 space.
Definition at line 315 of file nvmedia_ldc.h.
uint8_t NvMediaLDCRegionConfig::numHorRegion |
Specifies the number of horizontal regions.
Allowed values are [1, 4], inclusive.
Definition at line 297 of file nvmedia_ldc.h.
uint8_t NvMediaLDCRegionConfig::numVerRegion |
Specifies the number of vertical regions.
Allowed values are [1, 4], inclusive.
Definition at line 301 of file nvmedia_ldc.h.
uint16_t NvMediaLDCRegionConfig::verRegionHeight[NVMEDIA_LDC_MAX_VER_REGION] |
Specifies the height of regions.
Definition at line 307 of file nvmedia_ldc.h.