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 NvMedia2DLdcWarpMapParameters for additional details of how the control points are organized.
Restrictions
Definition at line 712 of file nvmedia_2d.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_2D_MAX_LDC_REGIONS_X] |
| Holds the width of regions. More... | |
| uint32_t | regionHeight [NVMEDIA_2D_MAX_LDC_REGIONS_Y] |
| Holds the height of regions. More... | |
| uint32_t | controlPointXSpacingLog2 [NVMEDIA_2D_MAX_LDC_REGIONS_X] |
| Holds the horizontal interval between the control points in each region in log2 space. More... | |
| uint32_t | controlPointYSpacingLog2 [NVMEDIA_2D_MAX_LDC_REGIONS_Y] |
| Holds the vertical interval between the control points in each region in log2 space. More... | |
| uint32_t NvMedia2DLdcRegionParameters::controlPointXSpacingLog2[NVMEDIA_2D_MAX_LDC_REGIONS_X] |
Holds the horizontal interval between the control points in each region in log2 space.
Definition at line 730 of file nvmedia_2d.h.
| uint32_t NvMedia2DLdcRegionParameters::controlPointYSpacingLog2[NVMEDIA_2D_MAX_LDC_REGIONS_Y] |
Holds the vertical interval between the control points in each region in log2 space.
Definition at line 734 of file nvmedia_2d.h.
| uint32_t NvMedia2DLdcRegionParameters::numRegionsX |
Holds the number of horizontal regions.
Allowed values are [1, 4], inclusive.
Definition at line 716 of file nvmedia_2d.h.
| uint32_t NvMedia2DLdcRegionParameters::numRegionsY |
Holds the number of vertical regions.
Allowed values are [1, 4], inclusive.
Definition at line 720 of file nvmedia_2d.h.
| uint32_t NvMedia2DLdcRegionParameters::regionHeight[NVMEDIA_2D_MAX_LDC_REGIONS_Y] |
Holds the height of regions.
Definition at line 726 of file nvmedia_2d.h.
| uint32_t NvMedia2DLdcRegionParameters::regionWidth[NVMEDIA_2D_MAX_LDC_REGIONS_X] |
Holds the width of regions.
Definition at line 723 of file nvmedia_2d.h.