FilterNoiseDetect_EC

Performs noise detection for EC noise filtering.

Syntax

IppStatus ippsFilterNoiseDetect_EC_32f64f(const Ipp32f pSrc[16], Ipp64f* pNoisePower, Ipp32f* pMean, int* pNoiseFlag, IppsFilterNoiseState_EC_32f* pNRStateMem);

Parameters

pSrc

Pointer to the input vector.

pNoisePower

Pointer to the output power of noise pattern.

pMean

Pointer to the weighted mean value of noise.

pNoiseFlag

Pointer to the flag indicated the noise presence: 1 - noise is detected, 0 - no noise is detected.

pNRStateMem

Pointer to the filter state structure.

Description

The function ippsFilterNoiseDetect_EC is declared in the ippsc.h file.

The function performs detection of noise only in cases voice versus voice, and voice mixed with noise. The detection result is returned by pNoiseFlag. The value of the average noise power is stored in the pNoisePower. The weighted mean value of noise pMean can be considered as the DC offset. The filter state pNRStateMem must be initialized beforehand by the function ippsFilterNoiseInit_EC. If the noise is detected, then the filter state memory is updated with the signal history, noise statistics, and noise pattern.

Code Examples  show how the function ippsFilterNoiseDetect_EC can be used.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when one of the specified pointer is NULL.

Submit feedback on this help topic

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