Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

FIRSRInit

Initializes the FIR constant structure for single-rate FIR filtering.

Syntax

IppStatus ippsFIRSRInit_32f(const Ipp32f*
pTaps
, int
tapsLen
, IppAlgType
algType
, IppsFIRSpec_32f*
pSpec
);
IppStatus ippsFIRSRInit_64f(const Ipp64f*
pTaps
, int
tapsLen
, IppAlgType
algType
, IppsFIRSpec_64f*
pSpec
);
IppStatus ippsFIRSRInit_32fc(const Ipp32fc*
pTaps
, int
tapsLen
, IppAlgType
algType
, IppsFIRSpec_32fc*
pSpec
);
IppStatus ippsFIRSRInit_64fc(const Ipp64fc*
pTaps
, int
tapsLen
, IppAlgType
algType
, IppsFIRSpec_64fc*
pSpec
);
IppStatus ippsFIRSRInit32f_32fc(const Ipp32f*
pTaps
, int
tapsLen
, IppAlgType
algType
, IppsFIRSpec32f_32fc*
pSpec
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pTaps
Pointer to the filter coefficients.
tapsLen
Length of the FIR filter.
algType
Bit-field mask for the algorithm type definition. Possible values are:
ippAlgAuto
,
ippAlgDirect
, or
ippAlgFFT
.
pSpec
Pointer to the internal constant FIR specification structure.
Description
Before using this function, you need to compute the size of the specification structure using the
ippsFIRSRGetSize
function. This function initializes the constant specification structure for single-rate FIR filtering.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when one of the specified pointers is
NULL
.
ippStsSizeErr
Indicates an error when the
tapsLen
value is less than, or equal to zero.
ippStsAlgTypeErr
Indicates an error when the specified algorithm type is not supported.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804