VLCAdapt_JPEGXR

Adapts the VLC model.

Syntax

IppStatus ippiVLCAdapt_JPEGXR(IppiVLCState_JPEGXR* pVLCState, IppiVLCAdaptType adaptType);

Parameters

pVLCState

Pointer to the VLC state structure.

adaptType

Adaptive VLC model type, possible values: ippVLCAdaptLowpass or ippVLCAdaptHighpass.

Description

The function ippiVLCAdapt_JPEGXR is declared in the ippj.h file.

This function performs adaptation of the VLC model of given type adaptType , that is it selects the VLC table with maximal relative advantage for entropy coding using statistic accumulated to the moment for each table.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if pVLCState pointer isNULL.

ippStsRangeErr

Indicates an error condition if adaptType is not equal to ippVLCAdaptLowpass or ippVLCAdaptHighpass.

Submit feedback on this help topic

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