DeinterleaveSpectrum_AAC

Deinterleaves the coefficients for short block.

Syntax

IppStatus ippsDeinterleaveSpectrum_AAC_32s(const Ipp32s* pSrc, Ipp32s* pDst, int numWinGrp, const int* pWinGrpLen, int maxSfb, int samplingRateIndex, int winLen);

Parameters

pSrc

Pointer to source coefficients buffer. The coefficients are interleaved by scale factor window bands in each group. Buffer length must be more than or equal to 1024.

numWinGrp

Group number.

pWinGrpLen

Pointer to the number of windows in each group. Buffer length must be more than or equal to 8.

maxSfb

Maximal scalefactor bands number for the current block.

samplingRateIndex

Sampling rate index. Valid in [0, 11]. See Table 6.5 of ISO/IEC 13818 - 7: 1997.

winLen

Data number in one window.

pDst

Pointer to the output of coefficients.

Data sequence is ordered in pDst[ w*128+sfb *sfbWidth[ sfb]+i ], where w is window index, sfb is scale factor band index, sfbWidth is the scale factor band width table, i is the index within scale factor band.

Buffer length must be more than or equal to 1024.

Description

This function is declared in the ippac.h file. The function deinterleaves the coefficients for short block.

See clause 8.3.5 of ISO/IEC 13818 - 7: 1997.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one of the specified pointers is NULL.

ippStsAacMaxSfbErr

Indicates an error when the coefficient index calculated from samplingFreqIndex and maxSfb exceeds winLen in each window.

ippStsAacSamplRateIdxErr

Indicates an error when pChanInfor-> samplingRateIndex exceeds [0,11].

ippStsAacWinGrpErr

Indicates an error when numWinGrp exceeds [0,8].

ippStsAacWinLenErr

Indicates an error when winLen is not equal to 128.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.