public abstract class RangeDecoder extends RangeCoder
Constructor and Description |
---|
RangeDecoder() |
Modifier and Type | Method and Description |
---|---|
int |
decodeBit(short[] probs,
int index) |
int |
decodeBitTree(short[] probs) |
int |
decodeDirectBits(int count) |
int |
decodeReverseBitTree(short[] probs) |
abstract void |
normalize() |
initProbs
public abstract void normalize() throws java.io.IOException
java.io.IOException
public int decodeBit(short[] probs, int index) throws java.io.IOException
java.io.IOException
public int decodeBitTree(short[] probs) throws java.io.IOException
java.io.IOException
public int decodeReverseBitTree(short[] probs) throws java.io.IOException
java.io.IOException
public int decodeDirectBits(int count) throws java.io.IOException
java.io.IOException