hbVPResize

int32_t hbVPResize(hbUCPTaskHandle_t *taskHandle, hbVPImage *dstImg, hbVPImage const *srcImg, hbVPInterpolationType interpolation);

The API for calling the Resize and the effective scaling range of the length and width is [0.25, 4].

  • Parameter
    • [out] taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.
    • [out] dstImg The output picture, type, format and size are the same as the input picture, the picture size can be calculated from the input picture and the zoom ratio.
    • [in] srcImg The input picture type supports U8C1 and format supports Y and nv12.
    • [in] interpolation Operator interpolation type.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.