Computes preemphasis of a single precision real signal in-place.
IppStatus ippsPreemphasize_16s(Ipp16s* pSrcDst, int len, Ipp32f val);
IppStatus ippsPreemphasize_32f(Ipp32f* pSrcDst, int len, Ipp32f val);
pSrcDst |
Pointer to the source and destination vector for the in-place operation. |
len |
Number of elements in the vector. |
val |
Multiplier factor used in the difference signal preemphasis equation. |
The in-place function ippsPreemphasize is declared in the ipps.h file. This function computes preemphasis of a real signal pSrcDst. The computation is performed according to the difference signal preemphasis equation:
y(n) = x(n) - val * x(n - 1),
where y(n) is the preemphasized output, x(n) is the input, and val is the multiplier factor.
Note that usually val = 0.95 for speech signals.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pSrcDst pointer is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.