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
IOExceptionpublic void reverseEncode(Encoder rangeEncoder, int symbol) throws IOException
IOExceptionpublic 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
IOExceptionCopyright © 2021. All rights reserved.