Initializes the DCT-IV structure.
IppStatus ippgDCT4Init_32f(IppgDCT4Spec_32f** ppSpec, int len, Ipp8u* pMem);
IppStatus ippgDCT4Init_64f(IppgDCT4Spec_64f** ppSpec, int len, Ipp8u* pMem);
ppSpec |
Double pointer to the DCT-IV specification structure to be created. |
len |
Number of samples in the transform. |
pMem |
Pointer to the area for the DCT-IV specification structure. |
The function ippgDCT4Init is declared in the ippgen.h file. This function initializes the DCT-IV specification structure ppSpec with the length of transform len.
Before calling this function the memory must be allocated for the DCT-IV specification structure. The size of the DCT-IV specification structure must be computed by the function ippgDCT4GetSize beforehand.
This specification structure is used by the function ippgDCT4.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the ppSpec or pMem pointer is NULL. |
ippStsSizeErr |
Indicates an error if len is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.