56 #ifndef NV_VPI_WARPMAP_H
57 #define NV_VPI_WARPMAP_H
105 #if NV_VPI_VERSION_API_AT_LEAST(1, 1)
129 #if NV_VPI_VERSION_API_IS(1, 0)
130 __asm__(
".symver vpiWarpMapAllocData,vpiWarpMapAllocData@VPI_1.0");
140 #if NV_VPI_VERSION_API_IS(1, 0)
141 __asm__(
".symver vpiWarpMapFreeData,vpiWarpMapFreeData@VPI_1.0");
154 #if NV_VPI_VERSION_API_IS(1, 0)
155 __asm__(
".symver vpiWarpGenerateIdentity,vpiWarpMapGenerateIdentity@VPI_1.0");
Declaration of VPI status codes handling functions.
Defines all types needed for programming with VPI.
Declares structures and constants used for warp grid definition.
Stores a keypoint coordinate.
VPIWarpGrid grid
Warp grid control point structure definition.
VPIKeypoint * keypoints
Pointer to an array with control point positions in the input image corresponding to those in the out...
int32_t pitchBytes
Number of bytes between one control point and the one immediately below.
int16_t numHorizPoints
Number of points horizontally.
int16_t numVertPoints
Number of points vertically.
void vpiWarpMapFreeData(VPIWarpMap *warpMap)
Deallocates the warp map control points allocated by vpiWarpMapAllocData.
VPIStatus vpiWarpMapGenerateIdentity(VPIWarpMap *warpMap)
Fills the given warp map with an identity mapping.
VPIStatus vpiWarpMapAllocData(VPIWarpMap *warpMap)
Allocates the warp map's control point array for a given warp grid.
Holds VPI's warp grid definition.
Defines the mapping between input and output images' pixels.