VLCDecode_JPEGXR

Performs VLC decoding.

Syntax

IppStatus ippiVLCDecode4x4_JPEGXR_1u32s_C1R(const Ipp8u** ppBitStream, Ipp32u* pBitsBuf, Ipp32u* pNumBits, Ipp32s dequantMult, Ipp32s* pDst, Ipp32u dstStep, IppBool chroma, Ipp32u* pNumNonZero, IppiVLCState_JPEGXR* pVLCState);

IppStatus ippiVLCDecode4x4_JPEGXR_1u16s_C1R(const Ipp8u** ppBitStream, Ipp32u* pBitsBuf, Ipp32u* pNumBits, Ipp16s dequantMult, Ipp16s* pDst, Ipp32u dstStep, IppBool chroma, Ipp32u* pNumNonZero, IppiVLCState_JPEGXR* pVLCState);

IppStatus ippiVLCDecodeDC444_JPEGXR_1u32s_C1R(const Ipp8u** ppBitStream, Ipp32u* pBitsBuf, Ipp32u* pNumBits, Ipp32s pDstCoeffsScan[16], IppBool chroma, Ipp32u* pNumNonZero, IppiVLCState_JPEGXR* pVLCState);

IppStatus ippiVLCDecodeDC422_JPEGXR_1u32s_C1R(const Ipp8u** ppBitStream, Ipp32u* pBitsBuf, Ipp32u* pNumBits, Ipp32s pDstCoeffsScan[14], Ipp32u* pNumNonZero, IppiVLCState_JPEGXR* pVLCState);

IppStatus ippiVLCDecodeDC420_JPEGXR_1u32s_C1R(const Ipp8u** ppBitStream, Ipp32u* pBitsBuf, Ipp32u* pNumBits, Ipp32s pDstCoeffsScan[6], Ipp32u* pNumNonZero, IppiVLCState_JPEGXR* pVLCState);

Parameters

ppBitStream

Pointer to the moving pointer to the source bitstream data.

pBitsBuf

Pointer to the prefetch buffer with bits that are fetched from the bitstream but not decoded yet.

pNumBits

Number of valid bits in the prefetch buffer.

pDst

Pointer to to the destination 4x4 block of samples.

dstStep

Distance in bytes between starts of consecutive lines in the destination image.

pDstCoeffsScan

Pointer to to the destination vector of DC coefficients decoded in scan order.

chroma

Channel type flag: ippFalse - luma channel, ippTrue - chroma channel.

pNumNonZero

Pointer to the number of coefficients actually decoded.

pVLCState

Pointer to the VLC state structure.

Description

The functions ippiVLCDecode are declared in the ippj.h file.

These functions perform enthropy decoding of 4x4 block or DC samples.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers isNULL.

ippStsRangeErr

Indicates an error condition if pNumBits is greater than 32 or numTrimBits is greater than 15.

Submit feedback on this help topic

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