hbVPSepFilter2d

typedef struct { int32_t delta; int8_t pointLocX; int8_t pointLocY; int8_t borderType; } hbVPSepFilter2DParam;

SepFilter2D operator parameter。

  • Member

    Member NameDescription
    deltaReserved parameter.
    pointLocXReserved parameter.
    pointLocYReserved parameter.
    borderTypeFill type, supports types in hbVPBorderType.
int32_t hbVPSepFilter2D(hbUCPTaskHandle_t *taskHandle, hbVPImage *dstImg, hbVPImage const *srcImg, hbVPFilterKernel const *filterKernelX, hbVPFilterKernel const *filterKernelY, hbVPSepFilter2DParam const *sepFilter2DParam);

The API for calling the SepFilter2D.

  • 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] filterKernelX The filter coefficients per line of the operator, TYPE support F32C1, are of size 1xN and N is a positive odd number less than or equal to 9.
    • [in] filterKernelY The filter coefficients per line of the operator, TYPE support F32C1, are of size 1xN and N is a positive odd number less than or equal to 9.
    • [in] sepFilter2DParam Operator parameter.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.