Developer Reference for Intel® Integrated Performance Primitives 2018
Sets polyphase resampling filter coefficients.
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);
ipps.h
Headers: ippcore.h, ippvm.h
Libraries: ippcore.lib, ippvm.lib
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. |
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.
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. |