Estimates stationarity of signal by calculating deviation of spectrum audio signal.
IppStatus ippsDetectTransient_SBR_32f(const Ipp32f* pSrc, Ipp32f* pInOutThr, Ipp32f* pDst);
pSrc |
Pointer to the source vector that stores the spectrum component of the audio signal. |
pInOutThr |
Pointer to the threshold of deviation. |
pDst |
Pointer to the current relative deviations. |
The function ippsDetectTransient_SBR is declared in the ippac.h file. This function implements transient detection algorithm described by EC126 standard. The function may be used by SBR encoder to estimate stationarity of the signal by calculation of 2 thresholds. The output from this function is the pDst vector.
pInOutThr and pDst are static channel-dependent arrays of length 64 that need to be stored between calls of ippsDetectTransient_SBR. On start-up, all elements in both arrays must be set to zero. These arrays are updated by the function.
Before the first call of ippsDetectTransient_SBR (over one frame), the pDst vector has to be updated by the external application as follows:
The functionality of ippsDetectTransient_SBR is described as follows:
This function is called 64 times per one frame for each channel.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.