SHGetSize

Calculates the size of the state structure for spherical harmonic transforms.

Syntax

IppStatus ipprSHGetSize_32f(Ipp32u maxL, IppSHType shType, Ipp32u* pSize);

Parameters

maxL

Maximum order for spherical harmonic transform supported after initialization of the state structure.

shType

Type of algorithm used for SH calculations, possible values: ippSHNormDirect or ippSHNormRecurr.

pSize

Pointer to the size of the state structure.

Description

The function ipprSHGetSize is declared in the ippr.h file. This function calculates the size of the external buffer required for the state structure used in the SHT calculations.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error.

ippStsNullPtrErr

Indicates an error if pSize pointer is NULL.

ippStsSizeErr

Indicates an error if maxL is greater than 15.

ippStsRangeErr

Indicates an error condition if shType has an illegal value.


Submit feedback on this help topic

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