Initializes the state structure for spherical harmonic transforms.
IppStatus ipprSHInit_32f(IppSHState* pSHState, Ipp32u maxL, IppSHType shType);
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. |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.