FIRLMSMROneVal

Filters one input value.

Syntax

IppStatus ippsFIRLMSMROneVal32s_16s(Ipp16s val, Ipp32s* pDstVal, IppsFIRLMSMRState32s_16s* pState);

IppStatus ippsFIRLMSMROneVal32sc_16sc(Ipp16sc val, Ipp32sc* pDstVal, IppsFIRLMSMRState32sc_16sc* pState);

Parameters

pState

Pointer to the filter state structure.

pDstVal

Pointer to the output signal value.

val

Value of the input signal sample.

Description

The function ippsFIRLMSMROneVal is declared in the ipps.h file. This function places one input sample val into the delay line and filters it using the filter coefficients specified in the filter state structure pState. The result value is stored in the pDstVal.

Before calling the function ippsFIRLMSMROneVal, initialize the filter state by calling the function ippsFIRLMSMRInitAlloc.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsContextMatchErr

Indicates an error when the state identifier is incorrect.

Submit feedback on this help topic

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