public class BitTreeEncoder
extends java.lang.Object
| Constructor and Description |
|---|
BitTreeEncoder(int numBitLevels) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(RangeEncoder rangeEncoder,
int symbol) |
int |
getPrice(int symbol) |
void |
init() |
void |
reverseEncode(RangeEncoder rangeEncoder,
int symbol) |
static void |
reverseEncode(short[] Models,
int startIndex,
RangeEncoder 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(RangeEncoder rangeEncoder, int symbol) throws java.io.IOException
java.io.IOExceptionpublic void reverseEncode(RangeEncoder rangeEncoder, int symbol) throws java.io.IOException
java.io.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,
RangeEncoder rangeEncoder,
int NumBitLevels,
int symbol)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018 Oracle Corporation. All Rights Reserved.