Top Fields Constructors Methods
org.tukaani.xz.rangecoder

public abstract Class RangeDecoder

extends RangeCoder
Class Inheritance
Known Direct Subclasses
org.tukaani.xz.rangecoder.RangeDecoderFromBuffer, org.tukaani.xz.rangecoder.RangeDecoderFromStream
Imports
java.io.IOException

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv int
Inherited from org.tukaani.xz.rangecoder.RangeCoder:
BIT_MODEL_TOTALBIT_MODEL_TOTAL_BITSMOVE_BITSPROB_INITSHIFT_BITSTOP_MASK

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
decodeBit(short[] probs, int index)

public int
decodeBitTree(short[] probs)

public int
decodeDirectBits(int count)

public int
decodeReverseBitTree(short[] probs)

public abstract void
Inherited from org.tukaani.xz.rangecoder.RangeCoder:
initProbs

Field Detail

codeback to summary
pack-priv int code
rangeback to summary
pack-priv int range

Constructor Detail

RangeDecoderback to summary
public RangeDecoder()

Method Detail

decodeBitback to summary
public int decodeBit(short[] probs, int index) throws IOException
decodeBitTreeback to summary
public int decodeBitTree(short[] probs) throws IOException
decodeDirectBitsback to summary
public int decodeDirectBits(int count) throws IOException
decodeReverseBitTreeback to summary
public int decodeReverseBitTree(short[] probs) throws IOException
normalizeback to summary
public abstract void normalize() throws IOException