FLCDecode_JPEGXR

Performs FLC decoding.

Syntax

IppStatus ippiFLCDecode4x4_JPEGXR_1u16s_C1R(const Ipp8u** ppBitStream, Ipp32u* pBitsBuf, Ipp32u* pNumBits, Ipp32s* pSrcDst, Ipp32u srcDstStep, Ipp32u numFlexBits, Ipp16s trimMult, IppBool acFlag);

IppStatus ippiFLCDecode4x4_JPEGXR_1u32s_C1R(const Ipp8u** ppBitStream, Ipp32u* pBitsBuf, Ipp32u* pNumBits, Ipp32s* pSrcDst, Ipp32u srcDstStep, Ipp32u numFlexBits, Ipp32s trimMult, IppBool acFlag);

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.

pNumBits

Number of valid bits in the prefetch buffer.

pSrcDst

Pointer to to the 4x4 block of samples of the source and destination image.

srcDstStep

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

numFlexBits

Number of flexbits to decode.

trimMult

Multiplier, which depends on the number of trimmed bits.

acFlag

Adaptive coding flag: if ippTrue - use residual data from the bitstream, if ippFalse - processes only flexbits.

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 if numFlexBits is greater than 15.

Submit feedback on this help topic

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