Calculates the size of the state structure for spherical harmonic transforms.
IppStatus ipprSHGetSize_32f(Ipp32u maxL, IppSHType shType, Ipp32u* pSize);
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. |
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.
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.