DCTInvInit
DCTInvInit
Initializes the inverse discrete cosine transform structure.
Syntax
IppStatus ippsDCTInvInit_32f(IppsDCTInvSpec_32f**
ppDCTSpec
, int
len
, IppHintAlgorithm
hint
, Ipp8u*
pSpec
, Ipp8u*
pSpecBuffer
);
IppStatus ippsDCTInvInit_64f(IppsDCTInvSpec_64f**
ppDCTSpec
, int
len
, IppHintAlgorithm
hint
, Ipp8u*
pSpec
, Ipp8u*
pSpecBuffer
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
- ppDCTSpec
- Double pointer to the inverse DCT specification structure to be created.
- len
- Number of samples in the DCT.
- hint
- This parameter is deprecated. Set the value toippAlgHintNone.
- pSpec
- Pointer to the area for the DCT specification structure.
- pSpecBuffer
- Pointer to the work buffer, can beNULL.
Description
This function initializes in the buffer
pSpec
the inverse DCT specification structure ppDCTSpec
with the following parameters: the transform len
, and the specific code hint
.Before calling this function the memory must be allocated for the DCT specification structure and the work buffer (if it is required). The size of the DFT specification structure and the work buffer must be computed by the function
ippsDCTInvGetSize
.If the work buffer is not used, the parameter
pSpecBuffer
can be NULL
. If the working buffer is used, the parameter pSpecBuffer
must not be NULL
.Return Values
- ippStsNoErr
- Indicates no error.
- ippStsNullPtrErr
- Indicates an error when one of the specified pointers with exception ofpSpecBufferisNULL.
- ippStsSizeErr
- Indicates an error whenlenis less than or equal to 0.