ISFQuantDecode_AMRWB

Decodes quantized ISFs from the received codebook index.

Syntax

IppStatus ippsISFQuantDecode_AMRWB_16s(const Ipp16s* pSrcIdxs, Ipp16s* pDstQntIsf, Ipp16s* pSrcDstResidual, const Ipp16s* pSrcPrevQntIsf, Ipp16s* pSrcDstIsfMemory, int bfi, IppSpchBitRate mode);

Parameters

pSrcIdxs

Pointer to the seven-element vector containing codebook indices of the quantized LSPs.

pSrcDstResidual

Pointer to the 16-element quantized ISF residual from the previous frame.

pSrcPrevQntIsf

Pointer to the 16-element quantized ISF vector from the previous frame.

pSrcDstIsfMemory

Pointer to the 64-element vector containing four subframe ISF sets.

pDstQntIsf

Pointer to a 16-element destination vector containing quantized ISF in frequency domain (0..0.5).

bfi

Bad frame indicator: value "0" signifies a good frame, all other values signify a bad frame.

mode

Coder mode.

Description

This function is declared in ippsc.h file. The function decodes quantized ISFs from the received codebook index if the errors are not detected on the received frame. Otherwise, the function recovers the quantized ISFs from previous quantized ISFs using linear interpolation.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsRangeErr

Indicates an error when mode is not a valid element of the enumerated type IppSpchBitRate.

Submit feedback on this help topic

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