SevenZip.Compression.RangeCoder

Class BitTreeEncoder

public class BitTreeEncoder extends Object

Constructor Summary
BitTreeEncoder(int numBitLevels)
Method Summary
voidEncode(Encoder rangeEncoder, int symbol)
intGetPrice(int symbol)
voidInit()
voidReverseEncode(Encoder rangeEncoder, int symbol)
static voidReverseEncode(short[] Models, int startIndex, Encoder rangeEncoder, int NumBitLevels, int symbol)
intReverseGetPrice(int symbol)
static intReverseGetPrice(short[] Models, int startIndex, int NumBitLevels, int symbol)

Constructor Detail

BitTreeEncoder

public BitTreeEncoder(int numBitLevels)

Method Detail

Encode

public void Encode(Encoder rangeEncoder, int symbol)

GetPrice

public int GetPrice(int symbol)

Init

public void Init()

ReverseEncode

public void ReverseEncode(Encoder rangeEncoder, int symbol)

ReverseEncode

public static void ReverseEncode(short[] Models, int startIndex, Encoder rangeEncoder, int NumBitLevels, int symbol)

ReverseGetPrice

public int ReverseGetPrice(int symbol)

ReverseGetPrice

public static int ReverseGetPrice(short[] Models, int startIndex, int NumBitLevels, int symbol)