FilterNoiseGetStateSize

Calculates the size of the state structure for the noise reduction filter

Syntax

IppStatus ippsFilterNoiseGetStateSize_EC_32f(IppPCMFrequency pcmFreq, int* pSize);

IppStatus ippsFilterNoiseGetStateSize_RTA_32f(IppPCMFrequency pcmFreq, int* pSize);

Parameters

pcmFreq

Sampling frequency, possible values see below.

pSize

Pointer to the calculated value of the state structure size.

Description

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.

Return Values

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.

Submit feedback on this help topic

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