public class MDecoder extends Object
| Constructor and Description |
|---|
MDecoder(ByteBuffer _in,
int[][] cm) |
| Modifier and Type | Method and Description |
|---|---|
int |
decodeBin(int m)
Decodes one bin from arithmetice code word
|
int |
decodeBinBypass()
Special decoding process for symbols with uniform distribution
|
int |
decodeFinalBin()
Special decoding process for 'end of slice' flag.
|
protected void |
initCodeRegister()
Initializes code register.
|
protected void |
readOneByte() |
public MDecoder(ByteBuffer _in, int[][] cm)
protected void initCodeRegister()
IOExceptionprotected void readOneByte()
public int decodeBin(int m)
cm - IOExceptionpublic int decodeFinalBin()
cm - IOExceptionpublic int decodeBinBypass()
IOExceptionCopyright © 2019. All rights reserved.