Computes the size of the FFT work buffer.
Case 1: Operation on real signal
IppStatus ippsFFTGetBufSize_R_16s(const IppsFFTSpec_R_16s* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_R_32s(const IppsFFTSpec_R_32s* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_R_32f(const IppsFFTSpec_R_32f* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_R_64f(const IppsFFTSpec_R_64f* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_R_16s32s(const IppsFFTSpec_R_16s32s* pFFTSpec, int* pBufferSize);
Case 2: Operation on complex signal
IppStatus ippsFFTGetBufSize_C_16s(const IppsFFTSpec_C_16s* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_C_32s(const IppsFFTSpec_C_32s* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_C_32f(const IppsFFTSpec_C_32f* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_C_64f(const IppsFFTSpec_C_64f* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_C_16sc(const IppsFFTSpec_C_16sc* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_C_32sc(const IppsFFTSpec_C_32sc* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_C_32fc(const IppsFFTSpec_C_32fc* pFFTSpec, int* pBufferSize);
IppStatus ippsFFTGetBufSize_C_64fc(const IppsFFTSpec_C_64fc* pFFTSpec, int* pBufferSize);
pFFTSpec |
Pointer to the FFT specification structure. |
pBufferSize |
Pointer to the size value of the FFT external work buffer. |
The functions ippsFFTGetBufSize_R and ippsFFTGetBufSize_C are declared in the ipps.h file. These functions compute the size in bytes of the external work buffer that can be used for the functions that perform FFT, and stores the result in pBufferSize. To compute the size of the buffer the corresponding FFT specification structure pFFTSpec must be initialized.
ippsFFTGetBufSize_C. This function is used to compute the size of the complex FFT work buffer.
ippsFFTGetBufSize_R. This function is used to compute the size of the real FFT work buffer.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pFFTSpec pointer is NULL. |
ippStsContextMatchErr |
Indicates an error when the specification identifier pFFTSpec is incorrect. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.