Adapts the VLC model.
IppStatus ippiVLCAdapt_JPEGXR(IppiVLCState_JPEGXR* pVLCState, IppiVLCAdaptType adaptType);
pVLCState |
Pointer to the VLC state structure. |
adaptType |
Adaptive VLC model type, possible values: ippVLCAdaptLowpass or ippVLCAdaptHighpass. |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.