56 #ifndef NV_VPI_WARPMAP_H
57 #define NV_VPI_WARPMAP_H
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 float32 keypoint coordinate The coordinate is relative to the top-left corner of an image.
VPIWarpGrid grid
Warp grid control point structure definition.
int32_t pitchBytes
Number of bytes between one control point and the one immediately below.
VPIKeypointF32 * keypoints
Pointer to an array with control point positions in the input image corresponding to those in the out...
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.