hbVPGaussianBlur

typedef struct { double sigmaX; double sigmaY; int8_t kernelSize; int8_t borderType; } hbVPGaussianBlurParam;

GaussianBlur operator parameter.

  • Member

    Member NameDescription
    sigmaXReserved parameter.
    sigmaYReserved parameter.
    kernelSizeFilter kernel supports 3X3 and 5X5 sizes.
    borderTypeThe fill type supports type in hbVPBorderType.
int32_t hbVPGaussianBlur(hbUCPTaskHandle_t *taskHandle, hbVPImage *dstImg, hbVPImage const *srcImg, hbVPGaussianBlurParam const *gaussianParam);

The API for calling the GaussianBlur.

  • 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] gaussianParam Operator parameter.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.