Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public
Document Table of Contents

DeconvFFTGetSize

Computes the size of the state structure for deconvolution with the fast Fourier transform (FFT).

Syntax

IppStatus ippiDeconvFFTGetSize_32f(int nChannels, int kernelSize, int FFTorder, int* pSize);

Include Files

ippi.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

nChannels

Number of channels in the image. Possible values are 1 or 3.

kernelSize

Size of the kernel.

FFTorder

Order of the created FFT state structure.

pSize

Pointer to the size of the IppiDeconvFFTState_32f_C1R or IppiDeconvFFTState_32f_C3R structure, in bytes.

Description

This function computes the fast Fourier transform (FFT) deconvolution state structure size that is required to initialize the structure with the ippiDeconvFFTInit function. This structure is used by the ippiDeconvFFT function, which performs deconvolution of the source image using FFT.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error when any of the specified pointers is NULL.

ippStsNumChannelsErr

Indicates an error when nChannels has an illegal value.

ippStsSizeErr

Indicates an error when kernelSize is less than, or equal to 0; or if kernelSize is greater than 2FFTorder.

See Also