Calculates the size of the state structure for the noise reduction filter
IppStatus ippsFilterNoiseGetStateSize_EC_32f(IppPCMFrequency pcmFreq, int* pSize);
IppStatus ippsFilterNoiseGetStateSize_RTA_32f(IppPCMFrequency pcmFreq, int* pSize);
pcmFreq |
Sampling frequency, possible values see below. |
pSize |
Pointer to the calculated value of the state structure size. |
The functions ippsFilterNoiseGetStateSize are declared in the ippsc.h file. These functions calculate the size of the state structure for noise reduction filtering and store the result in pSize. The sampling frequency pcmFreq must be specified, the supported values are as follows:
IPP_PCM_FREQ_8000, IPP_PCM_FREQ_16000 for the EC noise filtering;
IPP_PCM_FREQ_8000, IPP_PCM_FREQ_16000, IPP_PCM_FREQ_22050, IPP_PCM_FREQ_32000 for the RTA noise filtering.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pSize pointer is NULL. |
IppStsRangeErr |
Indicates an error when the pcmFreq has an illegal value. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.