Top Fields Constructors Methods
lzma.sdk.rangecoder

public Class BitTreeEncoder

extends Object
Class Inheritance
Imports
java.io.IOException

Field Summary

Modifier and TypeField and Description
private final short[]
private final int

Constructor Summary

AccessConstructor and Description
public
BitTreeEncoder(int numBitLevels)

Method Summary

Modifier and TypeMethod and Description
public void
encode(Encoder rangeEncoder, int symbol)

public int
getPrice(int symbol)

public void
init()

public void
reverseEncode(Encoder rangeEncoder, int symbol)

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

public int
reverseGetPrice(int symbol)

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Modelsback to summary
private final short[] Models
NumBitLevelsback to summary
private final int NumBitLevels

Constructor Detail

BitTreeEncoderback to summary
public BitTreeEncoder(int numBitLevels)

Method Detail

encodeback to summary
public void encode(Encoder rangeEncoder, int symbol) throws IOException
getPriceback to summary
public int getPrice(int symbol)
initback to summary
public void init()
reverseEncodeback to summary
public void reverseEncode(Encoder rangeEncoder, int symbol) throws IOException
reverseEncodeback to summary
public static void reverseEncode(short[] Models, int startIndex, Encoder rangeEncoder, int NumBitLevels, int symbol) throws IOException
reverseGetPriceback to summary
public int reverseGetPrice(int symbol)
reverseGetPriceback to summary
public static int reverseGetPrice(short[] Models, int startIndex, int NumBitLevels, int symbol)