DFTOutOrdInitAlloc_C

Initializes the out-of-order discrete Fourier transform structure.

Syntax

IppStatus ippsDFTOutOrdInitAlloc_C_32fc(IppsDFTOutOrdSpec_C_32fc** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);

IppStatus ippsDFTOutOrdInitAlloc_C_64fc(IppsDFTOutOrdSpec_C_64fc** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);

Parameters

ppDFTSpec

Double pointer to the DFT specification structure to be created.

flag

Specifies the result normalization method. The values for the flag argument are described in the section Flag and Hint Arguments.

hint

Suggests using specific code for calculation. The values for the hint argument are described in the section Flag and Hint Arguments.

len

Length of the DFT transform.

Description

The function ippsDFTOutOrdInitAlloc_C is declared in the ipps.h file. This function creates and initializes the specification structure pDFTSpec for the out-of-order DFT with the following parameters: the transform len, the normalization flag, and the specific code hint.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pFFTSpec pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

ippStsFftFlagErr

Indicates an error when the flag value is incorrect.

ippStsMemAllocErr

Indicates an error when no memory is allocated.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.