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()
IOException
protected void readOneByte()
public int decodeBin(int m)
cm
- IOException
public int decodeFinalBin()
cm
- IOException
public int decodeBinBypass()
IOException
Copyright © 2019. All rights reserved.