DCTInvInitAlloc

Allocates memory and initializes the inverse DCT structure.

Syntax

IppStatus ippsDCTInvInitAlloc_16s(IppsDCTInvSpec_16s** ppDCTSpec, int len, IppHintAlgorithm hint);

IppStatus ippsDCTInvInitAlloc_32f(IppsDCTInvSpec_32f** ppDCTSpec, int len, IppHintAlgorithm hint);

IppStatus ippsDCTInvInitAlloc_64f(IppsDCTInvSpec_64f** ppDCTSpec, int len, IppHintAlgorithm hint);

Parameters

ppDCTSpec

Double pointer to the inverse 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.

Description

The function ippsDCTInvInitAlloc is declared in the ipps.h file. This function allocates memory and initializes the inverse DCT specification structure ppDCTSpec with the following parameters: the transform len, and the specific code hint.

The inverse DCT specification structure is used by the function ippsDCTInv.

Return Values

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.

Submit feedback on this help topic

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