Developer Reference

  • 2021
  • 01/25/2021
  • Public Content
Contents

ResamplePolyphaseSetFixedFilter

Sets polyphase resampling filter coefficients.

Syntax

IppStatus ippsResamplePolyphaseSetFixedFilter_16s(const Ipp16s*
pSrc
, int
step
, int
height
, IppsResamplingPolyphaseFixed_16s*
pSpec
);
IppStatus ippsResamplePolyphaseSetFixedFilter_32f(const Ipp32f*
pSrc
, int
step
, int
height
, IppsResamplingPolyphaseFixed_32f*
pSpec
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
pSrc
The pointer to the input vector of filter coefficients.
step
The row step in
pSrc
vector.
height
The number of filters (the number of rows in
pSrc
vector).
pSpec
The pointer to the resampling state structure.
Description
This function imports pre-calculated filter coefficients into the polyphase resampling structure. If the
step
value is less than the filter length, trailing filter coefficients are zeroed.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when one of the specified pointers is
NULL
.
ippStsSizeErr
Indicates an error when
step
or
height
is less than or equal to 0.
ippStsBadArgErr
Indicates that
height
is greater than the number of filters in
pSpec
structure.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.