HighPassFilter_RTA

Performs high-pass filtering.

Syntax

IppStatus ippsHighPassFilter_RTA_32f(Ipp32f* pSrc, Ipp32f* pDst, int len, int hpfOrder, IppPCMFrequency frequency, Ipp32f* pMem);

Parameters

pSrc

Pointer to the source vector [len].

pDst

Pointer to the destination vector [len].

len

Number of elements in the source and destination vectors.

hpfOrder

Filter order, possible values: 4, 5.

frequency

Sampling frequency, possible values are:

IPP_PCM_FREQ_8000 8000 Hz,

IPP_PCM_FREQ_16000 16000 Hz,

IPP_PCM_FREQ_22050 22050 Hz,

IPP_PCM_FREQ_32000 32000 Hz.

pMem

Pointer to the memory allocated for the filter [hpfOrder].

Description

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

This function performs high-pass filtering and may be applied to the input or synthesized audio signal.

Return Values

ippStsNoErr

Indicates no error.

IppStsNullPtrErr

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

IppStsSizeErr

Indicates an error when len is less than or equal to 0.

IppStsRangeErr

Indicates an error when hpfOrder is not equal to 4 or 5; or frequency is not equal to the possible values.

Submit feedback on this help topic

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