hbVPFilter2d

typedef struct { double delta; int8_t pointLocX; int8_t pointLocY; int8_t borderType; } hbVPFilter2DParam;

Filter2D operator parameter.

  • Member

    Member NameDescription
    deltaReserved parameter.
    pointLocXReserved parameter.
    pointLocYReserved parameter.
    borderTypeThe fill type supports type in hbVPBorderType.
int32_t hbVPFilter2D(hbUCPTaskHandle_t *taskHandle, hbVPImage *dstImg, hbVPImage const *srcImg, hbVPFilterKernel const *filterKernel, hbVPFilter2DParam const *filter2DParam);

The API for calling the Filter2D.

  • 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.
    • [in] filterKernel The operator processing kernel type supports F32C1 with a positive odd width and height less than or equal to 9.
    • [in] filter2DParam Operator parameter.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.