SHInit

Initializes the state structure for spherical harmonic transforms.

Syntax

IppStatus ipprSHInit_32f(IppSHState* pSHState, Ipp32u maxL, IppSHType shType);

Parameters

pSHState

Pointer to the external buffer for the SHT state structure.

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.

Description

The function ipprSHInit is declared in the ippr.h file. This function initializes the state structure for spherical harmonic transforms in the external buffer. The size of this buffer cannot be less than the size returned by the function ipprSHGetSize.

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.