DCT4InitAlloc

Allocates memory and initializes the DCT-IV structure.

Syntax

IppStatus ippgDCT4InitAlloc_32f(IppgDCT4Spec_32f** ppSpec, int len);

IppStatus ippgDCT4InitAlloc_64f(IppgDCT4Spec_64f** ppSpec, int len);

Parameters

ppSpec

Double pointer to the DCT-IV specification structure to be created.

len

Number of samples in the transform.

Description

The function ippgDCT4InitAlloc is declared in the ippgen.h file. This function allocates memory and initializes the DCT-IV specification structure ppSpec with the length of transform len.

This specification structure is used by the function ippgDCT4.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the ppSpec 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.