DecodePNS_AAC

Implements perceptual noise substitution (PNS) coding within individual channel stream (ICS).

Syntax

IppStatus ippsDecodePNS_AAC_32s(Ipp32s* pSrcDstSpec, int* pSrcDstLtpFlag, Ipp8u* pSfbCb, Ipp16s* pScaleFactor, int maxSfb, int numWinGrp, int* pWinGrpLen, int samplingFreqIndex, int winLen, int* pRandomSeed);

Parameters

pSrcDstSpec

Pointer to spectrum coefficients for perceptual noise substitution (PNS).

pSrcDstLtpFlag

Pointer to long term predict (LTP) flag.

pSfbCb

Pointer to the scale factor codebook.

pScaleFactor

Pointer to the scalefactor value.

maxSfb

Number of scale factor bands used in this layer.

numWinGrp

Number of window groups.

pWinGrpLen

Pointer to the length of every window group.

samplingFreqIndex

Sampling frequency index.

winLen

Window length. 1024 for long windows, 128 for short windows.

pRandomSeed

Random seed for PNS.

Description

This function is declared in the ippac.h file. The function implements perceptual noise substitution (PNS) coding within the individual channel stream (ICS). Certain sets of spectral coefficients are derived from random vectors rather than from Huffman‑coded symbols and inverse quantization process.

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 maxSfb exceeds [0,IPP_AAC_MAX_SFB].

ippStsAacSmplRateIdxErr

Indicates an error when samplingFreqIndex exceeds [0,16].

ippStsAacWinLenErr

Indicates an error when winLen is not equal to 128 or 1024.

Submit feedback on this help topic

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