DCTInvGetSize

Computes the size of all buffers required for the inverse DCT.

Syntax

IppStatus ippsDCTInvGetSize_16s(int len, IppHintAlgorithm hint, int* pSpecSize, int* pSpecBufferSize, int* pBufferSize);

IppStatus ippsDCTInvGetSize_32f(int len, IppHintAlgorithm hint, int* pSpecSize, int* pSpecBufferSize, int* pBufferSize);

IppStatus ippsDCTInvGetSize_64f(int len, IppHintAlgorithm hint, int* pSpecSize, int* pSpecBufferSize, int* pBufferSize);

Parameters

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.

pSpecSize

Pointer to the size of the forward DCT specification structure.

pSpecBufferSize

Pointer to the size of the work buffer for the initialization function.

pBufferSize

Pointer to the size of the forward DCT work buffer.

Description

The function ippsDCTInvGetSize is declared in the ipps.h file. This function computes in bytes the size pSpecSize of the external buffer for the inverse DCT structure with the following parameters: the transform len, and the specific code hint. Additionally the function computes the size pSpecBufferSize of the work buffer for the initialization function ippsDCTInvInit and the size pBufferSize of the work buffer for the function ippsDCTInv.

The function ippsDCTInvGetSize must be called prior to them.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

Submit feedback on this help topic

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