public class Decoder
extends java.lang.Object
Constructor and Description |
---|
Decoder() |
Modifier and Type | Method and Description |
---|---|
int |
DecodeBit(short[] probs,
int index) |
int |
DecodeDirectBits(int numTotalBits) |
void |
Init() |
static void |
InitBitModels(short[] probs) |
void |
ReleaseStream() |
void |
SetStream(java.io.InputStream stream) |
public final void SetStream(java.io.InputStream stream)
public final void ReleaseStream()
public final void Init() throws java.io.IOException
java.io.IOException
public final int DecodeDirectBits(int numTotalBits) throws java.io.IOException
java.io.IOException
public int DecodeBit(short[] probs, int index) throws java.io.IOException
java.io.IOException
public static void InitBitModels(short[] probs)