public class BitTreeEncoder extends 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 IOException
IOExceptionpublic void reverseEncode(RangeEncoder 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,
RangeEncoder rangeEncoder,
int NumBitLevels,
int symbol)
throws IOException
IOExceptionCopyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.