hbVPFlip

int32_t hbVPFlip(hbUCPTaskHandle_t *taskHandle, hbVPImage *dstImg, hbVPImage const *srcImg, uint8_t flipMode);

The API for calling the Flip.

  • 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.
    • [in] srcImg The input picture type supports U8C1 and format supports Y and nv12.
    • [in] flipMode A parameter value of 0 in the operator parameters indicates a flip along the x-axis, and a value of a positive integer indicates a flip along the y-axis.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.