Allocates memory and initializes the forward DCT structure.
IppStatus ippsDCTFwdInitAlloc_16s(IppsDCTFwdSpec_16s** ppDCTSpec, int len, IppHintAlgorithm hint);
IppStatus ippsDCTFwdInitAlloc_32f(IppsDCTFwdSpec_32f** ppDCTSpec, int len, IppHintAlgorithm hint);
IppStatus ippsDCTFwdInitAlloc_64f(IppsDCTFwdSpec_64f** ppDCTSpec, int len, IppHintAlgorithm hint);
ppDCTSpec |
Double pointer to the forward DCT specification structure to be created. |
len |
Number of samples in the DCT. |
hint |
Suggests using specific code for calculation. The values for the hint argument are described in the section Flag and Hint Arguments. |
The function ippsDCTFwdInitAlloc is declared in the ipps.h file. This function allocates memory and initializes the forward DCT specification structure ppDCTSpec with the following parameters: the transform len, and the specific code hint.
The forward DCT specification structure is used by the function ippsDCTFwd.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the ppDCTSpec pointer is NULL. |
ippStsSizeErr |
Indicates an error if len is less than or equal to 0. |
ippStsMemAllocErr |
Indicates an error if memory allocation fails. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.