public class BitTreeEncoder extends Object
Constructor and Description |
---|
BitTreeEncoder(int numBitLevels) |
Modifier and Type | Method and Description |
---|---|
void |
Encode(Encoder rangeEncoder,
int symbol) |
int |
GetPrice(int symbol) |
void |
Init() |
void |
ReverseEncode(Encoder rangeEncoder,
int symbol) |
static void |
ReverseEncode(short[] Models,
int startIndex,
Encoder rangeEncoder,
int NumBitLevels,
int symbol) |
int |
ReverseGetPrice(int symbol) |
static int |
ReverseGetPrice(short[] Models,
int startIndex,
int NumBitLevels,
int symbol) |
public void Init()
public void Encode(Encoder rangeEncoder, int symbol) throws IOException
IOException
public void ReverseEncode(Encoder rangeEncoder, int symbol) throws IOException
IOException
public int GetPrice(int symbol)
public int ReverseGetPrice(int symbol)
public static int ReverseGetPrice(short[] Models, int startIndex, int NumBitLevels, int symbol)
public static void ReverseEncode(short[] Models, int startIndex, Encoder rangeEncoder, int NumBitLevels, int symbol) throws IOException
IOException
Copyright © 2014. All Rights Reserved.