DecodeChromaBlock_AVS

Decodes chrominance coefficients of a block.

Syntax

IppStatus ippiDecodeChromaBlock_AVS_1u16s(Ipp32u**ppBitStream, Ipp32s* pBitOffset, Ipp32s* pNumCoeff, Ipp16s* pDstCoeffs, Ipp32u scanType);

Parameters

ppBitStream

Double pointer to the current position in the bitstream. The pointer is updated by the function.

pBitOffset

Pointer to offset between the bit that ppBitStream points to and the start of the code. The pointer is updated by the function.

pNumCoeff

Pointer to the output number of non-zero coefficients.

pDstCoeffs

Pointer to an 8x8 block of coefficients. These coefficients are calculated by the function.

scanType

Type of inverse scan method. 0 means the type described in Figure 9-5(a) of [AVS]. 1 means the type described in Figure 9-5(b) of [AVS].

Description

This function is declared in the ippvc.h header file. The function ippiDecodeChromaBlock_AVS_1u16s decodes chrominance coefficients of blocks in accordance with 9.5.1 of [AVS].

After decoding all coefficients of a block, the function performs inverse scanning, using the given type of scanning. The function returns the last coefficient index in classical scan order through the pNumCoeff variable as shown in Figure 9-5(a) of [AVS].

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one input pointer is NULL.


Submit feedback on this help topic

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