hbIFFT2D

typedef struct { hbFFTPointSize nx; hbFFTPointSize ny; int8_t normalize; } hbIFFT2DParam;

IFFT 2D operator parameter.

  • Member

    Member NameDescription
    nxIFFT points along the x-axis support the types in hbFFTPointSize.
    nyIFFT points along the x-axis support the types in hbFFTPointSize.
    normalizeReserved parameter, defaults 0. Whether specification is performed is identified by 0 for non-specification and other values for specification.
int32_t hbIFFT2D(hbUCPTaskHandle_t *taskHandle, hbHPLImaginaryData *dst, hbHPLImaginaryData const *src, hbIFFT2DParam const *param);

The API for calling the IFFT 2D.

When the imaginary data type is HB_HPL_DATA_TYPE_I16 or HB_HPL_DATA_TYPE_I32, its data layout format is only supported as HB_IM_FORMAT_SEPARATE. When the imaginary data type is HB_HPL_DATA_TYPE_F32, its data layout format is only supported as HB_IM_FORMAT_INTERLEAVED.

  • Parameter

    • [out] taskHandle Task handle is responsible for the interaction of the operator with the UCP architecture.
    • [out] dst Output dummy data including type, format and dimension information is consistent with the input.
    • [in] src Enter the dummy data.
    • [in] param Operator parameter.
  • Return Value

    • Return 0 means the API was successfully executed, otherwise the execution failed.