WarpAffine operator parameter.
Member
| Member Name | Description |
|---|---|
transformMatrix[6] | WarpAffine transformation matrix (dst->src), 2X3 matrix. |
interpolation | Interpolation types in WarpAffine, only support NEAREST and LINEAR types in hbVPInterpolationType. |
borderType | Reserved parameter. |
borderValue | Reserved parameter. |
isInverse | Flag whether transformMatrix is an inverse matrix, non-zero means inverse matrix (src = M * dst), 0 means positive matrix (dst = M * src) |
The API calling the WarpAffine.
taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.dstImg The output picture, type, format and size are the same as the input picture, the dimensional size is calculated from the conversion matrix.srcImg The input picture type supports U8C1 and format supports Y and nv12.affineParam Operator parameter pointer.0 means the API was successfully executed, otherwise the execution failed.