public class Decoder extends 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(InputStream stream) |
public final void setStream(InputStream stream)
public final void releaseStream()
public final void init() throws IOException
IOException
public final int decodeDirectBits(int numTotalBits) throws IOException
IOException
public int decodeBit(short[] probs, int index) throws IOException
IOException
public static void initBitModels(short[] probs)
Copyright © 2024. All rights reserved.